|
@@ -79,10 +79,10 @@ de préférence choisir des nombres premiers entres eux
|
|
$fn = 200;
|
|
$fn = 200;
|
|
|
|
|
|
/*FONCTION EXPERIMENTALE*/
|
|
/*FONCTION EXPERIMENTALE*/
|
|
-function recherche_limite(limite = 6, etape = 0, x = 0, y = 0, angle = 0) =
|
|
|
|
-limite == etape ? atan(x) :
|
|
|
|
-etape%2 == 0 ? recherche_limite(limite = limite, etape = etape + 1, x = y + rad(angle), y = y, angle = angle) :
|
|
|
|
-recherche_limite(limite = limite, etape = etape + 1, x = x, y = rad(atan(x)), angle = angle);
|
|
|
|
|
|
+//function recherche_limite(limite = 6, etape = 0, x = 0, y = 0, angle = 0) =
|
|
|
|
+//limite == etape ? atan(x) :
|
|
|
|
+//etape%2 == 0 ? recherche_limite(limite = limite, etape = etape + 1, x = y + rad(angle), y = y, angle = angle) :
|
|
|
|
+//recherche_limite(limite = limite, etape = etape + 1, x = x, y = rad(atan(x)), angle = angle);
|
|
|
|
|
|
|
|
|
|
function creux(m = 1) = m <= 1.25 ? 1.4*m : 1.25*m;
|
|
function creux(m = 1) = m <= 1.25 ? 1.4*m : 1.25*m;
|