Closed-loop level curves

An image, run through several smoothings, produces many different sets of closed loops — each an equally valid representation of the same scene. No external committee assigns codes for vision; a cell and a brain both work without one. Upload your own image to see the property hold for it too.

Hue maps the threshold level — cool = low intensity, warm = high. Within each panel, loops are drawn one at a time in order from lowest level to highest. Press ▶ Play on any panel to replay just that panel's animation. The same threshold levels are used in every panel, so any difference in the loop set comes purely from the smoothing applied to the image.

Input is downsampled to max 512px on the longest side for responsiveness. Increase Threshold levels to see more loops; reduce Min loop perimeter to include tiny ones too.