astraeus-data
v0.9.2
Published
Pictures and place lists for the Astraeus engine: maps of the moons, the 8k Venus map, the Milky Way and the tagged surface places of 24 bodies. Optional; the engine draws without them.
Maintainers
Readme
astraeus-data
Pictures for the Astraeus engine, kept apart so the engine stays small:
- maps of Io, Europa, Ganymede, Callisto, Mimas, Enceladus, Tethys, Dione, Rhea, Titan, Iapetus, Triton, Pluto and Charon;
- the 8k Venus map (used on wide screens);
- the Milky Way picture (Kevinmloch, from Gaia EDR3, CC BY-SA 4.0), one 3840x1920 image.
- the tagged surface places of 24 bodies (
astraeus-data/bodies/<body>/features.json,categories.json,overview.json,map.json, andbodies/catalogue.json), the owner's own Planetary Explorer lists, as data forscene.addPlaces. They are never loaded unless an app imports them.
Moons with pictures: Io, Europa, Ganymede, Callisto, Mimas, Enceladus, Tethys, Dione, Rhea, Titan, Iapetus, Triton and Charon. Every other listed moon, among them Uranus's Miranda, Ariel, Umbriel, Titania and Oberon, draws flat-coloured with this package loaded. Pluto also has a map.
Without this package the engine still draws every body: moons are flat-coloured spheres, Venus uses its 2k map and the sky shows the catalogue stars without the Milky Way. Nothing is invented to fill the gap.
import { mount, Scene, titan, saturn } from "astraeus";
import { dataSource as pictures } from "astraeus-data";
import { dataSource as saturnMoons } from "astraeus-data-saturn";
mount(element, new Scene().addBody(saturn).addBody(titan), { data: [pictures, saturnMoons] });The Milky Way alone
A sky-only app (stars, constellations, no moons) can take the Milky Way picture without the moon and Venus maps. Import milkyWaySource from the astraeus-data/milky-way subpath; a build then copies that one picture:
import { mount, Scene } from "astraeus";
import { milkyWaySource } from "astraeus-data/milky-way";
mount(element, new Scene(), { data: [milkyWaySource] });It gives the sky exactly the Milky Way that dataSource does, with the same licence record, and provides no bodies. The main export astraeus-data is unchanged.
Every picture carries its licence record (PICTURES[name].licence); NOTICE lists them. Most are NASA/JPL or USGS public-domain or credit-required work; the Milky Way is CC BY 4.0.
