Browse Source

eternal travelers fixed

master
Victor Giers 4 years ago
parent
commit
eecaabe93f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      index.html

+ 1
- 1
index.html View File

this.y = arg2; this.y = arg2;
this.setSpeed(); this.setSpeed();
this.angle = atan2(width/2 - this.x, height/2 - this.y); this.angle = atan2(width/2 - this.x, height/2 - this.y);
this.target = Math.random()*minEdge/5.33;
this.target = (Math.random()+0.1)*minEdge/5.33;
this.inCenter = false; this.inCenter = false;
//if(this.angle + 0.4 > PI || this.angle - 0.4 < -PI){ //if(this.angle + 0.4 > PI || this.angle - 0.4 < -PI){
// this.invalid = true; // this.invalid = true;

Loading…
Cancel
Save