From e6e52f7ab8cfa11c270050ec3926b520b5641f21 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Tue, 19 Jul 2022 11:36:14 +0800 Subject: [PATCH] golden angle --- src/experimental/fibonacci_lattice2.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/experimental/fibonacci_lattice2.scad b/src/experimental/fibonacci_lattice2.scad index 94ff2da0..b23ef7a7 100644 --- a/src/experimental/fibonacci_lattice2.scad +++ b/src/experimental/fibonacci_lattice2.scad @@ -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)] ];