Animator Library - 2nd Alpha version
in
Library and Tool Development
•
1 years ago
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 AND improved the documentation A LOT ( <- read "I wrote some" :-) )
See the anouncement blog post here or go directly to the project page here
again feedback is very welcome
See the anouncement blog post here or go directly to the project page here
again feedback is very welcome