FIX: Confetti should go all the way to the right
This commit is contained in:
parent
afe1a8e895
commit
899779b3c4
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue