Browse Source

Allow to create shape at random within window

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

4
voicegardens/static/voicegardens.js

@ -174,8 +174,8 @@ class GeneratedShape {
this.destX = random(canvasWidth);
this.destY = random(canvasHeight);
this.centerX = centerX;
this.centerY = centerY;
this.centerX = random(windowWidth);
this.centerY = random(windowHeight);
this.initialise();
}

Loading…
Cancel
Save