TypologySienna Chen
LookLightweight

Pixel sorting

Pixels sorted into streaks: glitch art.

Sorting rows of pixels by brightness wherever they cross a threshold. Bright areas smear into streaks: the classic glitch-art look. A surface effect that is also a data operation.

Also called
glitch, datamosh

Prompts

Sorted streaks on a photo
Pixel-sort an uploaded image in a Web Worker: for each row, find runs where luminance exceeds a threshold, sort those runs ascending, write back; threshold and direction (rows/columns) from sliders, with a live preview at a reduced size and a full-resolution export. Under 100 ms for 1080p.

Resources

None yet. Find one and add it with npm run add -- <url>.