stepForfunction
The milliseconds the water takes through one cell, so that the deepest cell is reached in FILL_MS at most.
Import it
import { stepFor } from "@johnmorrisdotca/suido/draw";
Definition
function stepFor(deepest: number): number
Parameters
| Name | Type | Description |
|---|---|---|
deepest | number | The greatest water depth, measured in cell steps. |
Returns
number
The milliseconds the water takes through one cell, so that the deepest cell is reached in FILL_MS at most.
Examples
import { stepFor } from "@johnmorrisdotca/suido/draw";
console.log(stepFor(10));90What it prints (run when this page was built)