Skip to content

Primitives

Inputs

None

Widgets

  • diameter: Circle size.
  • color: Fill color.

Outputs

  • Primitive: Circle object.

Creates a mathematical definition of a circle.

WidgetTypeDescription
diameterIntThe total width of the circle in pixels.
colorColorThe fill color of the shape.




Inputs

  • Image: Source image.

Widgets

  • width/height: Dimensions.

Outputs

  • Primitive: Image Box object.

A rectangle textured with an image. Useful for creating UI elements or “picture-in-picture” layouts.

WidgetTypeDescription
width/heightIntThe size to display the image. Aspect ratio may be stretched if these don’t match the source.




Inputs

None

Widgets

  • sides: Number of sides (3+).
  • Width: Size.
  • Border Radius: Rounding.
  • Color: Fill.

Outputs

  • Primitive: Polygon object.

Creates regular polygons: Pentagons, Hexagons, Octagons, etc.

WidgetTypeDescription
sidesIntNumber of corners. 5 = Pentagon, 6 = Hexagon, 8 = Octagon.
widthFloatDiameter of the shape.
border_radiusFloatRounding.
colorColorFill color.




Inputs

None

Widgets

  • width: Width.
  • height: Height.
  • corner_radius: Roundness.

Outputs

  • Primitive: Rect object.

Creates a standard rectangle with optional rounded corners.

WidgetTypeDescription
widthIntHorizontal size in pixels.
heightIntVertical size in pixels.
corner_radiusIntRounding of the corners. 0 = Sharp.




Inputs

None

Widgets

  • width: Side length.
  • Border Radius: Rounding.
  • Color: Fill.

Outputs

  • Primitive: Square object.

A perfectly even rectangle.

WidgetTypeDescription
widthIntThe length of all four sides.
border_radiusFloatRounding.
colorColorFill.




Text Primitive Primitive

Section titled “Text Primitive ”

Inputs

None

Widgets

  • Text: Content string.
  • Width/Height: Box dimensions.
  • Font: Custom font family.
  • Text Color: Font color.
  • Background: Toggle box.
  • BG Color: Box color.
  • Padding X: Horizontal pad.
  • Padding Y: Vertical pad.

Outputs

  • Image: Rendered text.

Creates text geometry.

WidgetTypeDescription
textStringThe actual text content to display. Use \n for newlines.
widthIntWidth of the text box.
heightIntHeight of the text box.
font_nameStringFont family name (e.g., “Arial”) or uploaded font path.
text_colorColorText color.
enable_backgroundBoolEnable background box.
bg_colorColorBackground color.
padding_xIntHorizontal padding.
padding_yIntVertical padding.
corner_radiusIntCorner rounding of the background box.




Inputs

None

Widgets

  • Width: Size.
  • Border Radius: Rounding.
  • Color: Fill color.

Outputs

  • Primitive: Triangle object.

Creates a triangle shape.

WidgetTypeDescription
widthFloatThe size of the triangle.
border_radiusFloatRounding of the corners.
colorColorFill color.