ExplorerGridStyle
Defined in: options.ts:25
Styling for the grid behind the scene.
Properties
Section titled “Properties”alpha?
Section titled “alpha?”
optionalalpha?:number
Defined in: options.ts:27
Opacity, 0 to 1; 0.22 by default.
color?
Section titled “color?”
optionalcolor?:ExplorerColour
Defined in: options.ts:29
Overrides palette.grid.
minScreenStep?
Section titled “minScreenStep?”
optionalminScreenStep?:number
Defined in: options.ts:36
With continuous: the on-screen spacing in px below which the grid fades out; 8 by default.
optionalstep?:number
Defined in: options.ts:31
The world distance between repeats of the pattern; 160 by default.
optionaltile?:ExplorerGridTile
Defined in: options.ts:38
Your own pattern in place of the built-in dots: tile={() => import("./my-grid-tile")}.
optionalzoom?:"snap"|"continuous"
Defined in: options.ts:34
snap (the default) keeps the spacing on screen between 36 and 190 px by stepping it by 4×
as you zoom. continuous keeps step fixed in the world, scaling smoothly, like a baseplate.