Reference · The <wakusei-body> element
TILES_BASEconstant
Where the finer map tiles are by default: the demo site's tiles/ folder (GitHub Pages sends access-control-allow-origin: *). The tiles are made by scripts/make-body-tiles.py and are in no package and no repository:
a page that serves its own gives the folder in the tiles attribute, and tiles="off" turns them off. A page that sets texture-base (it serves its own pictures) has none unless it says where they are.
Import it
import { TILES_BASE } from "@johnmorrisdotca/wakusei-planets/element";
Definition
const TILES_BASE: "https://johnmorrisdotca.github.io/wakusei-planets/tiles/" = "https://johnmorrisdotca.github.io/wakusei-planets/tiles/"
Examples
import { TILES_BASE } from "@johnmorrisdotca/wakusei-planets/element";
console.log(TILES_BASE);