Skip to content

reem/fp-animate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fp-Animate

A teeny-tiny library for doing animations in a functional programming style.

Provides a single function, animate, which generates a lazy sequence based on passed in functions and calls a provided animation function on the intermediate states every x ms or using requestAnimationFrame.

Crucially, animate will not generate the entire sequence before animating, so it can be extremely useful to use this when generating intermediate states is very computationally expensive (i.e. when drawing a particle system).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published