roymacdonald / ofxLineaDeTiempo

A new timeline addon for openframeworks.
Other
40 stars 3 forks source link

looping #2

Closed stephanschulz closed 4 years ago

stephanschulz commented 4 years ago

Hey Roy.

It's so great to have a timeline tool again for OF. Thank you.

How would I enable auto looping when ever the timeline reaches the end?

roymacdonald commented 4 years ago

Hi Stephan. Thanks. :) You can enable looping through the GUI, there is a button at the top right of the timeline interface with an L which toggles looping. Check the screenshot below. Screen Shot 2020-07-27 at 15 29 32

Or you can set it programatically by timeline.getTimeControl()->setLooping(true); cheers