Skip to content

Reference / Effects / Stylise

Updated

Pixel sort

Pixel sort is a Stylise effect.

The frame before Pixel sort is appliedThe same frame with Pixel sort applied

Every run of pixels whose value falls between Min and Max is put in order along its own row or column. Pixels outside that band stay where they are. A run never grows longer than Maximum span length, and Random span offsets decides where each line’s runs are cut.

ParameterControlRangeDefaultUnit
Sort byDropdownRed · Green · Blue · Luminance · Hue · SaturationLuminance-
DirectionDropdownHorizontal · VerticalHorizontal-
Span modeDropdownSort · Stretch · MirrorSort-
ReverseCheckboxOn or offOff-
MinSlider0 to 10-
MaxSlider0 to 11-
Maximum span lengthSlider0 to 1000; up to 4096300Pixels at composition size
Random offset scaleSlider0 to 11-
Random span offsetsSeedAny whole numberA fresh random seed per instance-
MixSlider0 to 100100Per cent
BlendDropdownNormal · Darken · Multiply · Colour burn · Linear burn · Darker colour · Add · Lighten · Screen · Colour dodge · Lighter colour · Overlay · Soft light · Hard light · Linear light · Vivid light · Pin light · Hard mix · Difference · Exclusion · Subtract · Divide · Hue · Saturation · Colour · LuminosityNormal-
MatteLayerAny layer in the compositionNone-
InvertCheckboxOn or offOff-
ChannelDropdownLuminance · Alpha · Red · Green · BlueLuminance-

In the Effect Controls panel:

  • Matte says where the spans may form, alongside Min and Max: a pixel sorts only where the matte is at least half lit. Invert reads that matte inverted.
  • Sort by: which property a run is put in order by.
  • Direction: Horizontal sorts along rows, Vertical down columns.
  • Span mode: Sort writes the run back in order; Stretch gives the whole run the pixel the sort put at its far end; Mirror lays the run out from both ends inward.
  • Reverse: orders every run the other way round.
  • Min: the bottom of the band that sorts.
  • Max: the top of it. Min above Max sorts nothing.
  • Maximum span length: the most pixels one run may hold.
  • Random offset scale: how far each line’s runs are shifted at random. At 0 every line’s runs start in the same place.
  • Random span offsets: which offsets the runs take on each line.
  • Mix: how much of the result replaces the original.
  • Matte and Invert say where the runs may form, alongside Min and Max: a pixel sorts only where the matte is at least half lit. See Effects.

A value above 1 reads as 1, so a highlight brighter than white sits at the top of the band.