mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-06-03 11:25:09 +02:00
299 B
299 B
fibseq
Generate a Fibonacci sequence.
Since:: 2.1
Parameters
from
: The nth Fibonacci number you wanna start from.to
: The nth Fibonacci number you wanna go to.
Examples
include <util/fibseq.scad>;
echo(fibseq(1, 10)); // ECHO: [1, 1, 2, 3, 5, 8, 13, 21, 34, 55]