FIX: Confetti should go all the way to the right

This commit is contained in:
Robin Ward 2016-09-19 16:30:56 -04:00
parent afe1a8e895
commit 899779b3c4
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class Particle {
reset() { reset() {
this.y = -SIZE; this.y = -SIZE;
this.origX = Math.random() * width; this.origX = Math.random() * (width + SIZE);
this.speed = 1 + Math.random(); this.speed = 1 + Math.random();
this.ang = Math.random() * 2 * Math.PI; this.ang = Math.random() * 2 * Math.PI;
this.scale = (Math.random() * 0.5); this.scale = (Math.random() * 0.5);