# Pixelate

> Mosaic cells and posterised levels for a chunky look.

Source: https://docs.tune.toys/nodes/video.pixelate/

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

<!-- ports:start -->

| Port    | Direction | Signal | Lanes                   |
| ------- | --------- | ------ | ----------------------- |
| `video` | Input     | Video  | Inferred from the cable |
| `video` | Output    | Video  | Inferred from the cable |

<!-- ports:end -->

## Parameters

<!-- parameters:start -->

| Parameter | Label     | Range    | Default | Unit | Scale | Notes                                                   |
| --------- | --------- | -------- | ------- | ---- | ----- | ------------------------------------------------------- |
| `cell`    | Cell size | 1 to 128 | 12      | px   | log   | Size of each mosaic cell in source pixels.              |
| `levels`  | Levels    | 2 to 256 | 256     |      | log   | Colour levels per channel; 256 leaves colour untouched. |

<!-- parameters:end -->

### 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](https://docs.tune.toys/nodes/video.color/), [Blur](https://docs.tune.toys/nodes/video.blur/), [Transform](https://docs.tune.toys/nodes/video.transform/), [Video](https://docs.tune.toys/concepts/video/), [Control lanes](https://docs.tune.toys/concepts/control-lanes/).
