Reference · The realistic Earth's pure parts
tileRowsfunction
Rows in a level.
Import it
import { tileRows } from "@johnmorrisdotca/chikyu-earth/realistic";
Definition
function tileRows(level: number): number
Parameters
| Name | Type | Description |
|---|---|---|
level | number | A pyramid level. |
Returns
number
2^level.
Examples
import { tileRows } from "@johnmorrisdotca/chikyu-earth/realistic";
console.log(tileRows(4));16What it prints (run when this page was built)