Work for quick interactive art
After cloning this repo and install all node dependencies
npm i
Then launch the main task to open the livereload server
npm run start
To create a new art renderer
- create new class extends with
BaseRenderer
- override
init(canvas, width, height)
- override
update()
(this would be invoked followingrequestAnimationFrame
rules)
Just take a look src/Renderer/CubeSampleRenderer.js