0

This is a as far as I got. Im trying to make a Phenaniskope

bg = new BackgroundLayer
    backgroundColor: "pink"

frame = new Layer
    width: 250
    height: 250
    image: "images/phenakistoscope.png"

frame.center()

Utils.interval 1, ->
    cycler = Utils.cycle([10, 20, 30, 40, 50])
    frame.rotation = cycler()
James
  • 1,355
  • 3
  • 14
  • 38

1 Answers1

1

I made some quick changes and explained in the comments:

http://share.framerjs.com/kr6mvm4y8xcl/

Basically, you left the cycler inside the interval, so it was being "reset" every time, thus you would stop at rotation 10.

Hope this helps!

  • Great job solving the OP's problem; you should include the new code in your answer for future readers in case the link you provided becomes broken. – sifferman Dec 02 '15 at 20:47
  • You area legend of code. Thanks so much for your time – James Dec 02 '15 at 21:58