Izzimach / chartreuse-vortex

Control 100's of sprites with ClojureScript and some dirty tricks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chartreuse-vortex

Use immutable data structures in ClojureScript to drive many dynamic sprites.

How many sprites can we drive using ClojureScript? Just building a vector of sprite data and shoving it at Om/React can get a few dozen at 60fps, but there is tons of overhead in conversion and building of spurious objects. Surely we can get a few more sprites in the screen.

Built using om-react-pixi.

sprites sprites sprites

About

Control 100's of sprites with ClojureScript and some dirty tricks

License:MIT License


Languages

Language:Clojure 82.3%Language:JavaScript 16.9%Language:HTML 0.9%