Pixel Sort
Sort pixels along rows, columns, angles, or polar spokes within brightness, edge, or random spans for glitch and drip looks.
Pixel Sort reorders the pixels along each sort line by a chosen key, producing the smeared, dripping, banded look common in glitch art. It runs lines horizontally, vertically, along an arbitrary angle, or as radial spokes and concentric rings around a center point, and splits each line into spans (set by Span Mode) so only part of the image flows. Brightness Band, the default, is the classic effect: only pixels inside a tonal window are sorted.
While the node is selected, the Preview draws a handle for the direction: for the Angle direction, an arrow from the center along the sort line (drag its tip to set Angle, hold Shift to snap to steps of 15 degrees); for Radial and Circular, a handle at the center point (drag it to set Center X and Y, or nudge it one pixel at a time with the arrow keys). Double-click a handle to reset its rows. See Canvas handles.
Seven presets cover the common looks. Picking one overwrites the controls below it, and editing any control afterwards switches the preset back to Custom. Skip Spans, Max Run Length, and Mix With Source dial the effect back toward the original.
Parameters
Section titled “Parameters”Pins
Preset
One-click looks. Any preset other than Custom overwrites the controls below, and editing a control afterwards switches back to Custom
Direction
Orientation of the sort lines
Sort-line angle in degrees. 0 = horizontal.
Horizontal center of the polar warp
Vertical center of the polar warp
Sort
What each pixel is ranked by
Flips the bright-to-dark direction of each streak
Spans
How each sort line is split into spans (the runs that get sorted)
Only pixels brighter than Low and darker than High are eligible to sort
Upper edge of the eligible brightness band
Average span length for random-length spans. In percent mode it is a share of the sort line's length
Edge sensitivity. Higher = more break points, shorter spans
Refine
Fraction of spans left unsorted for a more organic look
Fixed value = reproducible pattern. The dice rolls a new fixed seed. -1 gives each node and each batch frame its own pattern
Advanced
Hole at the center (fraction of max radius) left unsorted
Manual override of the auto-chosen hue seam, in degrees. 0 = auto (largest gap).
Caps streak length so wide bands don't smear a whole line. 0 = unlimited. In percent mode it is a share of the sort line's length
Blend the sorted result back toward the source. 1 = fully sorted, 0 = original.
Mask
How the connected color image is read as a mask
How the mask is sized when it doesn't match the image
Swap which side of the mask the sort runs in
- On: sort stays strictly inside the mask (no smearing across the edge).
- Off: feathered whole-frame reveal.
Soften the mask edge for the soft-gate reveal
Usage Tips
Section titled “Usage Tips”- Start from a preset, then switch Sort Key or Order to retune the look without rebuilding from scratch.
- Narrow the Brightness Low/High window to sort only the shadows or only the highlights.
- Radial Burst and Radial Ripple use the Radial and Circular directions for explosive or swirling motion around the center point.
- Connect a mask to keep the sort inside a subject. Hard Gate (on by default) stops streaks at the mask edge; turn it off and raise Mask Feather for a soft reveal instead.
- Pull Mix With Source below 1.0 for a subtler, layered glitch.