Pixel Sorting
Pixels dragged into smooth gradient streaks, as if the image melted in one direction.


OriginalWith effect
Hotkit sample — rendered locally
Use this look
Coming soon
A wet city street at blue hour transformed by pixel sorting: bright areas and sky melted into long vertical streaks of smoothly sorted colour gradients, darker buildings left intact, glitch art.
Apply pixel sorting to this image: within bright regions, sort pixels vertically by brightness into long smooth gradient streaks, while leaving darker areas untouched so the scene stays partly recognisable.
How to spot it
- Long straight streaks running in one direction, usually vertical or horizontal.
- Inside each streak, colours are ordered smoothly from dark to light.
- Some areas stay intact while others dissolve into stripes.
Principle
Pixel sorting is an algorithmic glitch. The program walks along each row or column, finds runs of pixels that fall between brightness or colour thresholds, and reorders those pixels by value. The runs become clean gradient streaks while pixels outside the thresholds stay put, so parts of the image survive. Artist Kim Asendorf helped popularise it around 2010 by sharing his sorting script.
Try it
Why do some parts of a pixel-sorted image stay untouched?
Only pixels inside the chosen brightness or colour threshold are sorted; areas outside it, often the darkest or brightest, are left as they were.
Related looks
Datamosh Block Glitch RGB Split Screen Tearing SynthwaveSources
Wikipedia: Glitch artUpdated: