triangleTriangle

Renders an equilateral triangle with customizable size, position, rotation, fill color, and outline. Its three vertices can be used to create instancing groups of other shapes.

Property name
Description
Compatible datatype

side

Side of the square

number

x

Horizontal position

number

y

Vertical position

number

rot

Rotation

number

color

Fill color

color

outline

Outline color

color

strokeWidth

Outline width

number

origin

Center point of the shape. Defaults to (0, 0). Changing it moves the shape’s pivot without affecting its x and y position.

point

instance

Instancing target

figure

instanceIndex

Displays the instance with the given index number

number

zindex

Controls which element appears on top when elements overlap; higher values sit above lower ones.

number

circle-info
  • The strokeWidth property is available when a Color node is connected to the outline

  • The zindex increases automatically, unless there's a connection to it.

  • The instanceIndex property is available when a Source node is connected as an instancing target. Instancing index value cycles back when the provided value exceeds the available number of instances.

Last updated