Make HexaSpinners start at a random rotation value
[Hacks.git] / hacks / HexaSpinner / HexaSpinner.js
index b585c6a..4246e23 100644 (file)
@@ -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);