Reference · The <wakusei-body> element
TEXTURE_FAR_BASEconstant
Where the sharpest surface pictures are: the files of this exact version in the repository, on jsDelivr's GitHub address. The npm package holds only the two smaller widths, so a page that
never zooms in never fetches them. Set texture-far-base on an element to serve them yourself.
Import it
import { TEXTURE_FAR_BASE } from "@johnmorrisdotca/wakusei-planets/element";
Definition
const TEXTURE_FAR_BASE: "https://cdn.jsdelivr.net/gh/johnmorrisdotca/wakusei-planets@v0.24.0/textures/" = `https://cdn.jsdelivr.net/gh/johnmorrisdotca/wakusei-planets@v${VERSION}/textures/`
Examples
import { TEXTURE_FAR_BASE } from "@johnmorrisdotca/wakusei-planets/element";
console.log(TEXTURE_FAR_BASE);