https://github.com/phetsims/twixt
Animation library for interactive HTML5 graphics
https://github.com/phetsims/twixt
scenerystack
Last synced: 5 months ago
JSON representation
Animation library for interactive HTML5 graphics
- Host: GitHub
- URL: https://github.com/phetsims/twixt
- Owner: phetsims
- License: mit
- Created: 2016-03-11T18:02:07.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2025-09-17T23:43:05.000Z (9 months ago)
- Last Synced: 2025-09-18T01:22:22.976Z (9 months ago)
- Topics: scenerystack
- Language: TypeScript
- Homepage: http://scenerystack.org/
- Size: 296 KB
- Stars: 2
- Watchers: 7
- Forks: 4
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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](https://github.com/phetsims/phet-info/blob/main/doc/phet-development-overview.md) 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](LICENSE)
### Contributing
If you would like to contribute to this repo, please read
our [contributing guidelines](https://github.com/phetsims/community/blob/main/CONTRIBUTING.md).