mdgriffith / elm-animator

A timeline-based animation engine for Elm
https://package.elm-lang.org/packages/mdgriffith/elm-animator/latest/
BSD 3-Clause "New" or "Revised" License
132 stars 15 forks source link

Added example showing how multiple separate states from a model can be tracked using one `Animator.animator` #17

Closed lawsdontapplytopigs closed 3 years ago

lawsdontapplytopigs commented 4 years ago

It wasn't clear to me how one would use an animator to track multiple separate timelines in a model. After taking @mdgriffith 's advice on the elm slack channel, I considered this change would also help others, so I added his example to the documentation showing how multiple states can be tracked by one animator.

mdgriffith commented 3 years ago

Wonderful, thanks!