Explore how L-System string-rewriting algorithms model complex fractal branching in plasma tendrils, lightning discharges, and biological plant growth.
<aside> 👏
Learn how Lindenmayer Systems translate recursive string-rewriting rules and stack-memory registers into realistic 2D simulations of botanical trees, fractal ferns, and stepped leader lightning bolts.
.png)
<aside> 👏
<aside> <img src="/icons/download_yellow.svg" alt="/icons/download_yellow.svg" width="40px" />
Procedural Branching: L-System Applications in Plasma Discharges and Biological Morphogenesis
graph TD
%% Base Layer: L-System Foundations
subgraph Base ["🧬 Foundation: Lindenmayer Systems"]
axiom(["Axiom: F"])
rules[["Production Rules: e.g., F → FF+[+F-F-F]"]]
stack["📚 Stack Memory: [ push, ] pop"]
end
%% Plasma Physics Domain
subgraph Plasma_Domain ["⚡ Domain A: Plasma Physics & High-Voltage Discharge"]
direction TB
subgraph Plasma_Current ["🟢 Current Exploration"]
P1_2D[["⚡ 2D Procedural Spark Branching"]]
P1_Angle[\"📐 Turn Angle: δ = 22.5°\"/]
P1_Asym[\"🔀 Asymmetric Mask: 30°–60° Random Range\"/]
P1_VFX[\"🎨 VFX: Cyan-to-Pink Shift & Flash\"/]
end
subgraph Plasma_Next ["🚀 Roadmap & Potential Steps"]
P2_Field[["🔬 Potential Gradient Field (Poisson Solver)"]]
P2_Atmos["🌫️ Continuous Grids (Perlin Density/Humidity)"]
P2_Thermo["🌡️ Return Stroke Thermodynamics"]
end
end
%% Biological Domain
subgraph Bio_Domain ["🌿 Domain B: Biological Morphogenesis & Growth"]
direction TB
subgraph Bio_Current ["🟢 Current Exploration"]
B1_3D[["🌿 3D Volumetric Plants (Pitch, Yaw, Roll)"]]
B1_IFS[["🌀 IFS Fractals: Barnsley Fern"]]
B1_Agent["🧫 Bacterial Chains (Capsules & Grammars)"]
B1_Chemo["🧪 Chemotaxis: Nutrient Gradient Drift"]
end
subgraph Bio_Next ["🚀 Roadmap & Potential Steps"]
B2_Trop["☀️ Tropisms: Phototropism & Gravitropism"]
B2_Load["🪵 Structural Load & Self-Pruning"]
B2_GPU[["🖥️ 1L/2L Grammars & GPU Generation"]]
end
end
%% Linking Foundation to Current Areas
axiom --> rules
rules --> stack
stack ==>|Interpreted as Spark| P1_2D
stack ==>|Interpreted as Stem/Branch| B1_3D
%% Linking Current Areas to Potential Transitions
P1_2D -.-> P2_Field
P1_Asym -.-> P2_Atmos
P1_VFX -.-> P2_Thermo
B1_3D -.-> B2_Trop
B1_Chemo -.-> B2_Trop
B1_Agent -.-> B2_GPU
B1_IFS -.-> B2_GPU
%% Enhanced Visual Styling Rules
classDef foundation fill:#f3e8ff,stroke:#7e22ce,stroke-width:2px,color:#581c87,rx:8,ry:8;
classDef plasma fill:#e0f2fe,stroke:#0284c7,stroke-width:2px,color:#0369a1,rx:8,ry:8;
classDef bio fill:#dcfce7,stroke:#15803d,stroke-width:2px,color:#166534,rx:8,ry:8;
classDef roadmap fill:#e0e7ff,stroke:#4338ca,stroke-width:1.5px,color:#3730a3,stroke-dasharray: 4 4,rx:8,ry:8;
classDef container fill:#fafafa,stroke:#d1d5db,stroke-width:2px,rx:12,ry:12;
class axiom,rules,stack foundation;
class P1_2D,P1_Angle,P1_Asym,P1_VFX plasma;
class B1_3D,B1_IFS,B1_Agent,B1_Chemo bio;
class P2_Field,P2_Atmos,P2_Thermo,B2_Trop,B2_Load,B2_GPU roadmap;
class Base,Plasma_Domain,Bio_Domain,Plasma_Current,Plasma_Next,Bio_Current,Bio_Next container;
</aside>