mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-16 21:58:26 +01:00
golden angle
This commit is contained in:
parent
4e2edcef5b
commit
e6e52f7ab8
@ -7,7 +7,7 @@ function fibonacci_lattice2(n, radius = 1, rt_dir = "CT_CLK") =
|
||||
for(i = [0:n - 1])
|
||||
let(
|
||||
r = sqrt(i / n),
|
||||
theta = dir * i * g * 180
|
||||
theta = dir * i * g * 360
|
||||
)
|
||||
[radius * r * cos(theta), radius * r * sin(theta)]
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user