minimal 2d scene graph library for web canvas
npm install @repcomm/scenario2d- Object2d (base class for scene objs)
- PathObject2d - svg d attribute equivalent
- Transform2d - scale, translate, rotation
- Vec2
npm install @repcomm/scenario2dNote: Example uses my other library exponent-ts
As well as es-module-shims.js to load node_modules using import maps directly in the browser.
This is to reduce build time to < 1s
hence the extra boilerplate in index.html
To build you'll want to clone the repogit clone https://github.com/RepComm/scenario2d.git
Run npm install to get dependencies
Run npm run build