Skip to content
Snippets Groups Projects
  • Jerome Humbert's avatar
    `Tweenable`-based design · d3b5f1be
    Jerome Humbert authored
    Add a `Tweenable<T>` trait describing a generic animatable tween-like
    element.
    
    Expose the three types of tweenables and implement `Tweenable<T>` for
    them:
    - `Tween<T>`, a single animation
    - `Sequence<T>`, a sequence of consecutive animations
    - `Tracks<T>`, a batch of animations running in parallel
    
    Clean-up animators to hold a single top-level `Tweenable<T>` and let the
    user build any kind of animation hierarchy for themselves.
    d3b5f1be