Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Latest commit

 

History

11 提交

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

仓库 files navigation

@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. 探索 different apis and interfaces for grouped paths and state based animation.
  4. 探索 different apis for chained animations.
  5. Once the api is solid, implement a wasm module in rust for high performance computation.

关于

Motion primitives in typescript

Resources

Stars

0 stars

关注者

0 watching

复刻s

发布

Used by

贡献者

Languages