From 913e18579f8c4c6bad3269896c549779b554ece1 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Wed, 21 Sep 2016 15:29:04 -0700 Subject: [PATCH] add bit of random to the confetti --- app/assets/javascripts/wizard/components/wizard-canvas.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/wizard/components/wizard-canvas.js.es6 b/app/assets/javascripts/wizard/components/wizard-canvas.js.es6 index bd8f9c53c..5b4f9535a 100644 --- a/app/assets/javascripts/wizard/components/wizard-canvas.js.es6 +++ b/app/assets/javascripts/wizard/components/wizard-canvas.js.es6 @@ -36,7 +36,7 @@ class Particle { this.ang = 0; } - this.x = this.origX + (this.radius * Math.sin(this.ang)); + this.x = this.origX + (this.radius * Math.sin(this.ang)) + Math.floor(Math.random() * 3); } }