ww-draw is a time-based drawing library for capturing and replaying multi-layered, multi-author drawings - as they were drawn. Included is a json file format for storing captured data.
npm install ww-draw pixi.js jsonfile
import * as WwDraw from 'ww-draw';
see: https://github.com/wwlib/ww-draw-example/
npm install -g electron
(required to run the examples)
npm install -g webpack
(required to build the library and examples)
npm run build
npm run build:example
npm run build:example:capture
npm run build:example:canvas
npm run build:example:docs
cd electron
electron index.js
electron index-capture.js
electron index-canvas.js