Motivation
As I began learning WebGL, I wished to have a way to easily setup the interfaces that I need to display graphics programs and interact with the canvas.
After some rounds of iteration, I managed to build a small library that I enjoyed working with: @fat-fuzzy/sketch.
Contents
This package is used in conjunction with the @fat-fuzzy/gfx package to display graphics programs.
Requirements
Usage
Install the package as a devDependency
:
pnpm i -D @fat-fuzzy/sketch
Use it in conjunction with the @fat-fuzzy/gfx
as detailed in the Usage | GFX page.
You can see how the interface is rendered in the PLAY page’s sketches.