0.5.1 • Published 6 years ago

lsl-animatex v0.5.1

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

animatex

A lightweight framework for custom animations.

See this in use at levi.codes/dynamics!

Notable Features

  • Animator
    • Handles the animation loop.
    • Maintains a list of all currently running animation jobs.
    • Updates jobs as a separate step from drawing them.
  • AnimationJob
    • An abstract class that defines an interface for updating, drawing, starting, and finishing distinct jobs that are run by the animator.
    • The TransientAnimationJob sub-class supports jobs that will be automatically finished after a certain duration.
    • The PersistentAnimationJob sub-class supports jobs that will run indefinitely and need to manually stopped by the consumer.
  • FrameLatencyProfiler
    • Used by the Animator to keep track of the min, max, and average animation frame durations.
    • Logs warnings when animation frames take too long.

Acknowledgements / Technology Stack

The technologies used in this application include:

Developing / Running the Code

See Getting Set Up or Understanding the Code for more info.

License

MIT