Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/city41/reagent-scroll-demo
A demo of scrolling based animations done in Reagent
https://github.com/city41/reagent-scroll-demo
Last synced: 22 days ago
JSON representation
A demo of scrolling based animations done in Reagent
- Host: GitHub
- URL: https://github.com/city41/reagent-scroll-demo
- Owner: city41
- License: epl-1.0
- Created: 2015-02-26T19:38:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-03T20:33:22.000Z (over 8 years ago)
- Last Synced: 2024-10-04T10:49:25.283Z (about 1 month ago)
- Language: Clojure
- Size: 88.9 KB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Reagent Scroll Demo
A live version is [here](http://www.mattgreer.org/reagent-scroll-demo).
This is a simple demo of doing scroll based animations in Reagent.
Inside `src/cljs/scroll_demo`:
* `core.cljs` -- a simple Reagent app using `scroll-engine` to do the scrolling animations
* `scroll_chan.cljs` -- core.async hooks into the window scroll event
* `scroll_engine.cljs` -- the scrolling animation engine itself
* `fps.cljs` -- a tiny file to measure the browser's framerate. The result is displayed in `core.cljs`## To get it running
`lein figwheel` will pull everything together and make the demo available at localhost:3449