Fragment Shader Lab

CS 453, lecture 26: one function for every pixel. Pick a You Try, guess the picture, then change the code.
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)