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

17 lines
294 B
Markdown
Raw Normal View History

2019-10-04 13:29:50 +08:00
# 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
2022-06-06 13:11:46 +08:00
use <util/fibseq.scad>
2019-10-04 13:29:50 +08:00
echo(fibseq(1, 10)); // ECHO: [1, 1, 2, 3, 5, 8, 13, 21, 34, 55]