A live version is here.
This is a simple demo of doing scroll based animations in Reagent.
Inside src/cljs/scroll_demo
:
core.cljs
-- a simple Reagent app usingscroll-engine
to do the scrolling animationsscroll_chan.cljs
-- core.async hooks into the window scroll eventscroll_engine.cljs
-- the scrolling animation engine itselffps.cljs
-- a tiny file to measure the browser's framerate. The result is displayed incore.cljs
lein figwheel
will pull everything together and make the demo available at localhost:3449