diff --git a/index.html b/index.html index 8440bc2..174e420 100644 --- a/index.html +++ b/index.html @@ -63,10 +63,10 @@ } display(){ this.b = 0; - for (var r = this.radius; r > this.radius/2; r-=2) { + for (var r = this.radius; r > this.radius/2; r-=1) { fill(255,this.b); ellipse(this.x, this.y, r, r); - this.b+=2*(255+this.bjitter)/radius; + this.b+=(255+this.bjitter)/radius; } this.radius-=0.5;