mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-03-14 02:59:42 +01:00
add bush
This commit is contained in:
parent
479a0be438
commit
61bdb9c1f6
@ -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);
|
Loading…
x
Reference in New Issue
Block a user