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