Fibonacci
PureFibonacciReturns the Nth Fibonacci number using an iterative approach.
Type: Pure (no side effects)
Category: Fortuna|Math & Numeric
Keywords: math & numeric
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| N | int | — | N parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | int | ReturnValue output |
Example Use Cases
Example 1
Procedural generation using Fibonacci spiral layouts.
Example 2
Mathematical puzzle game mechanics.