Pixelate

This page documents the development version of Graphite at dev.graphite.art, which may differ from the current release.

Breaks the input graphics into a grid of square cells, each filled with the average color of the content within it.

Interface

Inputs

ParameterDetailsPossible Types
Content

The content to break into cells.

Primary Input

Color[]
Color
Generator[]
Generator
Gradient[]
Gradient
Graphic[]
Graphic
Raster[]
Raster
String[]
String
Vector[]
Vector
Cell Size

How wide and tall each cell is. The content's edges cut short the cells they cross.

Default: 10 px

Number[]
Number
Offset

Where a corner of the grid of cells lies, measured from the content's origin.

Default: DVec2(0.0, 0.0) px

Vec2[]
Vec2

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

Graphic
Graphic[]
Vector
Vector[]
Raster
Raster[]
Color
Color[]
Gradient
Gradient[]
String
String[]
Generator
Generator[]