@johnmorrisdotca/chikyu-earth 0.15.0 → 0.17.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 +19 -0
- package/NOTICE.md +22 -1
- package/README.md +22 -2
- package/dist/realistic/earth.d.ts +7 -0
- package/dist/realistic/earth.js +7 -0
- package/dist/realistic/element.d.ts +8 -2
- package/dist/realistic/element.js +22 -3
- package/dist/realistic/index.d.ts +2 -0
- package/dist/realistic/index.js +2 -0
- package/dist/realistic/shaders.d.ts +8 -1
- package/dist/realistic/shaders.js +30 -3
- package/dist/realistic/tile-set.d.ts +76 -0
- package/dist/realistic/tile-set.js +403 -0
- package/dist/realistic/tiles.d.ts +211 -0
- package/dist/realistic/tiles.js +266 -0
- package/dist/satellites/index.d.ts +1 -0
- package/dist/satellites/index.js +1 -0
- package/dist/satellites/missions-data.d.ts +2 -0
- package/dist/satellites/missions-data.js +137 -0
- package/dist/satellites/missions.d.ts +186 -0
- package/dist/satellites/missions.js +140 -0
- package/package.json +25 -3
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import type { ElementSet } from "./types.ts";
|
|
2
|
+
/**
|
|
3
|
+
* The five orbiters that flew.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```ts
|
|
7
|
+
* import type { Orbiter } from "@johnmorrisdotca/chikyu-earth/satellites";
|
|
8
|
+
*
|
|
9
|
+
* const first: Orbiter = "Columbia";
|
|
10
|
+
* console.log(first);
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export type Orbiter = "Columbia" | "Challenger" | "Discovery" | "Atlantis" | "Endeavour";
|
|
14
|
+
/**
|
|
15
|
+
* Which visit to the Hubble Space Telescope a flight was: `deployment` (STS-31) or a servicing mission (`SM1` to `SM4`; `SM3A` and `SM3B` are the two parts of the third).
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* import { missions } from "@johnmorrisdotca/chikyu-earth/satellites";
|
|
20
|
+
*
|
|
21
|
+
* console.log(missions().filter((one) => one.hubble).map((one) => `${one.name} ${one.hubble}`));
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export type HubbleVisit = "deployment" | "SM1" | "SM2" | "SM3A" | "SM3B" | "SM4";
|
|
25
|
+
/**
|
|
26
|
+
* One Space Shuttle flight, with the facts NASA's mission page gives (public domain; the pages and the day they were read are in NOTICE.md).
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```ts
|
|
30
|
+
* import { missionOf } from "@johnmorrisdotca/chikyu-earth/satellites";
|
|
31
|
+
*
|
|
32
|
+
* const flight = missionOf("STS-31");
|
|
33
|
+
* console.log(flight?.orbiter, flight?.launch, flight?.crew, flight?.payload);
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export interface Mission {
|
|
37
|
+
/** A short name for an address, lower case: `sts-31`, `sts-41b`. */
|
|
38
|
+
id: string;
|
|
39
|
+
/** The flight's name as NASA writes it without the dash in the middle: `STS-31`, `STS-41B`. */
|
|
40
|
+
name: string;
|
|
41
|
+
orbiter: Orbiter;
|
|
42
|
+
/** The liftoff, ISO 8601 in UTC (`1990-04-24T12:33:51Z`). */
|
|
43
|
+
launch: string;
|
|
44
|
+
/** The landing, in the same form; null for STS-51-L, which broke up 73 seconds after liftoff. */
|
|
45
|
+
landing: string | null;
|
|
46
|
+
/** The number of people NASA's page lists for the flight. */
|
|
47
|
+
crew: number;
|
|
48
|
+
/** The main payload or job, in a few words. */
|
|
49
|
+
payload: string;
|
|
50
|
+
payloadJa: string;
|
|
51
|
+
/** The NORAD catalogue number the flight's craft was given while in orbit (what Space-Track's element sets are filed under); null when it was given none. */
|
|
52
|
+
noradId: number | null;
|
|
53
|
+
/** Set on the flights that deployed or serviced the Hubble Space Telescope (catalogue number 20580), which the flight's element file holds too. */
|
|
54
|
+
hubble?: HubbleVisit;
|
|
55
|
+
/** NASA's page for the flight. */
|
|
56
|
+
url: string;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Where a craft was at a moment: over the ground (WGS 84), how high, how fast, and which element set the place came from.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```ts
|
|
63
|
+
* import type { MissionPosition } from "@johnmorrisdotca/chikyu-earth/satellites";
|
|
64
|
+
*
|
|
65
|
+
* const describe = (place: MissionPosition): string => `${place.latitude.toFixed(1)}, ${place.longitude.toFixed(1)}, ${place.altitudeKm.toFixed(0)} km`;
|
|
66
|
+
* console.log(describe({ latitude: 28.5, longitude: -80.6, altitudeKm: 300, speedKmS: 7.7, epochMs: 0 }));
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
export interface MissionPosition {
|
|
70
|
+
/** Degrees north. */
|
|
71
|
+
latitude: number;
|
|
72
|
+
/** Degrees east, -180 to 180. */
|
|
73
|
+
longitude: number;
|
|
74
|
+
/** Height above the WGS 84 ellipsoid, kilometres. */
|
|
75
|
+
altitudeKm: number;
|
|
76
|
+
/** Speed against the stars, kilometres a second. */
|
|
77
|
+
speedKmS: number;
|
|
78
|
+
/** The moment of the element set used, milliseconds since the Unix epoch. */
|
|
79
|
+
epochMs: number;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* What a mission's element file on the demo site holds (`missions/<id>.json`): for each craft, its name and a row of numbers for each element set Space-Track kept, in `fields` order.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* ```ts
|
|
86
|
+
* import type { MissionFile } from "@johnmorrisdotca/chikyu-earth/satellites";
|
|
87
|
+
*
|
|
88
|
+
* const count = (file: MissionFile): number => Object.values(file.objects).reduce((sum, craft) => sum + craft.rows.length, 0);
|
|
89
|
+
* console.log(count({ id: "sts-1", retrieved: "2026-11-08T12:18Z", source: "Space-Track.org (USSPACECOM)", fields: ["EPOCH"], objects: {} }));
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
export interface MissionFile {
|
|
93
|
+
id: string;
|
|
94
|
+
retrieved: string;
|
|
95
|
+
source: string;
|
|
96
|
+
fields: readonly string[];
|
|
97
|
+
/** By NORAD catalogue number. */
|
|
98
|
+
objects: Record<string, {
|
|
99
|
+
name: string;
|
|
100
|
+
designator: string;
|
|
101
|
+
rows: (string | number)[][];
|
|
102
|
+
}>;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Every Space Shuttle flight, STS-1 to STS-135, in the order they launched.
|
|
106
|
+
*
|
|
107
|
+
* @returns The 135 flights.
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* ```ts
|
|
111
|
+
* import { missions } from "@johnmorrisdotca/chikyu-earth/satellites";
|
|
112
|
+
*
|
|
113
|
+
* const all = missions();
|
|
114
|
+
* console.log(all.length, all[0]?.name, all.at(-1)?.name);
|
|
115
|
+
* ```
|
|
116
|
+
*/
|
|
117
|
+
export declare function missions(): readonly Mission[];
|
|
118
|
+
/**
|
|
119
|
+
* One flight by its name or number: `"STS-31"`, `"sts-31"`, `"31"`, `31` and `"STS-41B"` all work (STS-51-L is `"51L"` or `"STS-51-L"`).
|
|
120
|
+
*
|
|
121
|
+
* @param id - The flight's name or number.
|
|
122
|
+
* @returns The flight, or undefined when there was none by that name.
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
* ```ts
|
|
126
|
+
* import { missionOf } from "@johnmorrisdotca/chikyu-earth/satellites";
|
|
127
|
+
*
|
|
128
|
+
* console.log(missionOf("STS-125")?.hubble, missionOf(135)?.orbiter, missionOf("STS-136"));
|
|
129
|
+
* ```
|
|
130
|
+
*/
|
|
131
|
+
export declare function missionOf(id: string | number): Mission | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* The element sets in a mission's file, as `missionPosition` and `createSatellites` take them, by NORAD catalogue number.
|
|
134
|
+
*
|
|
135
|
+
* @param file - A mission's file from the demo site (`missions/<id>.json`).
|
|
136
|
+
* @returns The sets of each craft, in time order.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* ```ts
|
|
140
|
+
* import { missionElements } from "@johnmorrisdotca/chikyu-earth/satellites";
|
|
141
|
+
*
|
|
142
|
+
* const sets = missionElements({
|
|
143
|
+
* id: "sts-1",
|
|
144
|
+
* retrieved: "2026-11-08T12:18Z",
|
|
145
|
+
* source: "Space-Track.org (USSPACECOM)",
|
|
146
|
+
* fields: ["EPOCH", "MEAN_MOTION", "ECCENTRICITY", "INCLINATION", "RA_OF_ASC_NODE", "ARG_OF_PERICENTER", "MEAN_ANOMALY", "BSTAR", "MEAN_MOTION_DOT", "MEAN_MOTION_DDOT"],
|
|
147
|
+
* objects: { "12399": { name: "STS 1 (OFT-1)", designator: "1981-034A", rows: [["1981-04-12T11:53:25.728288", 16.10930225, 0.0008761, 40.3505, 262.129, 212.5283, 147.5016, 0.002351, 0.02496602, 0.0000043266]] } },
|
|
148
|
+
* });
|
|
149
|
+
* console.log(sets[12399]?.length);
|
|
150
|
+
* ```
|
|
151
|
+
*/
|
|
152
|
+
export declare function missionElements(file: MissionFile): Record<number, ElementSet[]>;
|
|
153
|
+
/**
|
|
154
|
+
* Where a craft was at a moment, from the element set nearest in time (SGP4, the same as `createSatellites`). Elements more than two days from the moment give nothing, and so does a moment outside a flight when you pass its
|
|
155
|
+
* mission (the orbiter is on the ground before liftoff and after landing). The sets of one craft are read once and kept for the next call.
|
|
156
|
+
*
|
|
157
|
+
* @param sets - The craft's element sets (from `missionElements`).
|
|
158
|
+
* @param ms - The moment, in milliseconds since the Unix epoch.
|
|
159
|
+
* @param mission - The flight, to hold the moment between its liftoff and landing when the sets are the flight's own craft (its `noradId`).
|
|
160
|
+
* @returns The place, or undefined when there is none at that moment.
|
|
161
|
+
*
|
|
162
|
+
* @example
|
|
163
|
+
* ```ts
|
|
164
|
+
* import { missionPosition } from "@johnmorrisdotca/chikyu-earth/satellites";
|
|
165
|
+
*
|
|
166
|
+
* const sets = [
|
|
167
|
+
* {
|
|
168
|
+
* OBJECT_NAME: "STS 1 (OFT-1)",
|
|
169
|
+
* EPOCH: "1981-04-12T11:53:25.728288",
|
|
170
|
+
* MEAN_MOTION: 16.10930225,
|
|
171
|
+
* ECCENTRICITY: 0.0008761,
|
|
172
|
+
* INCLINATION: 40.3505,
|
|
173
|
+
* RA_OF_ASC_NODE: 262.129,
|
|
174
|
+
* ARG_OF_PERICENTER: 212.5283,
|
|
175
|
+
* MEAN_ANOMALY: 147.5016,
|
|
176
|
+
* NORAD_CAT_ID: 12399,
|
|
177
|
+
* BSTAR: 0.002351,
|
|
178
|
+
* MEAN_MOTION_DOT: 0.02496602,
|
|
179
|
+
* MEAN_MOTION_DDOT: 0.0000043266,
|
|
180
|
+
* },
|
|
181
|
+
* ];
|
|
182
|
+
* const place = missionPosition(sets, Date.UTC(1981, 3, 12, 14));
|
|
183
|
+
* console.log(place?.latitude.toFixed(1), place?.longitude.toFixed(1), place?.altitudeKm.toFixed(0));
|
|
184
|
+
* ```
|
|
185
|
+
*/
|
|
186
|
+
export declare function missionPosition(sets: readonly ElementSet[], ms: number, mission?: Mission): MissionPosition | undefined;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
// Historic Earth-orbit missions: the facts of each Space Shuttle flight (src/satellites/missions-data.ts) and where its craft was at any moment of the flight, from the element sets Space-Track kept
|
|
2
|
+
// at the time. The positions come from the same SGP4 as the rest of the satellites (createSatellites); the elements are passed in by the page, like all elements here.
|
|
3
|
+
import { eciToGeodetic, gstime } from "satellite.js";
|
|
4
|
+
import { MISSIONS } from "./missions-data.js";
|
|
5
|
+
import { createSatellites } from "./track.js";
|
|
6
|
+
const EARTH_RADIUS_KM = 6371;
|
|
7
|
+
const DAY_MS = 86_400_000;
|
|
8
|
+
const MAX_AGE_DAYS = 2;
|
|
9
|
+
const INDEX = new Map(MISSIONS.map((one) => [one.id, one]));
|
|
10
|
+
/**
|
|
11
|
+
* Every Space Shuttle flight, STS-1 to STS-135, in the order they launched.
|
|
12
|
+
*
|
|
13
|
+
* @returns The 135 flights.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* import { missions } from "@johnmorrisdotca/chikyu-earth/satellites";
|
|
18
|
+
*
|
|
19
|
+
* const all = missions();
|
|
20
|
+
* console.log(all.length, all[0]?.name, all.at(-1)?.name);
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export function missions() {
|
|
24
|
+
return MISSIONS;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* One flight by its name or number: `"STS-31"`, `"sts-31"`, `"31"`, `31` and `"STS-41B"` all work (STS-51-L is `"51L"` or `"STS-51-L"`).
|
|
28
|
+
*
|
|
29
|
+
* @param id - The flight's name or number.
|
|
30
|
+
* @returns The flight, or undefined when there was none by that name.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* import { missionOf } from "@johnmorrisdotca/chikyu-earth/satellites";
|
|
35
|
+
*
|
|
36
|
+
* console.log(missionOf("STS-125")?.hubble, missionOf(135)?.orbiter, missionOf("STS-136"));
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
export function missionOf(id) {
|
|
40
|
+
const key = String(id).toLowerCase().replace(/^sts/, "").replace(/[\s-]/g, "");
|
|
41
|
+
return INDEX.get(`sts-${key}`);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* The element sets in a mission's file, as `missionPosition` and `createSatellites` take them, by NORAD catalogue number.
|
|
45
|
+
*
|
|
46
|
+
* @param file - A mission's file from the demo site (`missions/<id>.json`).
|
|
47
|
+
* @returns The sets of each craft, in time order.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* import { missionElements } from "@johnmorrisdotca/chikyu-earth/satellites";
|
|
52
|
+
*
|
|
53
|
+
* const sets = missionElements({
|
|
54
|
+
* id: "sts-1",
|
|
55
|
+
* retrieved: "2026-11-08T12:18Z",
|
|
56
|
+
* source: "Space-Track.org (USSPACECOM)",
|
|
57
|
+
* fields: ["EPOCH", "MEAN_MOTION", "ECCENTRICITY", "INCLINATION", "RA_OF_ASC_NODE", "ARG_OF_PERICENTER", "MEAN_ANOMALY", "BSTAR", "MEAN_MOTION_DOT", "MEAN_MOTION_DDOT"],
|
|
58
|
+
* objects: { "12399": { name: "STS 1 (OFT-1)", designator: "1981-034A", rows: [["1981-04-12T11:53:25.728288", 16.10930225, 0.0008761, 40.3505, 262.129, 212.5283, 147.5016, 0.002351, 0.02496602, 0.0000043266]] } },
|
|
59
|
+
* });
|
|
60
|
+
* console.log(sets[12399]?.length);
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
export function missionElements(file) {
|
|
64
|
+
const out = {};
|
|
65
|
+
for (const [number, craft] of Object.entries(file.objects)) {
|
|
66
|
+
out[Number(number)] = craft.rows.map((row) => ({ ...Object.fromEntries(file.fields.map((field, index) => [field, row[index]])), OBJECT_NAME: craft.name, OBJECT_ID: craft.designator, NORAD_CAT_ID: Number(number) }));
|
|
67
|
+
}
|
|
68
|
+
return out;
|
|
69
|
+
}
|
|
70
|
+
const tracks = new WeakMap();
|
|
71
|
+
const epochOf = (set) => Date.parse(/[zZ]$/.test(set.EPOCH) ? set.EPOCH : `${set.EPOCH}Z`);
|
|
72
|
+
function trackOf(sets) {
|
|
73
|
+
let found = tracks.get(sets);
|
|
74
|
+
if (!found) {
|
|
75
|
+
const sorted = [...sets].sort((x, y) => epochOf(x) - epochOf(y));
|
|
76
|
+
found = { sets: sorted, epochs: sorted.map(epochOf), satellites: sorted.map((set) => createSatellites([set], { maxAgeDays: MAX_AGE_DAYS })) };
|
|
77
|
+
tracks.set(sets, found);
|
|
78
|
+
}
|
|
79
|
+
return found;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Where a craft was at a moment, from the element set nearest in time (SGP4, the same as `createSatellites`). Elements more than two days from the moment give nothing, and so does a moment outside a flight when you pass its
|
|
83
|
+
* mission (the orbiter is on the ground before liftoff and after landing). The sets of one craft are read once and kept for the next call.
|
|
84
|
+
*
|
|
85
|
+
* @param sets - The craft's element sets (from `missionElements`).
|
|
86
|
+
* @param ms - The moment, in milliseconds since the Unix epoch.
|
|
87
|
+
* @param mission - The flight, to hold the moment between its liftoff and landing when the sets are the flight's own craft (its `noradId`).
|
|
88
|
+
* @returns The place, or undefined when there is none at that moment.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* ```ts
|
|
92
|
+
* import { missionPosition } from "@johnmorrisdotca/chikyu-earth/satellites";
|
|
93
|
+
*
|
|
94
|
+
* const sets = [
|
|
95
|
+
* {
|
|
96
|
+
* OBJECT_NAME: "STS 1 (OFT-1)",
|
|
97
|
+
* EPOCH: "1981-04-12T11:53:25.728288",
|
|
98
|
+
* MEAN_MOTION: 16.10930225,
|
|
99
|
+
* ECCENTRICITY: 0.0008761,
|
|
100
|
+
* INCLINATION: 40.3505,
|
|
101
|
+
* RA_OF_ASC_NODE: 262.129,
|
|
102
|
+
* ARG_OF_PERICENTER: 212.5283,
|
|
103
|
+
* MEAN_ANOMALY: 147.5016,
|
|
104
|
+
* NORAD_CAT_ID: 12399,
|
|
105
|
+
* BSTAR: 0.002351,
|
|
106
|
+
* MEAN_MOTION_DOT: 0.02496602,
|
|
107
|
+
* MEAN_MOTION_DDOT: 0.0000043266,
|
|
108
|
+
* },
|
|
109
|
+
* ];
|
|
110
|
+
* const place = missionPosition(sets, Date.UTC(1981, 3, 12, 14));
|
|
111
|
+
* console.log(place?.latitude.toFixed(1), place?.longitude.toFixed(1), place?.altitudeKm.toFixed(0));
|
|
112
|
+
* ```
|
|
113
|
+
*/
|
|
114
|
+
export function missionPosition(sets, ms, mission) {
|
|
115
|
+
if (sets.length === 0)
|
|
116
|
+
return undefined;
|
|
117
|
+
if (mission && mission.noradId === sets[0].NORAD_CAT_ID) {
|
|
118
|
+
if (ms < Date.parse(mission.launch) || (mission.landing !== null && ms > Date.parse(mission.landing)))
|
|
119
|
+
return undefined;
|
|
120
|
+
}
|
|
121
|
+
const track = trackOf(sets);
|
|
122
|
+
let best = 0;
|
|
123
|
+
for (let i = 1; i < track.epochs.length; i += 1)
|
|
124
|
+
if (Math.abs(track.epochs[i] - ms) < Math.abs(track.epochs[best] - ms))
|
|
125
|
+
best = i;
|
|
126
|
+
if (Math.abs(track.epochs[best] - ms) > MAX_AGE_DAYS * DAY_MS)
|
|
127
|
+
return undefined;
|
|
128
|
+
const out = new Float64Array(6);
|
|
129
|
+
if (!track.satellites[best].exact(0, ms, out))
|
|
130
|
+
return undefined;
|
|
131
|
+
const eci = { x: out[0] * EARTH_RADIUS_KM, y: -out[2] * EARTH_RADIUS_KM, z: out[1] * EARTH_RADIUS_KM };
|
|
132
|
+
const place = eciToGeodetic(eci, gstime(new Date(ms)));
|
|
133
|
+
return {
|
|
134
|
+
latitude: (place.latitude * 180) / Math.PI,
|
|
135
|
+
longitude: ((((place.longitude * 180) / Math.PI + 540) % 360) + 360) % 360 - 180,
|
|
136
|
+
altitudeKm: place.height,
|
|
137
|
+
speedKmS: Math.hypot(out[3], out[4], out[5]),
|
|
138
|
+
epochMs: track.epochs[best],
|
|
139
|
+
};
|
|
140
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@johnmorrisdotca/chikyu-earth",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "Chikyu Earth 地球 — A line-drawn globe for the web: country outlines that turn at the Earth's own rate, centred on where you are, with an optional realistic Earth from space (three.js), the Sun, Moon and planets, satellites on their orbits, and markers for any place. A web component and an SVG string.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"earth",
|
|
@@ -37,7 +37,26 @@
|
|
|
37
37
|
"orbits",
|
|
38
38
|
"iss",
|
|
39
39
|
"starlink",
|
|
40
|
-
"celestrak"
|
|
40
|
+
"celestrak",
|
|
41
|
+
"spaceprogramx",
|
|
42
|
+
"spx",
|
|
43
|
+
"space",
|
|
44
|
+
"satellite",
|
|
45
|
+
"tle",
|
|
46
|
+
"two-line-elements",
|
|
47
|
+
"sdp4",
|
|
48
|
+
"omm",
|
|
49
|
+
"norad",
|
|
50
|
+
"satellite-tracking",
|
|
51
|
+
"space-station",
|
|
52
|
+
"space-track",
|
|
53
|
+
"geo",
|
|
54
|
+
"spherical",
|
|
55
|
+
"cartography",
|
|
56
|
+
"geojson",
|
|
57
|
+
"topojson",
|
|
58
|
+
"visualization",
|
|
59
|
+
"3d"
|
|
41
60
|
],
|
|
42
61
|
"homepage": "https://johnmorrisdotca.github.io/chikyu-earth/",
|
|
43
62
|
"repository": {
|
|
@@ -129,6 +148,9 @@
|
|
|
129
148
|
"test:demo": "pnpm site && node scripts/docs-site.mjs build && playwright test --project=chromium-desk --project=chromium-phone --project=webkit-desk --project=webkit-phone --project=chromium-gl",
|
|
130
149
|
"screenshots": "pnpm site && node scripts/screenshots.ts",
|
|
131
150
|
"textures": "python3 scripts/make-textures.py",
|
|
151
|
+
"tiles": "python3 -I scripts/make-earth-tiles.py build",
|
|
152
|
+
"test:tiles": "python3 -I scripts/make-earth-tiles.py selftest",
|
|
153
|
+
"test:demo:one": "pnpm site && node scripts/docs-site.mjs build && playwright test",
|
|
132
154
|
"test:soak": "pnpm site && playwright test --project=soak",
|
|
133
155
|
"docs:site": "pnpm build && node scripts/docs-site.mjs build",
|
|
134
156
|
"docs:check": "pnpm build && node scripts/docs-site.mjs check",
|
|
@@ -172,7 +194,7 @@
|
|
|
172
194
|
"@angular/core": "^22.2.4",
|
|
173
195
|
"@angular/platform-browser": "^22.2.4",
|
|
174
196
|
"@eslint/js": "^9.0.0",
|
|
175
|
-
"@johnmorrisdotca/kazoku-ui": "^0.
|
|
197
|
+
"@johnmorrisdotca/kazoku-ui": "^0.21.0",
|
|
176
198
|
"@johnmorrisdotca/wakusei-planets": "^0.5.0",
|
|
177
199
|
"@playwright/test": "1.64.0",
|
|
178
200
|
"@sveltejs/vite-plugin-svelte": "^7.3.1",
|