An open API service indexing awesome lists of open source software.

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

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).