Browse Source

Remove timeout

main
Luke Murphy 5 years ago
parent
commit
438ee17941
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 6
      voicegardens/static/voicegardens.js

6
voicegardens/static/voicegardens.js

@ -449,10 +449,8 @@ function draw() {
shape.move();
if (positionTick) {
setTimeout(function() {
shape.destX = random(windowWidth);
shape.destY = random(windowHeight);
}, random(1000, 5000));
shape.destX = random(windowWidth);
shape.destY = random(windowHeight);
}
if (shape.collide(shapes) === true) {

Loading…
Cancel
Save