lsystem DragonCurvePPCG {
set symbols axiom = F X;
set iterations = 12;
interpret F as DrawForward(10);
interpret - as TurnLeft(90);
interpret + as TurnLeft(-90);
rewrite X to X + Y F + ;
rewrite Y to - F X - Y ;
}
process all with SvgRenderer;
Copy the above into this site to see a preview.