3D Vector / Resource

L-System

Create a 3D vector path from an L-system grammar. Draw forward with F, move forward without drawing with f, use + and - for yaw Z, & and ^ for pitch X, \ and / for roll Y, and [ ] for branches.

iOSmacOSvisionOS

Inlets

Axiom

String

The initial L-system symbol string.

Rules

String

Replacement rules separated by new lines or semicolons.

Iterations

Int

The number of times the rules are applied. Warning: this can get heavy fast at higher values.

Initial Rotation

Angle3 D

The starting turtle orientation. Forward is along local Y.

Angle

Angle

The turn amount used by +, -, &, ^, \, and / symbols.

Step Length

Float

The distance moved by draw and move symbols.

Draw Symbols

String

Symbols that draw a segment while moving forward.

Move Symbols

String

Symbols that move forward without drawing.

Center

Bool

Move the generated path so its bounding box is centered on the origin.

Outlets

3D Vector

Vector3 D

Properties

Axiom

String

The initial L-system symbol string.

Default
F
Inlet
Axiom

Rules

String

Replacement rules separated by new lines or semicolons.

Default
F=F[+F][-F][&F][^F]
Inlet
Rules

Iterations

Int

The number of times the rules are applied. Warning: this can get heavy fast at higher values.

Default
3
Editor minimum
0
Editor maximum
6
Inlet
Iterations

Initial Rotation

Angle3 D

The starting turtle orientation. Forward is along local Y.

Default
x: 0, y: 0, z: 0
Editor minimum
x: -3.141592653589793, y: -3.141592653589793, z: -3.141592653589793
Editor maximum
x: 3.141592653589793, y: 3.141592653589793, z: 3.141592653589793
Inlet
Initial Rotation

Angle

Angle

The turn amount used by +, -, &, ^, \, and / symbols.

Default
0.5235987755982988
Editor minimum
0
Editor maximum
3.141592653589793
Inlet
Angle

Step Length

Float

The distance moved by draw and move symbols.

Default
0.1
Editor minimum
0
Editor maximum
1
Inlet
Step Length

Draw Symbols

String

Symbols that draw a segment while moving forward.

Default
F
Inlet
Draw Symbols

Move Symbols

String

Symbols that move forward without drawing.

Default
f
Inlet
Move Symbols

Center

Bool

Move the generated path so its bounding box is centered on the origin.

Default
true
Inlet
Center

Version history

  1. Added in 4.2.0