Skip to content

phetsims/twixt

Repository files navigation

twixt

Twixt is an animation library for PhET Interactive Simulations that provides easing-based controllable animations with modular architecture for testing and common defaults used across PhET simulations.

By PhET Interactive Simulations https://phet.colorado.edu/

Features

  • Animation: Core easing-based animation system with configurable duration, delay, and step emitters
  • AnimationTarget: Handles individual animated values with Property, object attribute, or custom setValue patterns
  • DampedAnimation: Physics-based spring animations for natural motion effects
  • Easing: Comprehensive collection of easing functions with In/Out/InOut variants
  • Transition: High-level transition management system
  • Integration: Built for PhET's Property system from axon and stepTimer framework

Documentation

The PhET Development Overview is the most complete guide to PhET Simulation Development. This guide includes how to obtain simulation code and its dependencies, notes about architecture & design, how to test and build the sims, as well as other important information.

License

See the license

Contributing

If you would like to contribute to this repo, please read our contributing guidelines.

About

Animation library for interactive HTML5 graphics

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 12