Pixel sort
Pull a picture out into glitchy streaks, sorted by brightness, hue, saturation or warmth, still or pouring while the scene plays.
- Where
- Inspector, Effects section, + menu, Stylize
Pixel sort breaks each line of the layer into runs of bright pixels and sorts every run, so the picture is drawn out into streaks in one direction. On a photo, it gives the look of glitch art. On a shape or a heading, the streaks drip past its edge. With Speed, the streaks pour while the scene plays. It’s in the + menu under Stylize and needs WebGPU.
How it works
Along each line in the Direction, pixels darker than Threshold stay where they are and break the line into runs. Each run, up to Length long, is sorted by whatever Sort by names, so it grades from the lowest value to the highest in the Direction. Dark areas of the picture keep their detail, and bright areas turn into streaks.
Settings
Which way the runs are sorted and the streaks run: Down, Up, Right or Left.
What a run is ordered by, and so how its colors grade. Brightness runs from dark to light, Hue around the color wheel, Saturation from gray to vivid, and Warmth sets warm colors against cool.
Pixels darker than this stay in place and break up the runs. Lower values sort more of the picture.
The longest a run can be, and so how far a pixel can move. On a shape or text, the streaks drip up to this far past its edge.
How wide each streak is. At 1 px every line is sorted on its own, as fine as hair. Larger values give broad drips, like paint.
Pours the streaks along the Direction while the scene plays, for as long as it plays, in steps of 0.1. At 0 they stand still.
- Sort by: Brightness
- Sort by: Hue
- Sort by: Saturation
- Sort by: Warmth
Example
A heading on a dark background with a gradient color. Add Pixel sort with Threshold 20%, Length 240 px, Width 8 px and Speed 1, then play the scene. The letters drip downward past their own edge.
Combining with other features
- Group. The group is sorted as a single picture, so streaks run across its children.
- Text, shapes. The streaks drip past the edge by up to Length, and the text stays editable.
- Video. Each frame is sorted as the video plays.
Limitations
- In a browser without WebGPU, the layer is drawn without the effect.
- Speed has no start or end time, and you can’t keyframe the settings.