graphics
Efficient data structures that represent renderable scenes
This is a direct port of Elm to a commonJS JavaScript library. The purpose is exploration of FRP in plain JavaScript and maybe rewriting Elm's rendering core in more efficient JavaScript.
Example
var MousePosition = Positionvar map = var plainText = plainTextvar render = // Lift the stream of mouse positions through the plainText// functionvar main = // render the stream of mouse position as text
Development
npm i # Either use example npm run exampleopen localhost:9966 # Or use tryme npm run trymeopen localhost:8080
Installation
npm install graphics
Contributors
- Raynos