Pixelate

Mosaic cells and posterised levels for a chunky look.

  • Video
  • Since 0.2.0
  • pixelate
  • mosaic
  • effect

Open in TuneToys

Pixelate as the Patch draws it, at default values: inlets on the left, outlets on the right.

Pixelate makes the picture chunky with mosaic cells and fewer colour levels.

What it does#

Cell sets how big the mosaic squares are and Levels how many shades each colour keeps. It processes every stream of the input at that stream's size and keeps the stream count.

When to use it#

Use it for retro looks, to anonymise a picture, or at the end of a photobooth chain.

Ports#

PortDirectionSignalLanes
videoInputVideoInferred from the cable
videoOutputVideoInferred from the cable

Parameters#

ParameterLabelRangeDefaultUnitScaleNotes
cellCell size1 to 12812pxlogSize of each mosaic cell in source pixels.
levelsLevels2 to 256256logColour levels per channel; 256 leaves colour untouched.

Cell size (cell)#

Mosaic cell size in pixels, from 1 to 128. It is logarithmic; 1 is unchanged.

Levels (levels)#

Number of shades per colour channel, from 2 to 256. 256 is unchanged.

Tips#

  • Combine a small Levels with a small Cell for a posterised look.
  • Video needs the browser's WebGPU video engine. The Player and exports do not run video yet and report it unavailable. To see a video output, bind a live Screen in the Frame to it.

See also#

Color, Blur, Transform, Video, Control lanes.

Help patches

Each help patch is an ordinary Toy that teaches one idea. The diagram shows the Patch; the preview shows its Frame. Open it in TuneToys to play and edit it.

1. Chunky mosaic

beginner Teaches: cell, levels

Camera through the mosaic and posterise effect.

Patch: Camera video output connected to Pixelate video input.
Connections as text
  • Camera video output connected to Pixelate video input
  • Cell is the mosaic size in pixels.
  • Levels posterises each colour channel.
Frame preview: Chunky mosaicFrame “Chunky mosaic” with 4 elements: knob Cell size, text heading, knob Levels, screen Picture.12 pxCell sizeCHUNKY MOSAIC256Levelsscreen
Frame preview (static). Controls show their default values.

Open in TuneToys

  • Color Adjust brightness, contrast, saturation, hue, gamma and warmth, or invert the picture.
  • Blur Gaussian blur with a bounded radius at the source resolution.
  • Transform Move, scale, rotate, crop and mirror a stream, and set the output size. Also the resize node.

Edit this page on GitHub

esc

↑ ↓ move↩ open⌘↩ new tabesc close