• Adam Barth's avatar
    Introduce Tween and the new animation API · bc20871c
    Adam Barth authored
    This patch removes state from the animation system, which was causing problems
    as we were scaling the use of animated values.
    
    Now the "tween" objects are stateless and can watch animations, which creates a
    new object that holds both the tween and the animation instead of mutating the
    tween every tick of the animation.
    
    This patch ports one client as a proof-of-concept.
    
    Fixes #215
    bc20871c
animation.dart 718 Bytes