Helix Noise on the GPU — field.glsl()

The entire field is generated in JS, then exported as a GLSL function with field.glsl() and pasted straight into a WebGL2 fragment shader. Every pixel below evaluates the same divergence-free field on the GPU and traces a short streamline through it (line-integral convolution), tinted by helicity. No framework — raw WebGL2. Move the sliders to regenerate the shader live.

compiling…