optim2
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user