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