Decimate

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

Decimates vector paths into polylines by sampling any curves into line segments, then removing points that don't significantly contribute to the shape using the Ramer-Douglas-Peucker algorithm.

Interface

Inputs

ParameterDetailsPossible Types
Content

The vector paths to decimate.

Primary Input

Graphic[]
Graphic
Vector[]
Vector
Tolerance

The maximum distance a point can deviate from the simplified path before it is kept.

Default: 5 px

Number[]
Number

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

Graphic
Graphic[]
Vector
Vector[]