Skip to content

Examples

MW Lim edited this page Jun 23, 2022 · 107 revisions

Nodegroup Previews

Note This page is work in progress(incomplete).

All of the following examples uses the object coordinates as the input vector (Texture Coordinates > Object) on a plane, with the exception of 3D primitives which were raymarched with the UV sphere.

2D SDF / 2D SDF (L-inf) / 3D SDF / Patterns / SDF Ops / UV Ops / Vector Ops / Tiling / Misc

2D SDF Primitives

2D SDF (L-inf/Max Norm)

SDF Triangle

SDF Polygon

Patterns

3D SDF Primitives

SDF Operators

UV Operators

Vector Operators

Tiling

Misc

2D SDF Primitives

sdArc

⬆️

arc

sdArrow

⬆️

arrow

sdBezier

⬆️

bezier

sdBlobbyCross

⬆️

sdblobbycross

sdBox

⬆️

box

sdBoxOriented

⬆️

boxoriented

sdCircle

⬆️ This is the same as subtracting a constant from the vector length node

circle

sdCosine

⬆️

cosine

sdCross

⬆️

cross

sdCutDisk

⬆️

cutdisk

sdEgg

⬆️

egg

sdEllipse

⬆️ Adapted from Ellipse - SDF (trigless, 3 iter)

ellipse

sdEllipseN

⬆️ Adapted from Ellipse - distance 2D II which uses the newton solver

ellipsen

sdFlatJoint

⬆️

flatjoint1 flatjoint2

sdRoundJoint

⬆️

roundjoint1 roundjoint2

sdHeart

⬆️

heart

sdHexagon

⬆️

hexagon

sdHexagram

⬆️

hexagram

sdHorseshoe

⬆️

horseshoe

sdMoon

⬆️

moon

sdOctogon

⬆️

octogon

sdParabola

⬆️

parabola

sdParabolaSegment

⬆️

parabolasegment

sdParallelogram

⬆️

parallelogram

sdPentagon

⬆️

pentagon

sdPie

⬆️

pie

sdQuad

⬆️

quad

sdQuadraticCircle

⬆️

quadraticcircle

sdRhombus

⬆️

rhombus

sdRoundedBox

⬆️

roundedbox

sdRoundedX

⬆️

roundedx

sdRoundedCross

⬆️

roundedxross

sdSegment

⬆️

segment

sdSpiral

⬆️

spiral

sdSpiralArcs

⬆️

arcs

sdSpiralARound

⬆️ Archimede Spiral with round caps

saround

sdSpiralASquare

⬆️ Archimede Spiral with squared caps

sasquare

sdStar

⬆️

star

sdStar5

⬆️

star5

sdSquircle

⬆️

squircle

sdSquircleCheap

⬆️

squirclecheap

sdTrapezoid

⬆️

trapezoid

sdTrapezoidY

⬆️

trapezoidy

sdTunnel

⬆️

tunnel

sdVesica

⬆️

vesica

sdSquareStairs

⬆️

squarestairs

sdStairs

⬆️

stairs

sdUnevenCapsuleY

⬆️ Adapted from sdUnevenCapsuleY

unevencapsuley

sdUnevenCapsule

⬆️ Adapted from sdUnevenCapsule

unevencapsule

2D SDF Primitives (L-inf/Max Norm)

sdBoxLN

⬆️

boxln

sdCircleLN

⬆️

circleln

sdEllipseLN

⬆️

ellipseln

sdParabolaLN

⬆️

parabolaln

sdParabolaSegmentLN

⬆️

parabolasegln

sdLineLN

⬆️

lineln

sdRoundBoxLN

⬆️

roundboxln

sdRhombusLN

⬆️

rhombusln

SDF Triangle

sdTriangle

⬆️

triangle

sdTriangleIsoceles

⬆️

triangleisoceles

sdTriangleEquilateral

⬆️

triangleequilateral

SDF Polygon

sdPolygon4

⬆️

polygon4

sdPolygon8

⬆️

polygon8

SDF Patterns

sdRunes

⬆️ makes a rune in the 0..1 uv space (Adapted from Shadertoy)

runes1 runes2 runes3

sdTruchet

⬆️

truchet

3D SDF Primitives

sdSphere

⬆️

sphere

sdBox3D

⬆️

box3d

sdBoxFrame

⬆️

boxframe

sdCappedTorus

⬆️

cappedtorus

sdCutHollowSphere

⬆️

cuthollowsphere

sdCutSphere

⬆️

cutsphere

sdEllipsoid

⬆️

ellipsoid

sdTorus

⬆️

torus

sdTriangle3D

⬆️

triangle3d

sdTriPrism

⬆️

triprism

sdVerticalSegment

⬆️

verticalsegment

sdSegment3D

⬆️

segment3d

sdSolidAngle

⬆️

sdsolidangle

sdLink

⬆️

link

sdOctahedron

⬆️

Artboard

sdBezier3D

⬆️

bezier3d

sdRoundedCylinder

⬆️

roundedcylinder

SDF Operators

opOnion

⬆️

onion

opDilate

⬆️ This is the same as subtracting a constant from a SDF

dilate

opHermitePulse

⬆️ Adapted from cubic_pulse (D6464)

hermitepulse

opDivide

⬆️ Union with gap between SDFs

divide

opPipe

⬆️ produces a cylindrical pipe that runs along the intersection (see fOpPipe for more info)

pipe

opExclusionXOR

⬆️ Union with intersection removed

exclusionxor

opEngrave

⬆️ intersection with V-shaped cut out (see fOpEngrave for more info)

engrave

opGroove

⬆️ intersection with groove cut out (see fOpGroove for more info)

groove1 groove2

opTongue

⬆️ intersection with tongue cut out (see fOpTongue for more info)

tongue

opUnion

⬆️

union

UV Operators

opUVGrid

⬆️

uvgrid uvgridcellid uvgridrunningbond

opUVRandomRotate

⬆️

uvrandomrotate

opUVRandomFlip

⬆️

uvrandomflip

Vector Operators

opPolar

⬆️

oppolar1 oppolar2 oppolar3

opBend

⬆️ Bend position

Artboard

opElongate

⬆️ Elongate along axes

elongate

Tiling

opHexagonGrid

⬆️ Hexagon Grid

hexgrid1 hexgrid2 hexgrid3 hexgrid4 hexgrid5 hexgrid6

Misc

sdViewer

⬆️ Colorizes a distance field.

sdviewer

Clone this wiki locally