lsystem FractalTreePPCG {
set symbols axiom = X;
set iterations = 6;
interpret F as DrawForward(10);
interpret - as TurnLeft(25);
interpret + as TurnLeft(-25);
interpret [ as StartBranch;
interpret ] as EndBranch;
rewrite X to F - [ [ X ] + X ] + F [ + F X ] - X;
rewrite F to F F;
}
process all with SvgRenderer;
Copy the above into this site to see a preview.