mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 06:08:31 +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])
|
for(i = [0:n - 1])
|
||||||
let(
|
let(
|
||||||
k = (i + 0.5),
|
r = sqrt(i / n),
|
||||||
r = sqrt(k / n),
|
theta = dir * i * g * 180
|
||||||
theta = dir * k * g * 180
|
|
||||||
)
|
)
|
||||||
[radius * r * cos(theta), radius * r * sin(theta)]
|
[radius * r * cos(theta), radius * r * sin(theta)]
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user