diff --git a/src/experimental/lsystem2_collections.scad b/src/experimental/lsystem2_collections.scad index 351ac002..4fbe0054 100644 --- a/src/experimental/lsystem2_collections.scad +++ b/src/experimental/lsystem2_collections.scad @@ -56,6 +56,15 @@ function koch_quadratic_type2(n = 4, angle = 90, leng = 1, heading = 0, start = ) lsystem2(rule, n, angle, leng, heading, start); +function koch_star(n = 4, angle = 60, leng = 1, heading = 0, start = [0, 0]) = + let( + rule = [ + ["S", "F++F++F"], + ["F", "F+F--F+F"] + ] + ) + lsystem2(rule, n, angle, leng, heading, start, "6789"); + function dragon_curve(n = 10, angle = 90, leng = 1, heading = 0, start = [0, 0]) = let( rule = [