mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-25 15:42:41 +02:00
fix rules
This commit is contained in:
@@ -116,10 +116,10 @@ function dragon_curve(n = 10, angle = 90, leng = 1, heading = 0, start = [0, 0])
|
|||||||
|
|
||||||
function twin_dragon_curve(n = 8, angle = 90, leng = 1, heading = 0, start = [0, 0]) =
|
function twin_dragon_curve(n = 8, angle = 90, leng = 1, heading = 0, start = [0, 0]) =
|
||||||
let(
|
let(
|
||||||
axiom = "FX+FX+",
|
axiom = "FX+FX",
|
||||||
rules = [
|
rules = [
|
||||||
["X", "X+YF"],
|
["X", "X+YF"],
|
||||||
["Y", "Y=FX-Y"]
|
["Y", "FX-Y"]
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
lsystem2(axiom, rules, n, angle, leng, heading, start);
|
lsystem2(axiom, rules, n, angle, leng, heading, start);
|
||||||
|
Reference in New Issue
Block a user