A little starter template for writing webGL shaders for GLSL Canvas.
npm install
npm run dev
This uses a number of things to make creating shaders easier:
- GLSL Canvas to load in shaders
- Vite for running and hot reloading
index.html
renders a <canvas>
which renders a shader fragment from the data-fragment-url
attribute.
PRs and feedback welcome. If you use it, say hello at hi@tommyp.org and @tommypalmr.