Yuhang

2 sketches

Lab

Things with no purpose beyond being worth looking at. Every sketch runs live on this page — they pause when scrolled out of view, and hold still if your system asks for reduced motion.

Contour field

October 2026

Move the cursor — it is a hill. Marching squares, 14 levels, re-extracted each frame.

A scalar field traced with marching squares, deformed live by the cursor. The terrain actually changes — the lines are re-extracted every frame, not warped as an image.

  • canvas
  • marching-squares
How it works →

Flow lines

October 2026

1,200 particles in the curl of a four-term potential. Click to re-seed.

Particles advected through the curl of a scalar potential, accumulating on a canvas that is never cleared. A long exposure of a field that does not exist.

  • canvas
  • curl-noise
How it works →