Animator Library - 2nd Alpha version
I gave some more code and love to my animator-library for processing and I think it has improved enough to release a new version
Animators can now be added to a Sequence
Sequence s = new Sequence();
s.addAnimator( new LinearAnimator( 500,100,200 ));
s.addAnimator( new SquareAnimator( 200, 200, 100 ));
the sequence can be started using s.start() and the value is fetched using s.get()
A simpler form of defining sequences is to use the string-parser
the same Sequence as above can be defined using
Sequence s = Sequence.parse( "S100,L500->200,Q200->100");
The animators are separated with a comma, each block starts with a letter and one or two parameter
- "S" is the start value
- "L" defines a LinearAnimator the first integer defines the time the second one the target value
- "Q" defines a SquareAnimator the first integer defines the time the second one the target value
- "R" defines a RootAnimator the first integer defines the time the second one the target value
- "D" defines a Delay in milliseconds
I also added a bunch of new Examples that show how to use the new features
As always feedback is very welcome!
See also:
Processing TTSlib version 0.4 released
Processing TTSlib version 0.3 released
sketch experiment 7 - osc events
nested cubes in processing