1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-03-14 02:59:42 +01:00
This commit is contained in:
Justin Lin 2020-04-13 20:30:54 +08:00
parent 479a0be438
commit 61bdb9c1f6

View File

@ -248,4 +248,13 @@ function penrose_tiling(n = 2, angle = 36, leng = 1, heading = 0, start = [0, 0]
["9", "--81++++61[+91++++71]--71"]
]
)
lsystem2(rule, n, angle, leng, heading, start, "6789");
lsystem2(rule, n, angle, leng, heading, start, "6789");
function bush(n = 3, angle = 16, leng = 1, heading = 0, start = [0, 0]) =
let(
rule = [
["S", "++++F"],
["F", "FF-[-F+F+F]+[+F-F-F]"]
]
)
lsystem2(rule, n, angle, leng, heading, start);