1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-19 07:08:04 +01:00
dotSCAD/docs/lib3x-fibseq.md

17 lines
295 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
2020-01-28 17:51:20 +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]