Browse Source

optim2

master
Victor Giers 3 years ago
parent
commit
fb338e6d25
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      index.html

+ 2
- 2
index.html View File

@@ -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;


Loading…
Cancel
Save