Regular Polygon

Generators / Shapes

Binary regular N-gon mask with equal sides and angles.

Select a node to adjust its parameters. Double-click a node to inspect.

Parameters

ParameterTypeDefaultRangeDescription
offset
Offset
vec2[0, 0]-1 to 1Shape offset from texture center in UV units.
radius
Radius
float0.250.01 to 1Circumradius measured against the shorter output dimension.
sides
Sides
int63 to 12Number of equal sides.
rotation
Rotation
float00 to 1Rotation in turns. 0.25 = 90°, 0.5 = 180°, 1.0 = 360°.

Outputs

  • output (default format: r32float)