Suzanne Lab

CS 453, lecture 29: a real model, coloured lamps and a spotlight. Pick a You Try, guess the picture, then change fs_main. vs_main runs once for each of Suzanne's 2904 corners.
u.time 0.00 u.resolution 0 × 0 u.mouse 0, 0 vs_main runs 2904 a frame 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 u (code/suzanne.py)