Skip to content

Commit

Permalink
Change default quality to 2 and reduce goodframes check to 100.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob authored Aug 12, 2021
1 parent 026e70b commit 178b667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@

// Greetings to Iq/RGBA! ;)

var quality = 1;
var quality = 2;
var toolbar, showButton, timeButton, compileButton, panButton, fullscreenButton, compileTimer, errorLines = [];
var code, canvas, gl, buffer, currentProgram, vertexPosition, screenVertexPosition,
parameters = { startTime: Date.now(), time: 0, mouseX: 0.5, mouseY: 0.5, screenWidth: 0, screenHeight: 0 },
Expand Down Expand Up @@ -863,7 +863,7 @@

goodframes ++;

if ( goodframes > 500 ) {
if ( goodframes > 100 ) {

goodframes = 0;
quality -= 0.1;
Expand Down

0 comments on commit 178b667

Please sign in to comment.