astraeus 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +176 -0
- package/README.md +185 -37
- package/package.json +5 -4
- package/src/api/AstraeusScene.d.ts +21 -5
- package/src/api/AstraeusScene.js +34 -10
- package/src/api/AstraeusScene.node.js +34 -10
- package/src/api/assembleScene.d.ts +36 -0
- package/src/api/assembleScene.js +175 -0
- package/src/api/bodySetChecks.d.ts +10 -0
- package/src/api/bodySetChecks.js +117 -0
- package/src/api/bodySetInput.d.ts +81 -0
- package/src/api/bodySetInput.js +1 -0
- package/src/api/containingBlock.d.ts +6 -0
- package/src/api/containingBlock.js +16 -0
- package/src/api/data.d.ts +17 -5
- package/src/api/data.js +28 -10
- package/src/api/definitionOf.d.ts +16 -0
- package/src/api/definitionOf.js +20 -0
- package/src/api/errors.d.ts +61 -1
- package/src/api/frozenCopy.d.ts +6 -0
- package/src/api/frozenCopy.js +26 -0
- package/src/api/group.d.ts +8 -2
- package/src/api/group.js +24 -5
- package/src/api/index.d.ts +18 -7
- package/src/api/index.js +2 -2
- package/src/api/index.node.js +2 -2
- package/src/api/listeners.d.ts +5 -0
- package/src/api/listeners.js +25 -0
- package/src/api/look.d.ts +47 -0
- package/src/api/look.js +1 -0
- package/src/api/lookInput.d.ts +3 -0
- package/src/api/lookInput.js +41 -0
- package/src/api/moonPanelInput.d.ts +60 -0
- package/src/api/moonPanelInput.js +1 -0
- package/src/api/mount.d.ts +9 -19
- package/src/api/mount.js +27 -13
- package/src/api/mount.node.js +27 -13
- package/src/api/pathProvenance.js +1 -1
- package/src/api/pickerInput.d.ts +25 -0
- package/src/api/pickerInput.js +1 -0
- package/src/api/planBodies.d.ts +72 -0
- package/src/api/planBodies.js +300 -0
- package/src/api/planBodySets.d.ts +68 -0
- package/src/api/planBodySets.js +234 -0
- package/src/api/planCamera.d.ts +83 -0
- package/src/api/planCamera.js +184 -0
- package/src/api/planGroups.d.ts +36 -0
- package/src/api/planGroups.js +103 -0
- package/src/api/planMoonPanel.d.ts +19 -0
- package/src/api/planMoonPanel.js +104 -0
- package/src/api/planPaths.d.ts +40 -0
- package/src/api/planPaths.js +212 -0
- package/src/api/planPicker.d.ts +12 -0
- package/src/api/planPicker.js +40 -0
- package/src/api/planPlaces.d.ts +16 -0
- package/src/api/planPlaces.js +99 -0
- package/src/api/planStory.d.ts +26 -0
- package/src/api/planStory.js +66 -0
- package/src/api/planTimeline.d.ts +27 -0
- package/src/api/planTimeline.js +68 -0
- package/src/api/planViews.d.ts +25 -0
- package/src/api/planViews.js +35 -0
- package/src/api/prepared.js +4 -1
- package/src/api/renamedInputs.d.ts +15 -0
- package/src/api/renamedInputs.js +39 -0
- package/src/api/scene.d.ts +162 -68
- package/src/api/scene.js +247 -793
- package/src/api/sceneFreeze.d.ts +4 -0
- package/src/api/sceneFreeze.js +10 -0
- package/src/api/sceneReads.d.ts +171 -0
- package/src/api/sceneReads.js +6 -0
- package/src/api/story.d.ts +49 -19
- package/src/api/story.js +54 -22
- package/src/api/sunOrbit.js +9 -11
- package/src/api/time.d.ts +2 -1
- package/src/api/time.js +2 -1
- package/src/api/viewerCamera.d.ts +22 -0
- package/src/api/viewerCamera.js +84 -0
- package/src/api/viewerClock.d.ts +30 -0
- package/src/api/viewerClock.js +85 -0
- package/src/api/viewerFirstDraw.d.ts +14 -0
- package/src/api/viewerFirstDraw.js +26 -0
- package/src/api/viewerHandle.d.ts +79 -0
- package/src/api/viewerHandle.js +31 -0
- package/src/api/viewerLink.d.ts +87 -15
- package/src/api/viewerLink.js +111 -75
- package/src/api/viewerLooks.d.ts +19 -0
- package/src/api/viewerLooks.js +37 -0
- package/src/api/viewerPicker.d.ts +22 -0
- package/src/api/viewerPicker.js +49 -0
- package/src/api/viewerSelection.d.ts +25 -0
- package/src/api/viewerSelection.js +31 -0
- package/src/api/viewerViews.d.ts +10 -0
- package/src/api/viewerViews.js +18 -0
- package/src/api/viewerZones.d.ts +20 -0
- package/src/api/viewerZones.js +47 -0
- package/src/api/views.d.ts +4 -5
- package/src/api/views.js +7 -5
- package/src/app/App.d.ts +5 -3
- package/src/app/App.js +191 -82
- package/src/app/App.node.js +191 -82
- package/src/app/AstraeusScene.d.ts +16 -2
- package/src/app/AstraeusScene.js +4 -4
- package/src/app/BodyView.d.ts +4 -1
- package/src/app/BodyView.js +2 -2
- package/src/app/CameraController.d.ts +6 -0
- package/src/app/DeveloperSettings.d.ts +1 -4
- package/src/app/DeveloperSettings.js +6 -10
- package/src/app/FeatureMarkers.d.ts +4 -3
- package/src/app/FeatureMarkers.js +8 -13
- package/src/app/FrameRateSection.js +2 -1
- package/src/app/OrbitSetView.js +1 -1
- package/src/app/SettingControls.d.ts +11 -3
- package/src/app/SettingControls.js +10 -2
- package/src/app/SkyView.d.ts +3 -10
- package/src/app/SkyView.js +6 -28
- package/src/app/address.d.ts +16 -0
- package/src/app/address.js +31 -0
- package/src/app/bodyDraw.d.ts +10 -7
- package/src/app/bodyDraw.js +12 -32
- package/src/app/bodyMetrics.js +2 -2
- package/src/app/bodySet.d.ts +4 -20
- package/src/app/bodySet.js +5 -16
- package/src/app/debugReadout.js +1 -1
- package/src/app/displaySwitches.d.ts +4 -0
- package/src/app/displaySwitches.js +6 -0
- package/src/app/experienceDefinition.d.ts +11 -23
- package/src/app/listSwitch.d.ts +8 -14
- package/src/app/listSwitch.js +3 -10
- package/src/app/liveLook.d.ts +39 -0
- package/src/app/liveLook.js +66 -0
- package/src/app/look.d.ts +36 -0
- package/src/app/look.js +61 -0
- package/src/app/mission.d.ts +1 -1
- package/src/app/mission.js +1 -1
- package/src/app/openClock.d.ts +3 -2
- package/src/app/openClock.js +3 -3
- package/src/app/sceneCamera.js +9 -0
- package/src/app/sceneFrame.d.ts +4 -4
- package/src/app/sceneFrame.js +13 -8
- package/src/app/sceneHooks.js +3 -2
- package/src/app/style.css +114 -139
- package/src/app/trackedMetrics.d.ts +10 -3
- package/src/app/trackedMetrics.js +22 -11
- package/src/app/viewLink.d.ts +10 -32
- package/src/app/viewLink.js +10 -49
- package/src/app/viewerPort.d.ts +50 -0
- package/src/app/views.d.ts +1 -0
- package/src/assets/bodies/galileanMoons.js +1 -2
- package/src/assets/bodies/io.js +2 -2
- package/src/assets/bodies/listedMoons.d.ts +1 -1
- package/src/assets/bodies/listedMoons.js +2 -3
- package/src/assets/bodies/planetSystemMaps.js +2 -3
- package/src/assets/bodies/venus.js +2 -6
- package/src/assets/catalogue.js +1 -2
- package/src/assets/licence.d.ts +3 -3
- package/src/assets/licence.js +3 -3
- package/src/assets/pictures.d.ts +15 -12
- package/src/assets/pictures.js +24 -20
- package/src/assets/sky.d.ts +6 -5
- package/src/assets/sky.js +6 -9
- package/src/assets/visual.d.ts +4 -0
- package/src/core/bodies/index.d.ts +0 -4
- package/src/core/bodies/index.js +1 -6
- package/src/core/bodies/jupiterData.d.ts +0 -1
- package/src/core/bodies/jupiterData.js +2 -5
- package/src/core/bodies/moonSystem.d.ts +1 -1
- package/src/core/bodies/moonSystem.js +102 -55
- package/src/core/bodies/outerPlanetRingData.js +2 -2
- package/src/core/bodies/planetTrajectory.js +1 -1
- package/src/core/bodySetFamilies.d.ts +20 -0
- package/src/core/bodySetFamilies.js +14 -0
- package/src/core/chebyshevEphemeris.js +1 -1
- package/src/core/elementsBody.d.ts +8 -4
- package/src/core/elementsBody.js +32 -11
- package/src/core/elementsGroup.d.ts +27 -0
- package/src/core/elementsGroup.js +85 -0
- package/src/core/events.d.ts +2 -0
- package/src/core/events.js +2 -0
- package/src/core/illumination.js +1 -1
- package/src/core/listedOrbitGroup.d.ts +2 -0
- package/src/core/listedOrbitGroup.js +11 -7
- package/src/core/moonListText.d.ts +6 -0
- package/src/core/moonListText.js +19 -0
- package/src/core/moonTrajectory.js +1 -1
- package/src/core/pacing.d.ts +38 -3
- package/src/core/pacing.js +55 -4
- package/src/core/planetModels.js +2 -2
- package/src/core/planetSeries.d.ts +8 -0
- package/src/core/planetSeries.js +16 -2
- package/src/core/pointGroup.js +1 -1
- package/src/core/provenance.d.ts +2 -1
- package/src/core/provenance.js +2 -2
- package/src/core/referenceCenters.js +5 -5
- package/src/core/sampledTrajectory.js +1 -1
- package/src/core/scalePolicy.d.ts +1 -0
- package/src/core/startView.d.ts +19 -0
- package/src/core/startView.js +28 -0
- package/src/core/state.d.ts +6 -2
- package/src/core/state.js +3 -3
- package/src/core/storyPanels.d.ts +63 -0
- package/src/core/storyPanels.js +111 -0
- package/src/core/sunCentredSources.d.ts +4 -0
- package/src/core/sunCentredSources.js +9 -2
- package/src/core/timeInput.d.ts +4 -0
- package/src/core/timeInput.js +4 -0
- package/src/shell/AstraeusShell.d.ts +5 -1
- package/src/shell/AstraeusShell.js +20 -11
- package/src/shell/AstraeusShell.node.js +20 -11
- package/src/shell/Collapsible.d.ts +4 -3
- package/src/shell/Collapsible.js +5 -5
- package/src/shell/ControlsDrawer.d.ts +1 -1
- package/src/shell/ControlsDrawer.js +3 -1
- package/src/shell/DisplaySwitches.js +2 -1
- package/src/shell/InfoPanel.d.ts +3 -1
- package/src/shell/InfoPanel.js +5 -4
- package/src/shell/MoonFamilyPanel.js +1 -1
- package/src/shell/ObjectControls.d.ts +3 -1
- package/src/shell/ObjectControls.js +2 -2
- package/src/shell/Sources.d.ts +5 -3
- package/src/shell/Sources.js +5 -5
- package/src/shell/StoryPanelView.d.ts +4 -3
- package/src/shell/StoryPanelView.js +8 -6
- package/src/shell/SwitchControl.d.ts +5 -11
- package/src/shell/SwitchControl.js +2 -20
- package/src/shell/TimelineBar.css +81 -81
- package/src/shell/TimelineBar.d.ts +5 -2
- package/src/shell/TimelineBar.js +9 -8
- package/src/shell/TimelineBar.node.js +9 -8
- package/src/shell/TopBar.css +22 -22
- package/src/shell/TopBar.d.ts +5 -1
- package/src/shell/TopBar.js +2 -2
- package/src/shell/TopBar.node.js +2 -2
- package/src/shell/bootLoader.d.ts +4 -10
- package/src/shell/bootLoader.js +6 -52
- package/src/shell/embedded.css +18 -18
- package/src/shell/experience.d.ts +1 -1
- package/src/shell/moonFamilies.d.ts +2 -6
- package/src/shell/moonFamilies.js +2 -18
- package/src/shell/phone.css +58 -58
- package/src/shell/storyPanels.d.ts +2 -53
- package/src/shell/storyPanels.js +1 -106
- package/src/shell/style.css +153 -134
- package/src/shell/useDrawers.d.ts +3 -2
- package/src/shell/useDrawers.js +4 -3
- package/src/shell/viewerKeys.d.ts +8 -0
- package/src/shell/viewerKeys.js +16 -0
- package/src/synthetic/syntheticDefinition.js +20 -24
- package/src/synthetic/syntheticJourneyScene.js +3 -3
- package/src/synthetic/syntheticProbeDefinition.js +2 -1
- package/src/synthetic/syntheticViewsDefinition.d.ts +0 -3
- package/src/synthetic/syntheticViewsDefinition.js +10 -16
- package/data/moons/jupiter.json +0 -3333
- package/data/moons/neptune.json +0 -555
- package/data/moons/pluto.json +0 -205
- package/data/moons/saturn.json +0 -8267
- package/data/moons/uranus.json +0 -887
- package/src/app/addressNavigation.d.ts +0 -17
- package/src/app/addressNavigation.js +0 -16
- package/src/assets/bodies/jupiterMoonCatalogue.d.ts +0 -3
- package/src/assets/bodies/jupiterMoonCatalogue.js +0 -4
- package/src/assets/bodies/outerPlanetCatalogues.d.ts +0 -7
- package/src/assets/bodies/outerPlanetCatalogues.js +0 -8
- package/src/assets/bodies/swiftTuttle.d.ts +0 -12
- package/src/assets/bodies/swiftTuttle.js +0 -13
- package/src/assets/moonCatalogue.d.ts +0 -49
- package/src/assets/moonCatalogue.js +0 -80
- package/src/core/bodies/outerPlanetData.d.ts +0 -4
- package/src/core/bodies/outerPlanetData.js +0 -13
- package/src/core/bodies/swiftTuttle.d.ts +0 -46
- package/src/core/bodies/swiftTuttle.js +0 -106
package/src/api/scene.d.ts
CHANGED
|
@@ -1,22 +1,29 @@
|
|
|
1
1
|
import type { BodyId } from "../core/body.js";
|
|
2
|
-
import {
|
|
2
|
+
import type { Provenance } from "../core/provenance.js";
|
|
3
3
|
import type { ActivitySourceInput } from "./activity.js";
|
|
4
|
-
import {
|
|
4
|
+
import type { LineStretchInput } from "./pathProvenance.js";
|
|
5
5
|
import { type ScalePolicy } from "../core/scalePolicy.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import type { ExperienceDefinition } from "../app/experienceDefinition.js";
|
|
6
|
+
import type { State } from "../core/state.js";
|
|
7
|
+
import type { ElementsBodyRecord } from "../core/elementsBody.js";
|
|
9
8
|
import { type BodyRef } from "./bodies.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
9
|
+
import type { DataSource } from "./data.js";
|
|
10
|
+
import type { ActivityInput } from "./activity.js";
|
|
11
|
+
import type { GroupInput } from "./group.js";
|
|
13
12
|
export type { GroupInput, GroupOrbitInput, GroupClumpInput, GroupReadoutInput } from "./group.js";
|
|
14
13
|
export type { ActivityInput, ActivitySampleInput, ActivitySourceInput } from "./activity.js";
|
|
15
|
-
export type { DataSource, MoonPositions } from "./data.js";
|
|
14
|
+
export type { DataSource, MoonPositions, MoonIndex } from "./data.js";
|
|
15
|
+
import type { PickerInput } from "./pickerInput.js";
|
|
16
|
+
import type { MoonPanelInput, PlacesInput } from "./moonPanelInput.js";
|
|
17
|
+
import type { BodySetInput } from "./bodySetInput.js";
|
|
18
|
+
import { SceneCamera } from "./planCamera.js";
|
|
19
|
+
import type { SceneActivityRead, SceneBodyRead, SceneBodySetRead, SceneEventRead, SceneGroupRead, SceneMoonPanelRead, ScenePanelRead, ScenePlacesRead, ScenePathRead, SceneTimelineRead, SceneViewsRead } from "./sceneReads.js";
|
|
20
|
+
export type { SceneActivityRead, SceneBodyRead, SceneBodySetRead, SceneEventRead, SceneGroupRead, SceneMoonPanelRead, ScenePanelRead, ScenePlacesRead, ScenePathRead, SceneTimelineRead, SceneViewRead, SceneViewsRead } from "./sceneReads.js";
|
|
21
|
+
export type { SceneCamera } from "./planCamera.js";
|
|
16
22
|
import { type TimeInput } from "./time.js";
|
|
17
|
-
import {
|
|
18
|
-
import
|
|
19
|
-
import
|
|
23
|
+
import type { SwitchesInput } from "./switches.js";
|
|
24
|
+
import type { LookInput } from "./look.js";
|
|
25
|
+
import type { ViewInput, ViewsOptions } from "./views.js";
|
|
26
|
+
import { type AddEventsOptions, type EventInput, type StoryPanelInput, type StoryPanelPlaybackInput, type TimelineInput } from "./story.js";
|
|
20
27
|
export { toUtcMs, type TimeInput } from "./time.js";
|
|
21
28
|
export type { ElementsBodyRecord } from "../core/elementsBody.js";
|
|
22
29
|
/** Options of `addBody`. */
|
|
@@ -24,21 +31,47 @@ export interface AddBodyOptions {
|
|
|
24
31
|
/**
|
|
25
32
|
* Draws the body's orbit as a line: the Moon's about Earth and Io's about Jupiter, or, in a scene that holds the Sun, one full turn round the Sun of any body that
|
|
26
33
|
* circles it (the planets, Earth's year, a body added with `addBodyFromElements`), from the scene's opening time (an own body from its periapsis). Others throw `no-orbit`.
|
|
34
|
+
* An object `{ lapDays, fades? }` draws any moon's line from a lap time you state (`OrbitLapInput`), whether or not its record has a period. Default: no line.
|
|
27
35
|
*/
|
|
28
|
-
readonly orbit?: boolean;
|
|
36
|
+
readonly orbit?: boolean | OrbitLapInput;
|
|
29
37
|
/** Draws the body this many times larger than life so a planet can be seen; a number of at least 1 (distances stay true). In a scene centred on the Sun the viewer offers its \"solar-system\" scale (true distances, the named bodies enlarged) as the second scale choice in place of the readable scale. A bad value throws `bad-body`. */
|
|
30
38
|
readonly enlarge?: number;
|
|
31
39
|
/** False starts the body's label off (the body stays in the menu and selectable; the viewer's labels switch can turn it on). Default true. */
|
|
32
40
|
readonly showLabel?: boolean;
|
|
33
|
-
/** How far from the camera the body's label shows, in the camera's `distance` units (as `camera.setReach`); a positive finite number. When absent the scene's shared rule applies: no limit in a Sun-centred or fitted scene, else the camera reach (at least 500). */
|
|
34
|
-
readonly
|
|
41
|
+
/** How far from the camera the body's label shows, in the camera's `distance` units (Earth radii, as `camera.setReach`); a positive finite number. When absent the scene's shared rule applies: no limit in a Sun-centred or fitted scene, else the camera reach (at least 500). */
|
|
42
|
+
readonly labelReachEarthRadii?: number;
|
|
35
43
|
/** One or two plain sentences for the body's info card. */
|
|
36
44
|
readonly description?: string;
|
|
37
45
|
/** The body's colour on its info card and label, as a CSS hex colour such as "#9fd8ff"; the catalogue's own when absent. A bad value throws `bad-body`. */
|
|
38
46
|
readonly color?: string;
|
|
39
47
|
/** Known limits shown with the body's provenance, replacing the catalogue's own; a list of non-empty texts. A bad value throws `bad-body`. */
|
|
40
48
|
readonly knownLimitations?: readonly string[];
|
|
49
|
+
/** Bars for the body's info card, in order: the same list a path takes (`addTrajectory`'s `readouts`), measured from the scene's centre body. They replace the catalogue's own distance rows. A bad readout throws `bad-readout`; a named body must be in the scene. */
|
|
50
|
+
readonly readouts?: readonly ReadoutInput[];
|
|
51
|
+
/** False leaves the body out of the viewer's object menu (default true). It stays drawn and selectable, and the menu shows it while it is the selected one. A non-boolean throws `bad-body`. */
|
|
52
|
+
readonly listed?: boolean;
|
|
53
|
+
/** Labelled facts for the body's info card, in order, such as `{ label: "Discovered", value: "1610" }`; both texts non-empty, else `bad-body`. None by default. */
|
|
54
|
+
readonly facts?: readonly CardFactInput[];
|
|
55
|
+
/** Sources added to the card's provenance after the body's own (the catalogue's), each a non-empty text, else `bad-body`. Also read by `Scene.provenanceOf`. None by default. */
|
|
56
|
+
readonly sources?: readonly string[];
|
|
57
|
+
/** Which label wins when labels overlap: the higher number shows. A finite number, else `bad-body`. Default `100 - index`, so bodies added earlier win. */
|
|
58
|
+
readonly labelPriority?: number;
|
|
59
|
+
}
|
|
60
|
+
/** One labelled fact on a body's info card (`AddBodyOptions.facts`). */
|
|
61
|
+
export interface CardFactInput {
|
|
62
|
+
readonly label: string;
|
|
63
|
+
readonly value: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* The orbit line of a moon from a lap time you give, for a moon whose catalogue record has no period (or to override it): one lap of `lapDays` days about its parent, which must be in the scene.
|
|
67
|
+
* `fades` true fades the line's far end; false closes the loop; absent follows the moon's own rule (the Moon's line fades, others close). A bad lap or a body that circles the Sun throws `bad-body`.
|
|
68
|
+
*/
|
|
69
|
+
export interface OrbitLapInput {
|
|
70
|
+
readonly lapDays: number;
|
|
71
|
+
readonly fades?: boolean;
|
|
41
72
|
}
|
|
73
|
+
/** The rows a body's info card can show, in the order given to `Scene.setBodyReadouts`. */
|
|
74
|
+
export type BodyReadoutKind = "distance" | "phase" | "coordinates";
|
|
42
75
|
/** A source anchor on a path: a point the data was published at, drawn as a dot and labelled with its id. Its time must fall within the path. */
|
|
43
76
|
export interface AnchorInput {
|
|
44
77
|
readonly id: string;
|
|
@@ -67,7 +100,8 @@ export interface TrajectorySampleInput {
|
|
|
67
100
|
readonly positionKm: ArrayLike<number>;
|
|
68
101
|
readonly velocityKmS?: ArrayLike<number>;
|
|
69
102
|
}
|
|
70
|
-
|
|
103
|
+
/** The fields every trajectory shares, whether it is recorded samples or a provider. */
|
|
104
|
+
export interface TrajectoryBase {
|
|
71
105
|
readonly id: string;
|
|
72
106
|
readonly label?: string;
|
|
73
107
|
readonly color?: string;
|
|
@@ -89,8 +123,8 @@ interface TrajectoryBase {
|
|
|
89
123
|
* publishes by default). Ecliptic input is rotated to EQJ once, as it is read, so drawing, `stateOf` and readouts all see EQJ. Any other value throws `bad-trajectory`.
|
|
90
124
|
*/
|
|
91
125
|
readonly plane?: "EQJ" | "ecliptic-j2000";
|
|
92
|
-
/** How far from the camera the path's label shows, in the camera's `distance` units (as `camera.setReach`); a positive finite number. When absent the scene's shared rule applies: no limit in a Sun-centred or fitted scene, else the camera reach (at least 500). */
|
|
93
|
-
readonly
|
|
126
|
+
/** How far from the camera the path's label shows, in the camera's `distance` units (Earth radii, as `camera.setReach`); a positive finite number. When absent the scene's shared rule applies: no limit in a Sun-centred or fitted scene, else the camera reach (at least 500). */
|
|
127
|
+
readonly labelReachEarthRadii?: number;
|
|
94
128
|
readonly provenance?: Provenance;
|
|
95
129
|
/**
|
|
96
130
|
* Where each stretch of the path comes from, shown with the path as time moves (the same `{ start, end, provenance }` list as an activity's `provenance`).
|
|
@@ -126,42 +160,13 @@ export interface FollowView {
|
|
|
126
160
|
/** Which direction is up as the viewer orbits: "equatorial" (celestial north, the default) or "ecliptic" (the ecliptic's north pole, so the planets' plane reads flat). Any other value throws `bad-camera`. */
|
|
127
161
|
readonly up?: "equatorial" | "ecliptic";
|
|
128
162
|
}
|
|
129
|
-
/**
|
|
130
|
-
export
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
/** Opens framed on a body or trajectory already added to the scene and already following it (the viewer's Follow button shows as pressed). */
|
|
134
|
-
follow(id: string, view?: FollowView): this;
|
|
135
|
-
/** Opens framed on a body or trajectory already added to the scene, looking at it but not following it (the viewer's Focus button shows as pressed). The last of `follow` and `lookAt` wins. */
|
|
136
|
-
lookAt(id: string, view?: FollowView): this;
|
|
137
|
-
/**
|
|
138
|
-
* Sets how far the viewer can zoom out from what they look at, in Earth radii (the scene's scaled unit); a finite number above 0, else `bad-camera`.
|
|
139
|
-
* Also sets the camera's far plane (where drawing stops) to 2.5 times `distance`, so what lies out to the reach is still drawn.
|
|
140
|
-
* Labels reach as far: a body's label stays shown at any distance the camera can take. Without this call the camera frames the scene as before.
|
|
141
|
-
* `setReach` and `fitOrbit` set the same limit, so the later call wins and replaces the earlier one.
|
|
142
|
-
*/
|
|
143
|
-
setReach(distance: number): this;
|
|
144
|
-
/**
|
|
145
|
-
* Sets the farthest zoom-out so the whole orbit of a body circling the Sun (a planet, a built-in comet or one from `addBodyFromElements`, already added to the scene) fits the canvas
|
|
146
|
-
* from any view direction: the orbit's farthest Sun distance divided by the sine of the narrower half field of view of the canvas (vertical 45 degrees, or horizontal from the
|
|
147
|
-
* canvas's width over height), with 10 percent to spare. The viewer fits again whenever the canvas changes shape, such as a phone turning or a window resizing; the far plane follows
|
|
148
|
-
* as for `setReach`. The opening view does not move. Any other body throws `bad-camera` naming it; an id not in the scene throws `unknown-body`. `setReach` and `fitOrbit` set the
|
|
149
|
-
* same limit, so the later call wins and replaces the earlier one.
|
|
150
|
-
* @example
|
|
151
|
-
* scene.camera.fitOrbit("c-2025-a1");
|
|
152
|
-
*/
|
|
153
|
-
fitOrbit(body: BodyRef | BodyId): this;
|
|
154
|
-
/** The body `fitOrbit` fits the zoom-out to, if any. */
|
|
155
|
-
get fitted(): string | undefined;
|
|
156
|
-
/** The farthest zoom-out set with `setReach`, if any. */
|
|
157
|
-
get reach(): number | undefined;
|
|
158
|
-
get target(): string | undefined;
|
|
159
|
-
/** Whether the opening view follows its target (`follow`) rather than only looking at it (`lookAt`). */
|
|
160
|
-
get following(): boolean;
|
|
161
|
-
get view(): FollowView;
|
|
163
|
+
/** Options of `Scene.load` and `Scene.check`: the data packages `mount` would be given. */
|
|
164
|
+
export interface SceneLoadOptions {
|
|
165
|
+
/** Data packages the scene's bodies need, such as moon positions; nothing is looked up behind the caller's back. */
|
|
166
|
+
readonly data?: readonly DataSource[];
|
|
162
167
|
}
|
|
163
168
|
/**
|
|
164
|
-
* A scene built with imperative calls. `mount(element, scene)` draws it
|
|
169
|
+
* A scene built with imperative calls. `mount(element, scene)` draws it. Every method returns the scene, so calls chain.
|
|
165
170
|
* @example
|
|
166
171
|
* const scene = new Scene()
|
|
167
172
|
* .addBody(earth)
|
|
@@ -174,6 +179,32 @@ export declare class Scene {
|
|
|
174
179
|
/** The camera: `scene.camera.follow(id)` opens framed on a body or trajectory. */
|
|
175
180
|
readonly camera: SceneCamera;
|
|
176
181
|
constructor();
|
|
182
|
+
/** The bodies the scene holds, in the order added (the first is the scene's centre): id, label, the body it circles, whether its orbit line is on, and how much it is enlarged. A fresh frozen list on every read; it answers on a scene a viewer has taken. */
|
|
183
|
+
get bodies(): readonly SceneBodyRead[];
|
|
184
|
+
/** The paths the scene holds (`addTrajectory`), in the order added: id, label, centre body and provenance. A fresh frozen list on every read. */
|
|
185
|
+
get paths(): readonly ScenePathRead[];
|
|
186
|
+
/** The groups the scene holds (`addGroup`), in the order added: id, label, orbit count, centre body, plane and the provenance the group's card shows. A fresh frozen list on every read. */
|
|
187
|
+
get groups(): readonly SceneGroupRead[];
|
|
188
|
+
/** The body sets the scene holds (`addBodySet`), in the order added: id, centre body, member count and family ids. A fresh frozen list on every read. */
|
|
189
|
+
get bodySets(): readonly SceneBodySetRead[];
|
|
190
|
+
/** The picker (`setPicker`), as set; undefined when none was set. */
|
|
191
|
+
get picker(): PickerInput | undefined;
|
|
192
|
+
/** The moon panel (`setMoonPanel`): how many moons it lists and the line that states them with their source and date; undefined when none was set. */
|
|
193
|
+
get moonPanel(): SceneMoonPanelRead | undefined;
|
|
194
|
+
/** The bodies that hold tagged places (`addPlaces`), in the order added, with how many each holds. A fresh frozen list on every read. */
|
|
195
|
+
get places(): readonly ScenePlacesRead[];
|
|
196
|
+
/** The events the scene holds (`addEvents`), sorted by time: id, label, `timeUtcMs`, type, object and provenance (the event's own, else the batch's). A fresh frozen list on every read. */
|
|
197
|
+
get events(): readonly SceneEventRead[];
|
|
198
|
+
/** The story panels (`addStoryPanels`), sorted by time with their times resolved against the events, path anchors and timeline as `mount` resolves them; empty when none were added. A bad panel throws `bad-panels`, as `mount` would. A fresh frozen list on every read. */
|
|
199
|
+
get panels(): readonly ScenePanelRead[];
|
|
200
|
+
/** The views the scene names (`setViews`): the id of the opening view (`startId`), where the choice shows and each view's id, label and the `objects`, `events` and `panels` it shows (ids, as the viewer resolves them: what the view names plus whatever no view names); undefined when none were named. Checks the ids as `mount` does, so a bad one throws `bad-view`. A fresh frozen object on every read. */
|
|
201
|
+
get views(): SceneViewsRead | undefined;
|
|
202
|
+
/** The scale choices the viewer will offer, in order, as ids ("true-scale", "readable-scale", "solar-system"); the first is the opening scale and `setScale(.., { only: true })` leaves just that one. */
|
|
203
|
+
get scales(): readonly string[];
|
|
204
|
+
/** The activities added with `addActivity`, in the order added: each one's `id`, `label`, `unit`, span, peak and curve in UTC milliseconds, and where its stretches come from. Fresh, frozen and a copy of what was given, so editing the list or the input afterwards changes nothing. */
|
|
205
|
+
get activities(): readonly SceneActivityRead[];
|
|
206
|
+
/** The timeline the scene opens with: its span and opening moment in UTC milliseconds (`windowStartUtcMs`, `windowEndUtcMs`, `openUtcMs`), the speeds offered (`rates`), the opening `rate` and whether playback wraps (`loop`). With no span or moment set and no path or activity, the span is a month about the moment of the read. A moment outside a span set with `setTimeline` throws `bad-timeline`, as `mount` would. */
|
|
207
|
+
get timeline(): SceneTimelineRead;
|
|
177
208
|
/** Adds a catalogued body: a ready-made one (`earth`, `moon`, ...) or its id. The first body added is the scene's centre. `{ orbit: true }` also draws its orbit line. */
|
|
178
209
|
addBody(body: BodyRef | BodyId, options?: AddBodyOptions): this;
|
|
179
210
|
/**
|
|
@@ -189,14 +220,47 @@ export declare class Scene {
|
|
|
189
220
|
addTrajectory(input: TrajectoryInput): this;
|
|
190
221
|
/**
|
|
191
222
|
* Adds a group of listed orbits drawn as one set of dots (one colour and dot size, one menu item and info card), with an optional clump near a body.
|
|
192
|
-
* The orbits circle the scene's centre unless `center` names another body. A repeated id throws `duplicate-id`; an empty list, a bad orbit, colour or clump throws `bad-group`. A `center` that is not a catalogued body throws `unknown-body`; a catalogued one the finished scene does not hold throws `bad-group` from `
|
|
223
|
+
* The orbits are given in `plane` ("ecliptic-j2000" or "EQJ"), which is required: a group without one throws `bad-group`. They circle the scene's centre unless `center` names another body. A repeated id throws `duplicate-id`; an empty list, a bad orbit, colour or clump throws `bad-group`. A `center` that is not a catalogued body throws `unknown-body`; a catalogued one the finished scene does not hold throws `bad-group` from `check`, `load` or `mount`.
|
|
193
224
|
* @example
|
|
194
|
-
* scene.addGroup({ id: "ring", orbits: [{ id: "a", semiMajorAxisKm: 90_000, eccentricity: 0.1, inclinationDeg: 5, raanDeg: 40, argumentOfPeriapsisDeg: 70 }], color: "#9de3a8" });
|
|
225
|
+
* scene.addGroup({ id: "ring", orbits: [{ id: "a", semiMajorAxisKm: 90_000, eccentricity: 0.1, inclinationDeg: 5, raanDeg: 40, argumentOfPeriapsisDeg: 70 }], plane: "ecliptic-j2000", color: "#9de3a8" });
|
|
195
226
|
*/
|
|
196
227
|
addGroup(input: GroupInput): this;
|
|
228
|
+
/**
|
|
229
|
+
* Adds many small bodies about one centre as one batch: each member is a selectable dot (a ball at true size close up, its name on hover, tap or near zoom), with orbit lines coloured by its family.
|
|
230
|
+
* The members circle the scene's centre unless `center` names another body in the scene. They are all listed moons of the centre (positions come through `data`, as for `addBody`) or all made-up
|
|
231
|
+
* ones with `elements` on two-body motion. `bodies` names bodies added with `addBody` that belong to a family. A repeated id throws `duplicate-id`; a malformed set, an unlisted moon, a centre
|
|
232
|
+
* without gravity or a balance point outside the set throws `bad-body-set`. Read the result from `scene.bodySets`.
|
|
233
|
+
* @example
|
|
234
|
+
* scene.addBodySet({ id: "swarm", families: [{ id: "inner", label: "Inner swarm" }], provenance: { sourceType: "illustrative", sources: ["Made up"], accuracy: "Not real.", notes: "" }, members: [{ id: "bit-a", label: "Bit A", radiusKm: 5, family: "inner", elements: { semiMajorAxisKm: 30_000, eccentricity: 0.1, inclinationDeg: 5, raanDeg: 10, argumentOfPeriapsisDeg: 20, trueAnomalyDeg: 30 } }] });
|
|
235
|
+
*/
|
|
236
|
+
addBodySet(input: BodySetInput): this;
|
|
237
|
+
/**
|
|
238
|
+
* Shows the sliding panel of a planet's moons by family: its heading label, the families (each a one-line description and its moons, named or provisional), the family listed first with pictures
|
|
239
|
+
* (`featuredFamily`) and where and when the list was taken (`listSource`, `listDate`). Each moon is a body (`addBody`) or a body-set member (`addBodySet`) of the scene, checked when the scene is built;
|
|
240
|
+
* its label comes from there, and a body gets the picture the viewer's `data` brings for it. Replaces any earlier panel. A malformed panel, or a moon the scene does not hold, throws `bad-moon-panel`. Read the count and summary from `scene.moonPanel`.
|
|
241
|
+
* @example
|
|
242
|
+
* scene.setMoonPanel({ label: "Tarn", families: [{ id: "inner", label: "Inner moons", description: "Close and quick.", moons: [{ id: "bit-a" }] }], listSource: "A made-up list", listDate: "2026-10-18" });
|
|
243
|
+
*/
|
|
244
|
+
setMoonPanel(input: MoonPanelInput): this;
|
|
245
|
+
/**
|
|
246
|
+
* Offers a choice in the viewer's top bar and phone drawer: one button per option, the one with `value` pressed when the viewer opens. Fewer than two options draw nothing. Replaces any earlier picker.
|
|
247
|
+
* A press only tells the host (`onPick` on the handle, or the prop of `AstraeusScene`): the viewer never navigates, reads or writes the page address, or keeps a time, and the pressed button does not move
|
|
248
|
+
* until the host calls `setPick` or mounts a new scene. A malformed picker, or a `value` that is not one of the options, throws `bad-picker`. Read it back from `scene.picker`.
|
|
249
|
+
* @example
|
|
250
|
+
* scene.setPicker({ id: "world", label: "World", options: [{ value: "tarn", label: "Tarn" }, { value: "mere", label: "Mere" }], value: "tarn" });
|
|
251
|
+
*/
|
|
252
|
+
setPicker(input: PickerInput): this;
|
|
253
|
+
/**
|
|
254
|
+
* Adds the tagged places of one body, drawn as markers on it and opened in the information panel: categories (key, label, colour), places (id, name, kind, category, latitude and longitude in degrees as given,
|
|
255
|
+
* description and optional details) and the provenance shown with each. The body must be in the scene when it is built. A second call for one body throws `duplicate-id`; a malformed list throws `bad-places`.
|
|
256
|
+
* Read the result from `scene.places`.
|
|
257
|
+
* @example
|
|
258
|
+
* scene.addPlaces("tarn", { categories: [{ key: "pit", label: "Pits", color: "#9de3a8" }], places: [{ id: "deep", name: "Deep Pit", kind: "Pit", category: "pit", latitudeDeg: 12, longitudeDeg: -40, description: "A made-up pit." }], provenance: { sourceType: "illustrative", sources: ["Made up"], accuracy: "Not real.", notes: "" } });
|
|
259
|
+
*/
|
|
260
|
+
addPlaces(body: BodyRef | BodyId, input: PlacesInput): this;
|
|
197
261
|
/**
|
|
198
262
|
* Adds a period of activity to the timeline: a rate curve the timeline glows by, its peak mark, and where each stretch comes from. A group's `{ kind: "rate" }` readout shows its live rate
|
|
199
|
-
* (unavailable outside the period) against the peak. Without `setTimeline`, the timeline spans the activities. A repeated id
|
|
263
|
+
* (unavailable outside the period) against the peak. Without `setTimeline`, the timeline spans the activities. A repeated id throws `duplicate-id`; a bad curve, peak, source or moment throws `bad-activity`.
|
|
200
264
|
* @example
|
|
201
265
|
* scene.addActivity({ id: "burst", label: "Burst", unit: "per hour", start: "2026-08-01", end: "2026-08-20", peak: "2026-08-12", samples: [{ time: "2026-08-01", value: 2 }, { time: "2026-08-12", value: 100 }, { time: "2026-08-20", value: 5 }] });
|
|
202
266
|
*/
|
|
@@ -207,14 +271,32 @@ export declare class Scene {
|
|
|
207
271
|
setScale(scale: ScalePolicy, options?: {
|
|
208
272
|
readonly only?: boolean;
|
|
209
273
|
}): this;
|
|
210
|
-
/**
|
|
274
|
+
/**
|
|
275
|
+
* Sets the looks, presentation settings that change how the scene is drawn and never where anything is (`LookInput`: star, Milky Way and Sun glow brightness, marker and feature-marker sizes in pixels, the
|
|
276
|
+
* loading-cover fade in seconds, the sky shown or hidden). Replaces the whole look: a look not named keeps its default. A page address parameter, when the viewer's `address` option is on, overrides the look
|
|
277
|
+
* it names. An unknown look or a value out of its range throws `bad-look` here.
|
|
278
|
+
* @example
|
|
279
|
+
* scene.setLook({ starBrightness: 1.4, markerSwapRadiusPx: 5, loadFadeSeconds: 1 });
|
|
280
|
+
*/
|
|
281
|
+
setLook(look: LookInput): this;
|
|
282
|
+
/**
|
|
283
|
+
* Chooses the rows a body's info card shows (a body whose `addBody` gave its own `readouts` keeps those): `"distance"` (to the parent and the Sun), `"phase"` (the lit share of its disc, for a body with a parent)
|
|
284
|
+
* and `"coordinates"`, in the order given. Replaces the earlier choice. Default `["distance"]`. An unknown kind, or a list that is not an array, throws `bad-readout`.
|
|
285
|
+
* @example
|
|
286
|
+
* scene.setBodyReadouts(["distance", "phase", "coordinates"]);
|
|
287
|
+
*/
|
|
288
|
+
setBodyReadouts(kinds: readonly BodyReadoutKind[]): this;
|
|
289
|
+
/** Adds timed events to the timeline, each with an id, a label and a moment; `provenance` says where the times come from and is shown with every event that has none of its own (`EventInput.provenance`). May be called more than once; it appends. A repeated id, in one call or across calls, throws `duplicate-id`; a malformed event or provenance throws "bad-event". */
|
|
211
290
|
addEvents(events: readonly EventInput[], options?: AddEventsOptions): this;
|
|
212
291
|
/**
|
|
213
|
-
*
|
|
214
|
-
* (a panel with an `object` still has its marker on that object). `at.
|
|
292
|
+
* Appends story panels that open as playback reaches them. A panel opens only when forward playback crosses its time, so one at the opening instant never opens by itself
|
|
293
|
+
* (a panel with an `object` still has its marker on that object). `at.time` is any moment inside the timeline, in any year. A bad shape throws `bad-panels` here, naming the panel and field, and a repeated id `duplicate-id`.
|
|
294
|
+
* Panel times may name events (`addEvents`) and path anchors, and `object` a body or path; these may be added later, so they are checked when the scene is built (`check`, `mount`), and a mistake throws `bad-panels` naming the panel and field.
|
|
215
295
|
*/
|
|
216
|
-
addStoryPanels(panels:
|
|
217
|
-
/** Sets
|
|
296
|
+
addStoryPanels(panels: readonly StoryPanelInput[]): this;
|
|
297
|
+
/** Sets how story panels play: `pauseSeconds` and `autoOpen` (see `StoryPanelPlaybackInput`). Replaces the whole setting, so a field left out returns to its default. A bad value throws `bad-panels`. */
|
|
298
|
+
setStoryPanelPlayback(playback: StoryPanelPlaybackInput): this;
|
|
299
|
+
/** Sets the timeline: its span (`start`, `end`), the speeds offered (`rates`), the speed it opens at (`rate`), `pacing` (playback that slows for encounters and speeds up for cruise: spans `{ start, end, rate }` and event rules `{ near: { type, withinSeconds }, rate }`, easing between speeds; a speed the visitor or host picks wins until `setRate("auto")`; see `PacingInput`) and whether playback wraps from the end to the start (`loop`; ignored with `{ none: true }`, which has no span to wrap, and when `setTimeline` is not called), or `{ none: true }` for no timeline bar, with time frozen at `at` or running at `rate`. Without this call the span follows the paths and the speeds are 1 minute, 1 hour and 1 day per second. */
|
|
218
300
|
setTimeline(timeline: TimelineInput): this;
|
|
219
301
|
/**
|
|
220
302
|
* Places the display switches: for each of `orbitLines` (orbit ring, trailing arc and moon orbits), `labels` (body and anchor labels) and `milkyWay` (the sky picture), `place` is
|
|
@@ -226,28 +308,40 @@ export declare class Scene {
|
|
|
226
308
|
*/
|
|
227
309
|
setSwitches(switches: SwitchesInput): this;
|
|
228
310
|
/**
|
|
229
|
-
* Names views of this one scene, each listing what it shows: `
|
|
311
|
+
* Names views of this one scene, each listing what it shows: `objects` (ids of `addBody`, `addGroup` or `addTrajectory`), `events` (ids of `addEvents`) and `panels` (ids of `addStoryPanels`).
|
|
230
312
|
* Anything no view names shows in every view (shared bodies such as the planets); anything a view names shows only in the views that name it. `place` is `"top-bar"` or `"panel"` (as for `setSwitches`);
|
|
231
313
|
* `start` is the opening view (default the first). `camera` says what happens when the followed or focused object is not in the view switched to: `"stay"` (default), `"start"` (the scene's start) or
|
|
232
314
|
* `{ follow: id }` / `{ focus: id }` (that framing; the object must be in the view). Presentation only: State is unchanged and a hidden object keeps its state. May be called again; the later call replaces the views.
|
|
233
315
|
* An empty list, a repeated view id, a bad place or camera, or a `start` that is not a view throws `bad-view` here; an id the scene does not hold, or a camera target the view does not show, throws `bad-view` when the scene is built (`mount`), so the call may come before or after the objects.
|
|
234
316
|
* @example
|
|
235
|
-
* scene.setViews([{ id: "a", label: "Probe A",
|
|
317
|
+
* scene.setViews([{ id: "a", label: "Probe A", objects: ["probe-a"] }, { id: "b", label: "Probe B", objects: ["probe-b"] }, { id: "both", label: "Both" }], { place: "top-bar" });
|
|
236
318
|
*/
|
|
237
319
|
setViews(views: readonly ViewInput[], options: ViewsOptions): this;
|
|
238
320
|
/**
|
|
239
321
|
* The state of a body in the scene at a moment (position in km always; velocity in km/s only where the body's source provides it), the same State the viewer draws: for a path added with `addTrajectory`, about its centre body;
|
|
240
322
|
* for a ready-made body or one from `addBodyFromElements`, about its parent (a planet about the Sun, a moon about its planet). Figures a story quotes, such as a distance from the Sun, come from here. `velocityKmS` is set only for a path whose
|
|
241
|
-
* samples or provider carry velocities and for a moon from fitted data (Io); planets, Earth, the Sun
|
|
242
|
-
* `addTrajectory` path throws `bad-time`. A planet before
|
|
323
|
+
* samples or provider carry velocities and for a moon from fitted data (Io); planets, Earth, the Sun and elements bodies give position only, so check it before use. An id the scene does not hold throws `unknown-body`. Ready-made and elements bodies answer at any date (they have no data cut-off); only a moment outside an
|
|
324
|
+
* `addTrajectory` path throws `bad-time`. A planet or fitted moon before its data has loaded (`await scene.load({ data })`, or mount the scene and await `ready`) throws `missing-data`.
|
|
243
325
|
* @example
|
|
244
326
|
* const sunDistanceKm = Math.hypot(...scene.stateOf("earth", "2026-08-12T00:00:00Z").positionKm);
|
|
245
327
|
*/
|
|
246
328
|
stateOf(id: string, time: TimeInput): State;
|
|
247
329
|
/** The Provenance of a body's position, as its info card shows it: for a ready-made or elements body the catalogue's position record, for a path the one passed to `addTrajectory`. Carries `accuracyClass` and `maxErrorFraction` where a comparison with an independent ephemeris exists. An id the scene does not hold throws `unknown-body`. */
|
|
248
330
|
provenanceOf(id: string): Provenance;
|
|
249
|
-
/**
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
331
|
+
/**
|
|
332
|
+
* Loads what `stateOf` and `provenanceOf` need without a viewer: the planet series and, for each moon the scene holds, the chunks its data package provides for the scene's window.
|
|
333
|
+
* Pass the same `data` as `mount`. Rejects with `missing-data` when a body needs a package not passed, with `out-of-span` when the window reaches outside the years covered, and with
|
|
334
|
+
* the scene's own build error as `check` does. Harmless to call twice; allowed on a scene a viewer has taken; a later `mount` re-uses what it loaded. Works in plain Node.
|
|
335
|
+
* @example
|
|
336
|
+
* await scene.load({ data: [jupiterData] });
|
|
337
|
+
* const io = scene.stateOf("io", "2016-03-01T00:00:00Z");
|
|
338
|
+
*/
|
|
339
|
+
load(options?: SceneLoadOptions): Promise<void>;
|
|
340
|
+
/**
|
|
341
|
+
* Runs the checks `mount` runs before it draws and throws the same `SceneError` for a build fault (an empty scene, a body whose data package is not in `data`, a bad view or panel, ...).
|
|
342
|
+
* Nothing is loaded and the scene is not frozen. Faults that need the planet or moon data (`out-of-span`) arrive from `load`, as they arrive from `mount`'s `ready`.
|
|
343
|
+
* @example
|
|
344
|
+
* scene.check({ data: [jupiterData] }); // throws what mount(element, scene, { data }) would throw
|
|
345
|
+
*/
|
|
346
|
+
check(options?: SceneLoadOptions): void;
|
|
253
347
|
}
|