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/
- 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
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.
See the license
If you would like to contribute to this repo, please read our contributing guidelines.