1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 14:18:13 +01:00
dotSCAD/docs/lib3x-fibseq.md
2021-02-24 14:33:55 +08:00

295 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

use <util/fibseq.scad>;

echo(fibseq(1, 10));  // ECHO: [1, 1, 2, 3, 5, 8, 13, 21, 34, 55]