WAVGEN Learning Universe
SHADER SYSTEMS
Fragment shaders · SDF geometry · Ray marching · GPU art
♩ 140 BPM
Write GLSL, See Infinity
Edit fragment shaders in real time. Press Ctrl+Enter or click Compile & Run. Uniforms: u_time (float), u_resolution (vec2), u_mouse (vec2 0–1).
0 fps
Presets
● Ready
Distance Fields as Art
Signed distance functions encode shapes as mathematical poetry. Negative inside, zero on boundary, positive outside.
CSG OPERATIONS + SMOOTH BLENDING
UNION / INTERSECT / SUBTRACT
SMOOTH MIN (smin) BLEND
Blend k 0.10
Sculpting with Distance
Ray marching marches a ray through space, sampling a SDF at each step until it hits a surface. Drag to orbit. Add shapes to the scene.
Scene Objects
MAX_STEPS 64
MAX_DIST 20
EPSILON 0.002
Light X 2.0
The Toolkit
Essential GLSL functions — click any card to copy the code snippet to clipboard.
Motion in the GPU
Four core patterns for bringing shaders to life. Each runs live — tweak the sliders.
Beauty in Mathematics
Six pre-built shader art pieces — each a self-contained universe. Click any to expand full-width.
Artists of the GPU
The people who proved that math and light can be indistinguishable from art.
The Glossary
22 essential terms for understanding shader systems and GPU rendering.
Copied to clipboard!