@nll/motion
v0.0.2-2
Published
Damped harmonic motion
Downloads
3
Readme
@nll/motion
A quick run at damped harmonic animations (springs). The libraries that I've looked at have inscrutable algorithms:
- react-motion
- wobble
- react-spring
- etc
The current status of this package is a proof of concept.
Goals
- Implement simple and performant combinators for harmonic motion in TypeScript.
- Use rxjs with the requestAnimationFrame scheduler to reduce requestAnimationFrame calls.
- Explore different apis and interfaces for grouped paths and state based animation.
- Explore different apis for chained animations.
- Once the api is solid, implement a wasm module in rust for high performance computation.