regl-hot-server
A dense cluster of 100,000 points animates through looping random walks, with colors transitioning along the viridis colormap. The visualization cycles between five precomputed datasets, interpolating point positions in a WebGL vertex shader. Built with regl and React, it demonstrates a hot-reloading workflow where editing `script.js` updates the page without a full reload, using hot-server and watchify to stream changes directly to the browser.
AI-generated descriptionregl with hot-server. Adapted from a rreusser demo.
Run with yarn && yarn run start. Edit script.js and the page will update without a full reload.
Dumping all the loaded libraries into global variables isn't particularly pretty. But it is way easier to see how your edits changed the page without the interrupting flash of white from reloading.
glslify could be better - not sure how to change the default function name.