@nll/motion
TypeScript icon, indicating that this package has built-in type declarations

0.0.2-2 • Public • Published

@nll/motion

Documentation

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

  1. Implement simple and performant combinators for harmonic motion in TypeScript.
  2. Use rxjs with the requestAnimationFrame scheduler to reduce requestAnimationFrame calls.
  3. Explore different apis and interfaces for grouped paths and state based animation.
  4. Explore different apis for chained animations.
  5. Once the api is solid, implement a wasm module in rust for high performance computation.

Readme

Keywords

Package Sidebar

Install

npm i @nll/motion

Weekly Downloads

1

Version

0.0.2-2

License

MPL-2.0

Unpacked Size

27.6 kB

Total Files

22

Last publish

Collaborators

  • baetheus