A WebGL typescript and javascript graphics library.
Go to our documentation and setup a new project with the html step guide.
- Take a look at the core concepts.
- Import paperbit to your project.
- And use this template to start programming.
const canvas = new PaperbitCanvas(document.body)
const { ellipse, mouse } = canvas.api
canvas.api.onDraw = () => {
ellipse(...mouse.pos, .1)
}