mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-18 20:41:18 +02:00
rename
This commit is contained in:
@@ -38,7 +38,7 @@ module petals(fibseq, i = 0) {
|
||||
module lotus_like_flower(spirals, petals_per_spiral) {
|
||||
step_angle = 360 / spirals;
|
||||
|
||||
fibseq = fibonacci_sequence(1, petals_per_spiral + 1);
|
||||
fibseq = fibseq(1, petals_per_spiral + 1);
|
||||
|
||||
for(i = [0:spirals - 1]) {
|
||||
rotate(i * step_angle)
|
||||
|
@@ -8,7 +8,7 @@ function _fibonacci_sequence(seq, n, i = 2) =
|
||||
i + 1
|
||||
);
|
||||
|
||||
function fibonacci_sequence(from, to) =
|
||||
function fibseq(from, to) =
|
||||
let(f = __fast_fibonacci(from))
|
||||
from == to ? [f] :
|
||||
_fibonacci_sequence(
|
||||
|
Reference in New Issue
Block a user