> For the complete documentation index, see [llms.txt](https://codalin.gitbook.io/nodalin-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codalin.gitbook.io/nodalin-docs/nodes-reference/sources/pyramid.md).

# Pyramid

<table data-header-hidden><thead><tr><th width="141.6597900390625" valign="middle"></th><th></th></tr></thead><tbody><tr><td valign="middle"><div><figure><img src="https://937151318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F44MuVIHBk5o5yfcGn64w%2Fuploads%2F3lA1c2vvcXovSvzZgd4W%2Fimage.png?alt=media&amp;token=23e68adf-ae78-4870-9701-73c286c65651" alt="" width="76"><figcaption></figcaption></figure></div></td><td>Displays a 3D wireframe Pyramid with perspective projection. Supports rotation on all 3 axes. Its 5 vertices can be used to create instancing groups of other shapes.</td></tr></tbody></table>

<table><thead><tr><th width="155.21484375">Property name</th><th width="405.046875">Description</th><th>Compatible datatype</th></tr></thead><tbody><tr><td>size</td><td>Size of the pyramid (in pixels)</td><td>number</td></tr><tr><td>x</td><td>Horizontal position (in pixels)</td><td>number</td></tr><tr><td>y</td><td>Vertical position (in pixels)</td><td>number</td></tr><tr><td>z</td><td>Depth position (positive = further, negative = closer)</td><td>number</td></tr><tr><td>rotX</td><td>Rotation around X axis (in degrees)</td><td>number</td></tr><tr><td>rotY</td><td>Rotation around Y axis (in degrees)</td><td>number</td></tr><tr><td>rotZ</td><td>Rotation around Z axis (in degrees)</td><td>number</td></tr><tr><td>fov</td><td>Field of view in degrees (smaller = more zoom, larger = more fisheye)</td><td>number</td></tr><tr><td>color</td><td>Wireframe color</td><td>color</td></tr><tr><td>strokeWidth</td><td>Line width</td><td>number</td></tr><tr><td>origin</td><td>Center point of the shape. Defaults to (0, 0). Changing it moves the shape's pivot without affecting its x and y position.</td><td>point</td></tr><tr><td>instance</td><td>Source of the instancing group</td><td>figure</td></tr><tr><td>zindex</td><td>Controls which element appears on top when elements overlap; higher values sit above lower ones.</td><td>number</td></tr></tbody></table>

{% hint style="info" %}
The `zindex` increases automatically, unless there's a connection to it.
{% endhint %}
