From eecaabe93f971956e07c0b66626f1268d7049c56 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Thu, 27 Jun 2019 16:04:41 +0200 Subject: [PATCH] eternal travelers fixed --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 81e4acd..5e4fc10 100644 --- a/index.html +++ b/index.html @@ -269,7 +269,7 @@ class Citizen{ this.y = arg2; this.setSpeed(); 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; //if(this.angle + 0.4 > PI || this.angle - 0.4 < -PI){ // this.invalid = true;