March Lab

CS 453, lecture 33: ray marching, a scene from a distance. Pick a You Try, guess the picture, then change the code. In "Fly round with the mouse", the mouse moves the eye.
u.time 0.00 u.resolution 0 × 0 u.mouse 0, 0 0 fps
Starting WebGPU…

The shader recompiles as you type. Ctrl+Enter runs it now. A broken shader leaves the last good picture on screen.

The given part: the uniforms and the big triangle (code/playground.py)