Stray pixels

A node of the Style graph, in the Cleanup group.

Cleanup removes stray pixels and softens line corners. It is a group of two atoms: Stray pixels (runs of one colour too small to keep, and how many passes look for them), then Smooth corners (which corners of the lines soften a step down the ramp).

Takes: layer (layer), max_orphan (number), passes (number) · Gives: layer

Settings

SettingWhat it doesRangeDefault
Stray size
max_orphan
Runs of one colour this many pixels or fewer are strays (0: none taken). 0 to 64 1
Passes How many times strays are looked for. 0 to 16 4

Every setting is also an input: wire a value into it to change it per pixel. On the command line: pxr graph set game.pixor --which style --node stray-pixels --set KEY=VALUE.

What it wires to

Its layer input takes a layer, which these give: CRT, Output, Cleanup, Combine, Lines, Mesh edges, Shading, To palette, Choose by mask, Dither mix, Flatten, Hatch, and 17 more.

What it gives, a layer, goes into: CRT, Output, Cleanup, Combine, Lines, Mesh edges, Choose by mask, Colour edges, Dither mix, Flatten, Layer over, Paint, and 9 more.

In the app, drag a wire from one of its dots: every dot the wire fits is ringed.

How it fits with the rest: the Style graph in the manual.

In the same group

Smooth corners · Tidy silhouette