Skip to content

enjalot/racer-animate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

racer-animate

Usage

racer.use(require('racer-animate'))

<rect x={{animated_foo}}>
model.animate('animated_foo', 'foo', {
  ease: 'bounce',
  duration: 1000
})
model.animate('fast_foo', 'foo', {
  ease: 'linear',
  duration: 100
})
model.animate('custom_foo', 'foo', {
  ease: (t) -> Math.sqrt(t),
  duration: 100
})

About

easily transition values that change in a Racer model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published