diff --git a/src/experimental/lsystem2.scad b/src/experimental/lsystem2.scad index 3cee6129..924b3ac6 100644 --- a/src/experimental/lsystem2.scad +++ b/src/experimental/lsystem2.scad @@ -1,6 +1,17 @@ use ; use ; +/* + + F Move forward and draw line + f Move forward without drawing a line + + Turn left + - Turn right + [ Push current turtle state onto stack + ] Pop current turtle state from the stack + +*/ + function lsystem2(axiom, rules, n, angle, leng = 1, heading = 0, start = [0, 0], forward_chars = "F", rules_pr) = let( derived = _lsystem2_derive(axiom, rules, n, rules_pr), diff --git a/src/experimental/lsystem3.scad b/src/experimental/lsystem3.scad index f0f61a13..ff2a02d2 100644 --- a/src/experimental/lsystem3.scad +++ b/src/experimental/lsystem3.scad @@ -1,6 +1,17 @@ use ; use ; +/* + + F Move forward and draw line + f Move forward without drawing a line + + Turn left + - Turn right + [ Push current turtle state onto stack + ] Pop current turtle state from the stack + +*/ + function lsystem3(axiom, rules, n, angle, leng = 1, heading = 0, start = [0, 0, 0], forward_chars = "F", rules_pr) = let( derived = _lsystem3_derive(axiom, rules, n, rules_pr),