This is a simple template inspired by ShaderToy and the presentation Rendering Worlds with Two Triangles with raytracing on the GPU by Inigo Quilez. I wanted a similar setup that I could use and deploy to my own website easily. My workflow is usually:
- Copy the files
- Run browser-sync in the directory
- Make edits to
fragment.glsl
This is far from a perfect solution but can be dropped into any static server and just work.