# 2D Signed distance function geometry nodes

The signed distance function nodes can be used to define complex geometry using simple shapes.

They are based on a very small set of basic shapes, that can be combined using operators, and finally output as a grayscale image using the sdShow node.

All output samples shown in this section are images generated through the sdShow node.

All Signed Distance Functions nodes are based on code written by Inigo Quilez that can be found on this page.

- sdShow node

## Shapes

- sdCircle node
- sdLine node
- sdBox node
- sdRhombus node
- sdArc node
- sdPolygon node
- sdNGon node
- sdCross node
- sdCutDisk node
- sdEgg node
- sdEquilateralTriangle node
- sdHeart node
- sdHexagram node
- sdIsoscelesTriangle node
- sdMoon node
- sdParallelogram node
- sdRoundedBox node
- sdRoundedCross node
- sdRoundedX node
- sdStar5 node
- sdTrapezoid node
- sdTriangle node
- sdUnevenCapsule node
- sdVesica node
- sdStar node
- sdPie node
- sdArrow node
- sdEllipse node
- sdTunnel node
- sdStairs node
- sdKite node

## Operators

- sdBoolean node
- sdSmoothBoolean node
- sdRoundedShape node
- sdAnnularShape node
- sdMorph node
- sdRepeat node
- sdCircleRepeat node
- Mask to SDF node

## Transforms

- Translate node
- Rotate node
- Scale node
- Scale XY node

## Example images