 module.exports = class Gyro extends Echotron.EchoStack
   initialize: ->
-    @animTime = THREE.Math.randFloat(2, 4) / stage.song.bps
+    @animTime = THREE.Math.randInt(1, 2)
+
     @thickness = [
       THREE.Math.randFloat(0.75, 2)
       THREE.Math.randFloat(0.75, 2)

    )


  onBeat: ->
    layer = @stack.layers[@currentRing]
    @add layer
    layer.nudge()

    @currentRing += @direction
    @currentRing = 0 if @currentRing >= @stack.layers.length

      )
    )

  nudge: (duration) ->
    @rotationflipped = !@rotationflipped
    @lightRingBrightness = 1

    @progress = 0
    new TWEEN.Tween(this)
      .to({progress: 1}, (duration * @animTime).ms)
      .easing(TWEEN.Easing.Back.Out)
      .start()


