2015-03-15 21:34 GMT+01:00 stepharo <stepharo@free.fr>:
Hi

Viva is a small framework to define animation developed by igor Stasenko.
It is used by Roassal2 for its animation.
Now Viva is published in its own repository

MCHttpRepository
�� �� location: 'http://www.smalltalkhub.com/mc/RMoD/Viva/main'
�� �� user: ''
�� �� password: ''

and published in the configuration repository for Pharo 40.

Stef



Looks good, pretty much what I had in mind for a basic animation framework.


How about making the animated value more generic and independent of a timer, more
like a "binding"
source -> property binding -> target
and an (timer-)animated binding
timer as source -> property binding -> target


As I was thinking about an animation framework I got the idea of some more generic
components. The components I had in mind:
Clock
EventQueue
Task
Binding or PropertyWrapper
Range (as a source for interpolators)
Interpolators
Transition/Animation ( connection of a source(timer) and property bind, together with a range interpolator).
scaling/easing function (linear/quad/quadIn/quadOut)

Clock, EventQueue and Task classes (maybe we have some of them already)
may be usable for other things and are used here as building blocks for the (transition/animation) framework.
(The idea is, to not invent a TimerFrameWorkClock/ TimerFrameWorkEvent / TimerFrameWorkXXX....)


Do you know this Squeak (Morphic) Animation Framework
I like how it wraps different property animation in different animation classes (AlphaBlendAnimation/ColorAnimation ...).
(I wonder why it is nowhere used)


And there is GLMAnimation, but I don't like how it is implemented.


nicolai