ofxPlaylist makes it easy to describe complex animations in code. It is useful, whether you want to tween values in sync or in sequence, tween stuff triggered by some user-generated event, or want to keep your update methods clean in complex projects. Think of a button that changes shape and then fades out when clicked. Or an animated character who first raises an arm and then nods its head. In the past, ofxPlaylist has animated puppets, pufferspheres and pirates. And, so I've been told, some people use it on iPhone projects.
- “Penner” Tweens
- Bézier Tweens
- Trigger Keyframes
- Frame-based or time-based
- Tweens can be delayed before execution.
- Grouping of Tweens
- Thread-safe as long as you don't use ofLog()
Get the source code on github, and move it to your
This includes two example projects, one of which is intended for beginners.
It's much more fun to poke around an example project and see how it all works! ofxPlaylist comes with 2 example projects. These show off some of the most useful features. Best start with a simple example. You can find it at
Then move on to the advanced example. It is a massive show-off of almost everything. Think North-Korean military parade. Approach with care. If you must: