Relax Points

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

Evens out the distances between points by applying Lloyd's relaxation, moving every interior point toward the center of its Voronoi cell.

Interface

Inputs

ParameterDetailsPossible Types
Source

A vector path or point cloud to relax.

Primary Input

Graphic[]
Graphic
Vector[]
Vector
Iterations

The number of relaxation steps to apply. A fractional value runs the whole steps and then blends partway toward one more step, so the amount of relaxation can be animated smoothly.

Default: 1

Number[]
Number

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

Graphic
Graphic[]
Vector
Vector[]