mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-16 11:44:50 +02:00
add bush
This commit is contained in:
@@ -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);
|
Reference in New Issue
Block a user