Pixel sort
Sorted
Text
Type
Colour
Ground
Motion
About this effect
Pixel sort borrows the glitch artist's favourite trick. Your letters are filled with a three-colour gradient and a fine grain, and in drifting bands of columns their pixels are sorted by brightness: inside the stroke they line up from light to dark, and the run carries on below the letter as a long streak that stretches the sorted colours out and fades. Neighbouring columns stretch to different lengths, so the streaks come out ragged, like a melting print, and the bands roll across the word, sorting some letters and letting others go back to clean type.
Hold the pointer over a letter and the columns under it sort and stream down after it. The sort is worked out once per column from the heading's own letters (font, size and line breaks are the page's); each frame only the streak lengths change, drawn on a canvas at full resolution, so every column stays a crisp line of pixels. The heading keeps your words for screen readers and search.
Length sets how far the streaks can run. Heavy, wide letters give the sort the most to work with; it suits music, fashion, art, nightlife and anything a bit lo-fi.
- Formats
- React, HTML
- No dependencies
- Built with
- Canvas, over real text
- Default font Syne
- Plays
- Loop, Hover
- Reduced motion
- Respected
- Shows the finished frame
Accessibility. One real heading, read once; the sort is drawn on a canvas hidden from screen readers. Under reduced motion nothing moves: one still frame with a few sorted columns is shown.
Also known as pixel sorting text, glitch art text, data mosh text, melting glitch text, vaporwave text effect, streak text effect.
Use it in anything you build, client work included, no credit needed. Don’t republish or resell the effect itself.