Skip to content

rabidpraxis/Ani

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ani - Simple C++ animation manager

Originally built to be used for the Cinder library, this animation lib has been repurposed to work with any type that has its +/-/* operators implemented.

Simple Use:

Create Ani Instance

rp::Ani ani = new rp::Ani()

Setup animatable variable

ani.mate(&var);

Store and animate variable

Vec2f vec_var(0,0);
rp::Animator<Vec2f>* move = ani.mate(&vec_var);
move->go(44, Vec2f(10,10))

Check the test file for more examples.

Goals / Notes:

  • Chaining
    ex. Anim.animate().animate()
    • Creating a queue for each animation
  • Incorporation of Lambda operations
    • similar to javascript
  • Non Singleton

About

Simple C++ Tween/Animation library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages