From 071769a909b6fdecea56c6badcea7a92603ced7d Mon Sep 17 00:00:00 2001 From: Chip Black Date: Mon, 12 Sep 2011 00:07:24 -0500 Subject: [PATCH] Make HexaSpinners start at a random rotation value --- hacks/HexaSpinner/HexaSpinner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hacks/HexaSpinner/HexaSpinner.js b/hacks/HexaSpinner/HexaSpinner.js index b585c6a..4246e23 100644 --- a/hacks/HexaSpinner/HexaSpinner.js +++ b/hacks/HexaSpinner/HexaSpinner.js @@ -31,7 +31,7 @@ enyo.kind({ } else { this.rate = Math.PI / 40; } - this.rotation = 0; + this.rotation = Math.random() * 2 * Math.PI; }, update: function(bb) { this.position.add(this.velocity); -- 2.34.1