@johnmorrisdotca/wakusei-planets 0.17.1 → 0.19.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 +34 -0
- package/NOTICE.md +4 -2
- package/README.md +6 -5
- package/dist/data/orbits.d.ts +5 -1
- package/dist/data/orbits.js +26 -26
- package/dist/data/vsop.d.ts +3 -0
- package/dist/data/vsop.js +10 -0
- package/dist/element.d.ts +4 -3
- package/dist/element.js +21 -9
- package/dist/ephemeris.d.ts +2 -2
- package/dist/ephemeris.js +31 -5
- package/dist/facts.js +10 -10
- package/dist/live.js +1 -1
- package/dist/scene/body.js +2 -1
- package/dist/scene/painter.js +3 -0
- package/dist/scene/rings.js +6 -4
- package/dist/time.d.ts +108 -0
- package/dist/time.js +180 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +28 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [Unreleased]
|
|
4
|
+
|
|
5
|
+
## 0.19.0 - 2026-11-07
|
|
6
|
+
|
|
7
|
+
The planets and the moons are where they are, and every body is checked against JPL Horizons (MODULES-528, 525, 522). 0.18.0 was never published: what it holds, the view gestures, is below and is in this release.
|
|
8
|
+
|
|
9
|
+
- **Mercury to Neptune are the VSOP87B series, in terrestrial time** (MODULES-528). Jupiter was 309 arc-seconds from Horizons and Saturn 545; they are 1.9 and 3.7 now, and every planet from Mercury to Neptune is within 4 arc-seconds on five dates from 1800 to 2050 (Mercury was 41, Mars 58, Uranus 79). The series (Bretagnon and Francou, IMCCE) is cut from 35,080 terms to the 991 that matter (`scripts/make-vsop-data.py`, `src/data/vsop.ts`), and the date is converted from UTC to terrestrial time first. The Earth is the Earth's centre now, not the Earth–Moon barycentre. Pluto, which VSOP87 does not have, stays on JPL's elements (39 arc-seconds). The cost is size: the core entry point goes from 21.6 to 35.1 kB gzipped.
|
|
10
|
+
- **`@johnmorrisdotca/wakusei-planets/time`**: Julian dates (`toJulianDate`, `fromJulianDate`, `modifiedJulianDate`), the Julian day and the milliseconds in it with no digit lost (`toJulianDay`, `toMillisecondsInJulianDay`, `fromJulianDayAndMilliseconds`), and the step from UTC to terrestrial time (`ttMinusUtc`, `toTerrestrialTime`): exact from 1972 from the leap seconds, delta T before (MODULES-538). 0.8 kB gzipped. Fed UTC, the same theory is off by up to 17.9 arc-seconds for Mercury, which is why the step is inside.
|
|
11
|
+
- **The planets' limits in `test/accuracy.test.ts` are tighter** (2.2 arc-seconds for Earth and Mars, 5.8 for Uranus), and `test/time.test.ts` checks the Julian dates against Meeus's examples and delta T against astronomy-engine from 1800 to 2005.
|
|
12
|
+
|
|
13
|
+
- **The moons of Saturn, Uranus, Neptune and Pluto were in the wrong place.** Mimas, Tethys, Dione, Rhea, Titan, Iapetus, Miranda, Ariel, Umbriel, Titania, Oberon, Triton and Nix were tens of degrees off (Titan 157, Dione 151) at every date, including the epoch the elements are for, and Phobos, Enceladus, Proteus and Hydra up to 21. The angles in JPL's Planetary Satellite Mean Elements do not reproduce Horizons' positions for these moons: for Dione the table gives a mean longitude of 328 degrees where Horizons' own elements give 177. Their orbits are fitted to Horizons' positions and velocities for 1950 to 2050 now (`scripts/make-moon-data.py`), each in its mean orbit plane. 21 of the 24 moons are within a degree of Horizons on every date from 1900 to 2100, and the worst is Nereid, an orbit with an eccentricity of 0.75, at 6 degrees. The Uranian moons also go round Uranus the other way from what the pole in the facts says, and Triton's orbit was reversed twice (its inclination and its rate); both are fixed by describing each orbit as going round anticlockwise about its own pole.
|
|
14
|
+
- **Phobos has an acceleration and Mimas and Tethys a swing.** `OrbitElements` has two optional terms for the mean longitude: `acc`, for Phobos, whose orbit is shrinking, and `wave`, for the Mimas–Tethys resonance, a swing of 43 degrees over 70 years that the fit found by itself.
|
|
15
|
+
- **`test/accuracy.test.ts` holds every planet, the Moon and every moon to a limit against Horizons** (`test/data/horizons.json`, from `scripts/fetch-horizons-reference.py`), on five dates from 1800 to 2050 for the planets and seven from 1900 to 2100 for the moons. It fails on the old orbit table. The numbers are in a new [Accuracy](docs/guides/accuracy.md) guide, in English and Japanese. When it was written the planets were within 1 arc-minute except Jupiter (5) and Saturn (9); the VSOP87 change above took them all within 4 arc-seconds.
|
|
16
|
+
- **A synchronous moon's spin takes its direction from the facts and its speed from the orbit** (`turnRate`), because the sign of an orbit's rate no longer says which way a moon goes round. The rotation test checks the rate.
|
|
17
|
+
- **The docs said moon positions were accurate to a few degrees.** That was true for Jupiter's moons and the Moon, not for the rest; the README, the guides and NOTICE.md say what was measured.
|
|
18
|
+
- **The npm keywords name every planet and what the package does** (MODULES-532): planet, mercury, venus, earth, uranus, neptune, pluto, dwarf-planets, heliocentric, orbit, orbits, rotation, space, celestial, nasa, jpl, 3d, javascript, browser, added to the 17 it had. A test keeps them lower case and free of astrology and other packages' names.
|
|
19
|
+
|
|
20
|
+
## 0.18.0 - 2026-11-07 (never published; in 0.19.0)
|
|
21
|
+
|
|
22
|
+
The view gestures are the family's, on kazoku-ui 0.19 (MODULES-527).
|
|
23
|
+
|
|
24
|
+
- **kazoku-ui 0.15 to 0.19.** The wheel over a view moves it, and Shift with the wheel moves it sideways; Ctrl, Command or Alt with the wheel zooms about the pointer; the middle button or Space with a drag moves it; Shift with a drag rolls it. Before, a plain wheel zoomed, Alt did nothing and Shift turned the body.
|
|
25
|
+
- **A pan moves the picture by as many pixels as the controls say.** `setView` read `panX` and `panY` as half-widths of the picture, but the controls send CSS pixels, so any pan jumped the picture to its limit. They are pixels now. A page that calls `setView` with fractions of the width must send pixels.
|
|
26
|
+
- **`setView` takes `roll`**: the picture, with its rings, moons and orbits, turns clockwise about the line of sight, in both the line and the shaded looks.
|
|
27
|
+
- **The portrait builder's wheel is the family's too** (Manual layout): the wheel moves the view, Shift moves it sideways, Ctrl, Command or Alt zoom. Shift with the wheel no longer sizes a body; `[` and `]` do.
|
|
28
|
+
- `e2e/gestures.demo.ts` sends each gesture with real events and compares the pictures with what the controls report. It fails on the old element (a pan lands 80 to 260 pixels from where it should, a roll changes nothing).
|
|
29
|
+
|
|
30
|
+
## 0.17.2 - 2026-11-07
|
|
31
|
+
|
|
32
|
+
Rings are drawn all the way round.
|
|
33
|
+
|
|
34
|
+
- Every ring is drawn all the way round again. Both halves of a ring covered the side toward the camera, so the far half, which passes behind the planet, was never drawn on Saturn, Uranus, Jupiter and Neptune.
|
|
35
|
+
- Jupiter keeps a thin main ring. The halo and the gossamer stay a hint, and Neptune's sheet stays fainter than the thin rings (MODULES-509).
|
|
36
|
+
|
|
3
37
|
## 0.17.1 - 2026-11-06
|
|
4
38
|
|
|
5
39
|
Saturn, Uranus and Neptune show their turn.
|
package/NOTICE.md
CHANGED
|
@@ -7,8 +7,10 @@ Wakusei Planets is original work by John Morris, under the MIT licence in `LICEN
|
|
|
7
7
|
No picture is used by the line and shaded looks: they are drawn from numbers.
|
|
8
8
|
|
|
9
9
|
- **Sizes, flattening, axial tilt, poles and rotation**: the IAU Working Group on Cartographic Coordinates and Rotational Elements, B. A. Archinal et al. (2018), "Report of the IAU Working Group on Cartographic Coordinates and Rotational Elements: 2015", Celestial Mechanics and Dynamical Astronomy 130:22, and NASA's planetary and satellite fact sheets (https://nssdc.gsfc.nasa.gov/planetary/factsheet/, read 2026-11-02). Facts are not copyrightable; the values were typed from these sources.
|
|
10
|
-
- **
|
|
11
|
-
- **
|
|
10
|
+
- **Mercury to Neptune**: the VSOP87B series, P. Bretagnon and G. Francou (1988), "Planetary theories in rectangular and spherical variables: VSOP87 solutions", Astronomy and Astrophysics 202, 309, from the files of IMCCE, Observatoire de Paris (https://ftp.imcce.fr/pub/ephem/planets/vsop87/, read 2026-11-07), cut to 991 of 35,080 terms into `src/data/vsop.ts` by `scripts/make-vsop-data.py`. The files state their precision and ask to be cited; they carry no licence text, and the numbers are a published scientific table.
|
|
11
|
+
- **Time scales**: the leap seconds are IERS Bulletin C; delta T before 1972 is the polynomials of F. Espenak and J. Meeus (NASA, https://eclipse.gsfc.nasa.gov/SEhelp/deltatpoly2004.html), in `src/time.ts`.
|
|
12
|
+
- **Pluto's position**: JPL Solar System Dynamics, "Keplerian Elements for Approximate Positions of the Major Planets", Table 1, 1800 AD to 2050 AD (https://ssd.jpl.nasa.gov/planets/approx_pos.html, read 2026-11-02; Pluto from the same page's earlier edition). NASA/JPL content is not subject to copyright in the United States; credit: NASA/JPL-Caltech.
|
|
13
|
+
- **Moons' orbits**: fitted to the positions and velocities of JPL Horizons (https://ssd.jpl.nasa.gov/api/horizons.api, read 2026-11-07) for 1950 to 2050, by `scripts/make-moon-data.py`, which writes `src/data/orbits.ts`; the Moon's row, and the pole of each moon's reference plane, are from JPL Solar System Dynamics, "Planetary Satellite Mean Elements" (https://ssd.jpl.nasa.gov/sats/elem/, read 2026-11-02). The positions the accuracy test compares with are in `test/data/horizons.json`, fetched by `scripts/fetch-horizons-reference.py`. Credit: NASA/JPL-Caltech; the satellite ephemerides behind Horizons are R. A. Jacobson and colleagues' (the page names each).
|
|
12
14
|
- **The Moon's position**: the largest terms of the series in Jean Meeus, "Astronomical Algorithms" (2nd edition), chapter 47, written out here as numbers; the mean arguments are the standard ones.
|
|
13
15
|
- **Mass and escape speed** (`JOURNEY_STOPS`): JPL "Planetary Satellite Physical Parameters" (https://ssd.jpl.nasa.gov/sats/phys_par/, read 2026-11-04) for the GM of the Earth, Mars through Pluto and the moons on that page; NASA's Sun, Mercury and Venus fact sheets (https://nssdc.gsfc.nasa.gov/planetary/factsheet/, read 2026-11-04) for those three GM values and the Sun's escape speed; JPL "Planetary Physical Parameters" (https://ssd.jpl.nasa.gov/planets/phys_par.html, read 2026-11-04) for the planets' escape speeds and for the masses of Ceres, Eris, Makemake and Haumea, turned into GM with the CODATA 2018 G that page names. A moon's escape speed is computed from its GM and the radius already in this package. Nereid, Orcus, Quaoar, Gonggong, Sedna, Vanth, Hiʻiaka, Namaka and Dysnomia are left blank: those pages do not print a mass.
|
|
14
16
|
|
package/README.md
CHANGED
|
@@ -13,9 +13,9 @@ A clean line drawing, a shaded realistic drawing, or a painted surface map, with
|
|
|
13
13
|
|
|
14
14
|
<p align="center"><a href="https://johnmorrisdotca.github.io/wakusei-planets/"><strong>Open the demo →</strong></a> · <a href="https://johnmorrisdotca.github.io/wakusei-planets/embed.html">Embed page</a> · <a href="https://johnmorrisdotca.github.io/wakusei-planets/docs/">Docs</a></p>
|
|
15
15
|
|
|
16
|
-
<p align="center"><img alt="Jupiter and Saturn drawn in the realistic look, and Saturn as a line drawing" src="https://raw.githubusercontent.com/johnmorrisdotca/wakusei-planets/v0.
|
|
16
|
+
<p align="center"><img alt="Jupiter and Saturn drawn in the realistic look, and Saturn as a line drawing" src="https://raw.githubusercontent.com/johnmorrisdotca/wakusei-planets/v0.19.0/docs/images/hero-desk.png" width="640"></p>
|
|
17
17
|
|
|
18
|
-
<p align="center"><img alt="Every body at one scale, the Earth among them: each small body has a magnified picture joined by a line, and the Sun shows only its edge" src="https://raw.githubusercontent.com/johnmorrisdotca/wakusei-planets/v0.
|
|
18
|
+
<p align="center"><img alt="Every body at one scale, the Earth among them: each small body has a magnified picture joined by a line, and the Sun shows only its edge" src="https://raw.githubusercontent.com/johnmorrisdotca/wakusei-planets/v0.19.0/docs/images/lineup-desk.png" width="640"></p>
|
|
19
19
|
|
|
20
20
|
## One minute
|
|
21
21
|
|
|
@@ -176,7 +176,7 @@ The pure side has no DOM: `BODIES`, `apparent(id, time)`, `system(planet, time)`
|
|
|
176
176
|
|
|
177
177
|
## The data
|
|
178
178
|
|
|
179
|
-
Sizes, flattening, poles and rotation are the IAU's and NASA's;
|
|
179
|
+
Sizes, flattening, poles and rotation are the IAU's and NASA's; Mercury to Neptune are VSOP87B, cut down, and Pluto is JPL's approximate elements; the Moon's are Meeus's largest terms; the other moons are fitted to JPL Horizons' positions, and every body is tested against Horizons ([accuracy](docs/guides/accuracy.md)). Nothing is fetched at run time by the line and shaded looks, which use no pictures. See [NOTICE.md](NOTICE.md).
|
|
180
180
|
|
|
181
181
|
## Examples
|
|
182
182
|
|
|
@@ -273,7 +273,7 @@ A body that turns by itself and a moving sky, in HTML:
|
|
|
273
273
|
|
|
274
274
|
## The portrait builder
|
|
275
275
|
|
|
276
|
-
<p align="center"><img alt="The Sun and the planets in an arc, painted, with their names, in the portrait builder" src="https://raw.githubusercontent.com/johnmorrisdotca/wakusei-planets/v0.
|
|
276
|
+
<p align="center"><img alt="The Sun and the planets in an arc, painted, with their names, in the portrait builder" src="https://raw.githubusercontent.com/johnmorrisdotca/wakusei-planets/v0.19.0/docs/images/portrait-family.png" width="640"></p>
|
|
277
277
|
|
|
278
278
|
[The portrait builder](https://johnmorrisdotca.github.io/wakusei-planets/portrait.html) puts any bodies in one picture: drag them, size them, turn them, order them front to back, arrange them in a row, an arc, a grid or at true orbit distance (true or readable sizes, a planet's moons round it in orbit order), light them from one direction, and take the code, a PNG or an SVG. The scene is kept in the address, and every body is drawn in one WebGL scene, so the page holds one WebGL context. [The portrait builder](docs/guides/portrait-builder.md) is its guide.
|
|
279
279
|
|
|
@@ -319,6 +319,7 @@ Each guide has a Japanese twin in [docs/guides/ja](docs/guides/ja/getting-starte
|
|
|
319
319
|
| [The portrait builder](docs/guides/portrait-builder.md) | Many bodies in one picture |
|
|
320
320
|
| [Looks and bodies](docs/guides/looks-and-bodies.md) | The looks and each body's entry point |
|
|
321
321
|
| [Moons and time](docs/guides/moons-and-time.md) | The sky on a date, time that runs fast |
|
|
322
|
+
| [Accuracy](docs/guides/accuracy.md) | How far each body is from JPL Horizons |
|
|
322
323
|
| [In your own three.js scene](docs/guides/in-your-own-scene.md) | `painter.make` |
|
|
323
324
|
| [TypeScript and Node](docs/guides/typescript-and-node.md) | Types and the pure side |
|
|
324
325
|
| [How it works](docs/guides/how-it-works.md) | Where the numbers come from |
|
|
@@ -334,7 +335,7 @@ import { BODIES } from "@johnmorrisdotca/wakusei-planets";
|
|
|
334
335
|
BODIES.pluto.kind; // "dwarf-planet"
|
|
335
336
|
```
|
|
336
337
|
|
|
337
|
-
- A fact with no source is left out, never guessed. Moon positions are JPL
|
|
338
|
+
- A fact with no source is left out, never guessed. Moon positions are fitted to JPL Horizons and are within a degree or two on the orbit for almost every moon, about the size of the moon on screen; [accuracy](docs/guides/accuracy.md) has each body's number.
|
|
338
339
|
- `realistic` and `painted` are the photo maps (`painted` is the same maps, so an older page still works). `illustrated` is the shaded drawing from the numbers, and it is not a default. Venus, Saturn, Neptune and the Sun use Solar System Scope's maps (CC BY 4.0). Mercury uses the natural grey 8K map (Shady Tex and Solar System Scope, CC BY 4.0). Mars stays on the Viking mosaic, graded toward a butterscotch ochre, with the frost in Hellas toned to the basin and the polar ice left. Jupiter and Uranus use Nestaeric's maps (CC BY 4.0), and Saturn's poles use Nestaeric's caps (CC BY 4.0). The Earth and the Moon stay on their NASA maps until those have been compared. The rest are the public-domain maps in `NOTICE.md`.
|
|
339
340
|
- A shaded look needs WebGL. Without it the line drawing is drawn.
|
|
340
341
|
- Jupiter, Saturn, Uranus and Neptune have their rings drawn.
|
package/dist/data/orbits.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface OrbitElements {
|
|
2
2
|
/** The planet it goes round. */
|
|
3
3
|
parent: string;
|
|
4
|
-
/** The reference plane: the ecliptic, the Earth's equator of J2000, the planet's equator, or the
|
|
4
|
+
/** The reference plane: the ecliptic, the Earth's equator of J2000, the planet's equator, or the plane whose pole is `pole` (right ascension, declination, degrees). */
|
|
5
5
|
frame: "ecliptic" | "j2000" | "equatorial" | "laplace";
|
|
6
6
|
pole?: [number, number];
|
|
7
7
|
/** The epoch of the elements, in milliseconds since 1970. */
|
|
@@ -16,5 +16,9 @@ export interface OrbitElements {
|
|
|
16
16
|
sid: number;
|
|
17
17
|
dw: number;
|
|
18
18
|
dn: number;
|
|
19
|
+
/** The mean longitude's acceleration, degrees a day squared (Phobos, whose orbit is shrinking). */
|
|
20
|
+
acc?: number;
|
|
21
|
+
/** A swing in the mean longitude: its amplitude in degrees, its period in days and its phase in degrees (Mimas and Tethys, in resonance). */
|
|
22
|
+
wave?: [number, number, number];
|
|
19
23
|
}
|
|
20
24
|
export declare const ORBITS: Record<string, OrbitElements>;
|
package/dist/data/orbits.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
// Made by scripts/make-moon-data.py from JPL's Planetary Satellite Mean Elements (https://ssd.jpl.nasa.gov/sats/elem/); do not edit by hand.
|
|
2
|
-
// The moons of the dwarf planets are not
|
|
1
|
+
// Made by scripts/make-moon-data.py: the Moon from JPL's Planetary Satellite Mean Elements (https://ssd.jpl.nasa.gov/sats/elem/), every other moon fitted to JPL Horizons' positions for 1950 to 2050; do not edit by hand.
|
|
2
|
+
// The moons of the dwarf planets other than Pluto's are not in either: their orbits are in dwarf.ts, from the papers it cites, and are added at the end.
|
|
3
3
|
import { DWARF_MOON_ORBITS } from "./dwarf.js";
|
|
4
4
|
export const ORBITS = {
|
|
5
5
|
moon: { parent: "earth", frame: "ecliptic", epoch: 946728000000, a: 384400, e: 0.0554, w: 318.15, m: 135.27, i: 5.16, node: 125.08, sid: 13.1763585, dw: 0.16435, dn: -0.05299 },
|
|
6
|
-
phobos: { parent: "mars", frame: "laplace", pole: [317.
|
|
7
|
-
deimos: { parent: "mars", frame: "laplace", pole: [316.
|
|
8
|
-
io: { parent: "jupiter", frame: "laplace", pole: [268.
|
|
9
|
-
europa: { parent: "jupiter", frame: "laplace", pole: [268.
|
|
10
|
-
ganymede: { parent: "jupiter", frame: "laplace", pole: [268.
|
|
11
|
-
callisto: { parent: "jupiter", frame: "laplace", pole: [268.
|
|
12
|
-
mimas: { parent: "saturn", frame: "laplace", pole: [40.
|
|
13
|
-
enceladus: { parent: "saturn", frame: "laplace", pole: [40.
|
|
14
|
-
tethys: { parent: "saturn", frame: "laplace", pole: [40.
|
|
15
|
-
dione: { parent: "saturn", frame: "laplace", pole: [40.
|
|
16
|
-
rhea: { parent: "saturn", frame: "laplace", pole: [40.
|
|
17
|
-
titan: { parent: "saturn", frame: "laplace", pole: [36.
|
|
18
|
-
iapetus: { parent: "saturn", frame: "laplace", pole: [288.
|
|
19
|
-
miranda: { parent: "uranus", frame: "
|
|
20
|
-
ariel: { parent: "uranus", frame: "
|
|
21
|
-
umbriel: { parent: "uranus", frame: "
|
|
22
|
-
titania: { parent: "uranus", frame: "
|
|
23
|
-
oberon: { parent: "uranus", frame: "
|
|
24
|
-
triton: { parent: "neptune", frame: "
|
|
25
|
-
nereid: { parent: "neptune", frame: "
|
|
26
|
-
proteus: { parent: "neptune", frame: "
|
|
27
|
-
charon: { parent: "pluto", frame: "
|
|
28
|
-
nix: { parent: "pluto", frame: "
|
|
29
|
-
hydra: { parent: "pluto", frame: "
|
|
6
|
+
phobos: { parent: "mars", frame: "laplace", pole: [317.7000, 52.9000], epoch: 946728000000, a: 9379, e: 0.015119, w: 216.4466, m: 190.3756, i: 1.0753, node: 169.1550, sid: 1128.8447723, dw: 0.870970, dn: -0.435786, acc: 1.7626e-08 },
|
|
7
|
+
deimos: { parent: "mars", frame: "laplace", pole: [316.6000, 53.5000], epoch: 946728000000, a: 23459, e: 0.000272, w: 194.7636, m: 10.4792, i: 1.7885, node: 54.3986, sid: 285.1618839, dw: 0.035947, dn: -0.018082 },
|
|
8
|
+
io: { parent: "jupiter", frame: "laplace", pole: [268.1000, 64.5000], epoch: 946728000000, a: 422050, e: 0.004180, w: 148.9328, m: 331.0148, i: 0.0383, node: 260.0942, sid: 203.4889612, dw: -0.606688, dn: -0.132821 },
|
|
9
|
+
europa: { parent: "jupiter", frame: "laplace", pole: [268.1000, 64.5000], epoch: 946728000000, a: 671278, e: 0.009364, w: 45.3280, m: 345.5110, i: 0.4630, node: 183.6941, sid: 101.3747258, dw: -0.706863, dn: -0.032648 },
|
|
10
|
+
ganymede: { parent: "jupiter", frame: "laplace", pole: [268.2000, 64.6000], epoch: 946728000000, a: 1070704, e: 0.001550, w: 204.1684, m: 328.1491, i: 0.1902, node: 49.3711, sid: 50.3176080, dw: -0.085108, dn: -0.006949 },
|
|
11
|
+
callisto: { parent: "jupiter", frame: "laplace", pole: [268.7000, 64.8000], epoch: 946728000000, a: 1883241, e: 0.007373, w: 50.5011, m: 86.8148, i: 0.2344, node: 303.0858, sid: 21.5710731, dw: 0.004038, dn: -0.002183 },
|
|
12
|
+
mimas: { parent: "saturn", frame: "laplace", pole: [40.6000, 83.5000], epoch: 946728000000, a: 186019, e: 0.019677, w: 332.5555, m: 15.1011, i: 1.5771, node: 173.0221, sid: 381.9944568, dw: 2.000419, dn: -0.999500, wave: [43.418, 25631.1, 140.48] },
|
|
13
|
+
enceladus: { parent: "saturn", frame: "laplace", pole: [40.6000, 83.5000], epoch: 946728000000, a: 238411, e: 0.004863, w: 347.7976, m: 10.8851, i: 0.0384, node: 183.7437, sid: 262.7319015, dw: 0.337808, dn: 0.000158 },
|
|
14
|
+
tethys: { parent: "saturn", frame: "laplace", pole: [40.6000, 83.5000], epoch: 946728000000, a: 294976, e: 0.001031, w: 130.7569, m: 157.9367, i: 1.0923, node: 259.8172, sid: 190.6979160, dw: 1.005657, dn: -0.197850, wave: [2.080, 25631.1, -39.13] },
|
|
15
|
+
dione: { parent: "saturn", frame: "laplace", pole: [40.6000, 83.5000], epoch: 946728000000, a: 377651, e: 0.002244, w: 23.9210, m: 322.2940, i: 0.0458, node: 190.7749, sid: 131.5349324, dw: 0.083921, dn: 0.000334 },
|
|
16
|
+
rhea: { parent: "saturn", frame: "laplace", pole: [40.6000, 83.5000], epoch: 946728000000, a: 527235, e: 0.001014, w: 214.0290, m: 207.6217, i: 0.3323, node: 350.5663, sid: 79.6900471, dw: 0.029141, dn: -0.027653 },
|
|
17
|
+
titan: { parent: "saturn", frame: "laplace", pole: [36.4000, 84.0000], epoch: 946728000000, a: 1222236, e: 0.028739, w: 184.8032, m: 163.5256, i: 0.3410, node: 23.4097, sid: 22.5769766, dw: 0.002735, dn: -0.001322 },
|
|
18
|
+
iapetus: { parent: "saturn", frame: "laplace", pole: [288.7000, 78.9000], epoch: 946728000000, a: 3561731, e: 0.028384, w: 276.6311, m: 208.8251, i: 7.5692, node: 74.7761, sid: 4.5379486, dw: 0.000592, dn: -0.000316 },
|
|
19
|
+
miranda: { parent: "uranus", frame: "laplace", pole: [77.3110, 15.1750], epoch: 946728000000, a: 129874, e: 0.001371, w: 155.0214, m: 72.9701, i: 4.4275, node: 100.8616, sid: 254.6906648, dw: 0.110237, dn: -0.055413, wave: [1.375, 4492.9, -41.43] },
|
|
20
|
+
ariel: { parent: "uranus", frame: "laplace", pole: [77.3110, 15.1750], epoch: 946728000000, a: 190949, e: 0.001424, w: 203.0455, m: 122.6641, i: 0.0247, node: 237.4780, sid: 142.8356548, dw: 0.053280, dn: -0.035921 },
|
|
21
|
+
umbriel: { parent: "uranus", frame: "laplace", pole: [77.3110, 15.1750], epoch: 946728000000, a: 266003, e: 0.003883, w: 158.9377, m: 260.8156, i: 0.0796, node: 191.5526, sid: 86.8688751, dw: 0.016694, dn: -0.008759 },
|
|
22
|
+
titania: { parent: "uranus", frame: "laplace", pole: [77.3110, 15.1750], epoch: 946728000000, a: 436315, e: 0.001853, w: 222.1574, m: 53.4168, i: 0.0999, node: 6.0188, sid: 41.3514155, dw: 0.002907, dn: 0.000579 },
|
|
23
|
+
oberon: { parent: "uranus", frame: "laplace", pole: [77.3110, 15.1750], epoch: 946728000000, a: 583539, e: 0.001418, w: 241.3288, m: 73.2386, i: 0.1731, node: 38.0128, sid: 26.7394826, dw: -1.069893, dn: -0.001489 },
|
|
24
|
+
triton: { parent: "neptune", frame: "laplace", pole: [119.3600, -43.4600], epoch: 946728000000, a: 354841, e: 0.000247, w: 305.9384, m: 292.6939, i: 23.1671, node: 182.1368, sid: 61.2572613, dw: -2.038014, dn: -0.001435 },
|
|
25
|
+
nereid: { parent: "neptune", frame: "laplace", pole: [263.0036, 62.5201], epoch: 946728000000, a: 5515113, e: 0.750814, w: 234.3873, m: 216.7867, i: 0.1195, node: 27.9962, sid: 0.9996312, dw: -0.165444, dn: 0.165461, wave: [0.575, 25887.4, -84.95] },
|
|
26
|
+
proteus: { parent: "neptune", frame: "laplace", pole: [299.3600, 43.4600], epoch: 946728000000, a: 117674, e: 0.000518, w: 17.1835, m: 257.1008, i: 1.0395, node: 0.0397, sid: 320.7656392, dw: 0.075729, dn: 0.001312 },
|
|
27
|
+
charon: { parent: "pluto", frame: "laplace", pole: [132.9930, -6.1630], epoch: 946728000000, a: 19594, e: 0.000170, w: 145.3286, m: 148.8263, i: 0.0831, node: 10.0058, sid: 56.3625311, dw: -0.000103, dn: 0.000106 },
|
|
28
|
+
nix: { parent: "pluto", frame: "laplace", pole: [132.9930, -6.1630], epoch: 946728000000, a: 49331, e: 0.015293, w: 10.4893, m: 71.8449, i: 0.0845, node: 9.7857, sid: 14.4841692, dw: -0.611124, dn: 0.000103 },
|
|
29
|
+
hydra: { parent: "pluto", frame: "laplace", pole: [132.9930, -6.1630], epoch: 946728000000, a: 65177, e: 0.008506, w: 342.3759, m: 135.3153, i: 0.2865, node: 115.2941, sid: 9.4235838, dw: 3.865115, dn: -0.070628 },
|
|
30
30
|
...DWARF_MOON_ORBITS,
|
|
31
31
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const VSOP87 = {
|
|
2
|
+
mercury: [[[[4.4025071014, 0.0, 0.0], [.4098941498, 1.48302, 26087.903142], [.050462942, 4.477855, 52175.806283], [.0085534684, 1.165203, 78263.709425], [.0016559036, 4.119692, 104351.612566], [.000345619, .779308, 130439.515708], [7.58348e-05, 3.713484, 156527.418849], [3.55975e-05, 1.512027, 1109.378552], [1.72601e-05, .358323, 182615.321991], [1.80346e-05, 4.103332, 5661.332049], [1.36468e-05, 4.599183, 27197.281694], [1.58992e-05, 2.995104, 25028.521211], [1.01733e-05, .880314, 31749.235191], [7.1418e-06, 1.541449, 24978.524589], [6.4376e-06, 5.302662, 21535.949645], [4.042e-06, 3.28229, 208703.225133], [3.5244e-06, 5.241564, 20426.571092], [3.4331e-06, 5.765317, 955.599742], [3.3922e-06, 5.863278, 25558.212176], [4.5114e-06, 6.049893, 51116.424353], [3.2533e-06, 1.336745, 53285.184835], [3.4521e-06, 2.79212, 15874.617595]], [[26087.9031368553, 0.0, 0.0], [.0113119981, 6.218742, 26087.903142], [.002922423, 3.044494, 52175.806283], [.0007577508, 6.085688, 78263.709425], [.0001967653, 2.809651, 104351.612566], [5.11988e-05, 5.794324, 130439.515708], [1.33632e-05, 2.479099, 156527.418849]], [[.0001639513, 4.677596, 26087.903142], [8.12387e-05, 1.403056, 52175.806283]]], [[[.1173752896, 1.983575, 26087.903142], [.02388077, 5.03739, 52175.806283], [.0122283953, 3.141593, 0.0], [.0054325181, 1.796444, 78263.709425], [.0012977877, 4.832325, 104351.612566], [.0003186693, 1.580885, 130439.515708], [7.9633e-05, 4.609721, 156527.418849], [2.01419e-05, 1.353242, 182615.321991], [5.1395e-06, 4.378354, 208703.225133]], [[.0027464607, 3.950085, 26087.903142], [.0009973771, 3.141593, 0.0], [.0001877205, .051413, 78263.709425], [.0002397073, 2.532721, 52175.806283], [8.09751e-05, 3.209464, 104351.612566], [2.89073e-05, .009436, 130439.515708]]], [[[.3952827165, 0.0, 0.0], [.0783413182, 6.192337, 26087.903142], [.0079552556, 2.959897, 52175.806283], [.0012128176, 6.010642, 78263.709425], [.0002192197, 2.778201, 104351.612566], [4.35406e-05, 5.828945, 130439.515708], [9.1823e-06, 2.596506, 156527.418849]], [[.0021734774, 4.656172, 26087.903142], [.0004414183, 1.423855, 52175.806283], [.0001009448, 4.474663, 78263.709425], [2.43281e-05, 1.242261, 104351.612566], [1.62437e-05, 0.0, 0.0]]]],
|
|
3
|
+
venus: [[[[3.1761466677, 0.0, 0.0], [.0135396842, 5.593133, 10213.285546], [.0008989164, 5.3065, 20426.571092], [5.47719e-05, 4.416307, 7860.419392], [3.45574e-05, 2.699644, 11790.629089], [2.37206e-05, 2.993775, 3930.209696], [1.31717e-05, 5.186682, 26.29832], [1.66415e-05, 4.250186, 1577.343542], [1.43839e-05, 4.157451, 9683.594581], [1.20052e-05, 6.153571, 30639.856639], [7.6138e-06, 1.950147, 529.690965], [7.0768e-06, 1.064667, 775.522611], [5.8484e-06, 3.998399, 191.448266], [7.6931e-06, .816296, 9437.762935], [4.9992e-06, 4.123402, 15720.838785], [3.2622e-06, 4.590565, 10404.733812], [4.295e-06, 3.586429, 19367.189162], [3.2697e-06, 5.677366, 5507.553239]], [[10213.2855462164, 0.0, 0.0], [.0009561781, 2.464065, 10213.285546], [7.7872e-05, .624785, 20426.571092]]], [[[.0592363847, .267028, 10213.285546], [.0004010798, 1.147372, 20426.571092], [.0003281492, 3.141593, 0.0], [1.01139e-05, 1.089461, 30639.856639]], [[.0028782124, 1.88965, 10213.285546], [3.49958e-05, 3.711176, 20426.571092], [1.25784e-05, 0.0, 0.0]], [[.0001265774, 3.347965, 10213.285546]]], [[[.7233482089, 0.0, 0.0], [.0048982418, 4.021518, 10213.285546], [1.65806e-05, 4.902067, 20426.571092], [1.6321e-05, 2.845488, 7860.419392], [1.37804e-05, 1.128466, 11790.629089], [4.9839e-06, 2.586822, 9683.594581], [3.7396e-06, 1.423148, 3930.209696]], [[.0003455104, .891987, 10213.285546]]]],
|
|
4
|
+
earth: [[[[1.7534704567, 0.0, 0.0], [.0334165645, 4.669257, 6283.07585], [.0003489428, 4.626102, 12566.1517], [3.41757e-05, 2.828866, 3.523118], [3.49706e-05, 2.744118, 5753.384885], [3.1359e-05, 3.62767, 77713.771468], [2.67622e-05, 4.418083, 7860.419392], [2.34269e-05, 6.135162, 3930.209696], [1.27317e-05, 2.037097, 529.690965], [1.32429e-05, .742463, 11506.76977], [9.0185e-06, 2.045054, 26.29832], [1.19917e-05, 1.109629, 1577.343542], [8.5722e-06, 3.508492, 398.149003], [7.7979e-06, 1.178827, 5223.69392], [9.9025e-06, 5.232681, 5884.926847], [7.5314e-06, 2.533391, 5507.553239], [5.0527e-06, 4.582926, 18849.22755], [4.9239e-06, 4.205057, 775.522611], [3.5667e-06, 2.919541, .06731], [3.1709e-06, 5.849019, 11790.629089]], [[6283.0758499914, 0.0, 0.0], [.0020605886, 2.678235, 6283.07585], [4.30342e-05, 2.635122, 12566.1517]], [[8.72186e-05, 1.072536, 6283.07585]]], [[], [[.0022777772, 3.413766, 6283.07585], [3.80568e-05, 3.370634, 12566.1517], [3.61959e-05, 0.0, 0.0]], [[9.72142e-05, 5.151928, 6283.07585]]], [[[1.0001398878, 0.0, 0.0], [.0167069963, 3.098464, 6283.07585], [.0001395602, 3.055246, 12566.1517], [3.08372e-05, 5.198467, 77713.771468], [1.62846e-05, 1.173876, 5753.384885], [1.57557e-05, 2.846852, 7860.419392], [9.248e-06, 5.452922, 11506.76977], [5.4244e-06, 4.564092, 3930.209696], [4.7211e-06, 3.661, 5884.926847], [3.2878e-06, 5.899837, 5223.69392], [3.4597e-06, .963686, 5507.553239], [3.0678e-06, .298671, 5573.142801]], [[.0010301861, 1.10749, 6283.07585], [1.72124e-05, 1.064423, 12566.1517]]]],
|
|
5
|
+
mars: [[[[6.2034771158, 0.0, 0.0], [.1865636809, 5.050371, 3340.612427], [.0110821682, 5.400998, 6681.224853], [.0009179841, 5.754787, 10021.83728], [.0002774499, 5.970495, 3.523118], [.0001061024, 2.939586, 2281.230497], [.000123159, .849561, 2810.921462], [8.92678e-05, 4.156978, .017254], [8.71569e-05, 6.110052, 13362.449707], [6.79756e-05, .364622, 398.149003], [7.77487e-05, 3.339688, 5621.842923], [3.57508e-05, 1.661865, 2544.31442], [4.16111e-05, .22815, 2942.463423], [3.07525e-05, .856966, 191.448266], [2.62812e-05, .648061, 3337.089308], [2.93755e-05, 6.078937, .06731], [2.38941e-05, 5.038964, 796.298007], [2.57984e-05, .029967, 3344.135545], [1.52814e-05, 1.149793, 6151.533888], [1.79881e-05, .656341, 529.690965], [1.26436e-05, 3.622751, 5092.151958], [1.28623e-05, 3.067961, 2146.165416], [1.5464e-05, 2.915797, 1751.539531], [1.0249e-05, 3.693341, 8962.45535], [8.9157e-06, .182938, 16703.062133], [8.5876e-06, 2.400938, 2914.014236], [8.3272e-06, 2.464186, 3340.595173], [8.3272e-06, 4.494958, 3340.62968], [7.129e-06, 3.663355, 1059.38193], [7.4872e-06, 3.822486, 155.420399], [7.2386e-06, .674973, 3738.76143], [6.3555e-06, 2.921822, 8432.764385], [6.5516e-06, .488641, 3127.313331], [5.5047e-06, 3.81001, .980321], [5.5275e-06, 4.474793, 1748.016413], [4.2597e-06, .553643, 6283.07585], [4.1513e-06, .496623, 213.299095], [4.7217e-06, 3.625471, 1194.44701], [3.0655e-06, .380528, 6684.747972], [3.1214e-06, .998539, 6677.701735], [3.0238e-06, 4.48618, 3532.060693]], [[3340.6124270051, 0.0, 0.0], [.0145755452, 3.604337, 3340.612427], [.0016841471, 3.923186, 6681.224853], [.0002062298, 4.261088, 10021.83728], [3.45239e-05, 4.732104, 3.523118], [2.58633e-05, 4.606701, 13362.449707]], [[.0005815258, 2.049617, 3340.612427], [.0001345958, 2.457387, 6681.224853]]], [[[.0319713499, 3.76832, 3340.612427], [.0029803323, 4.10617, 6681.224853], [.0028910474, 0.0, 0.0], [.0003136554, 4.446511, 10021.83728], [3.4841e-05, 4.788125, 13362.449707], [4.43e-06, 5.65233, 3337.089308], [4.434e-06, 5.026426, 3344.135545], [3.9911e-06, 5.130568, 16703.062133]], [[.0021731099, 6.044722, 3340.612427], [.0002097695, 3.141593, 0.0], [.0001283471, 1.608107, 6681.224853], [3.32098e-05, 2.62947, 10021.83728]], [[8.88845e-05, 1.061961, 3340.612427]]], [[[1.5303348827, 0.0, 0.0], [.1418495316, 3.479713, 3340.612427], [.0066077636, 3.817834, 6681.224853], [.0004617912, 4.155953, 10021.83728], [8.10973e-05, 5.559584, 2810.921462], [7.48532e-05, 1.772391, 5621.842923], [5.52319e-05, 1.364363, 2281.230497], [3.82516e-05, 4.494072, 13362.449707], [2.30654e-05, .090816, 2544.31442], [1.9994e-05, 5.360596, 3337.089308], [2.48439e-05, 4.925456, 2942.463423], [1.96019e-05, 4.742494, 3344.135545], [1.16712e-05, 2.112609, 5092.151958], [1.10282e-05, 5.009084, 398.149003], [8.9907e-06, 4.407911, 529.690965], [9.9225e-06, 5.83862, 6151.533888], [8.0735e-06, 2.102171, 1059.38193], [7.9791e-06, 3.448392, 796.298007], [7.4097e-06, 1.499063, 2146.165416], [6.9234e-06, 2.133789, 8962.45535], [6.3314e-06, .893533, 3340.595173], [7.2558e-06, 1.245168, 8432.764385], [6.3314e-06, 2.924304, 3340.62968], [5.7436e-06, .828962, 2914.014236], [5.2617e-06, 5.38293, 3738.76143], [6.2998e-06, 1.287375, 1751.539531], [4.7277e-06, 5.198505, 3127.313331], [3.481e-06, 4.832192, 16703.062133]], [[.0110743334, 2.032505, 3340.612427], [.0010317589, 2.370718, 6681.224853], [.000128772, 0.0, 0.0], [.0001081588, 2.708881, 10021.83728]], [[.0004424225, .479306, 3340.612427], [8.13804e-05, .869984, 6681.224853]]]],
|
|
6
|
+
jupiter: [[[[.5995469149, 0.0, 0.0], [.0969589872, 5.061918, 529.690965], [.0057361014, 1.444062, 7.113547], [.0030638921, 5.417347, 1059.38193], [.000971783, 4.142647, 632.783739], [.0007290308, 3.640429, 522.577418], [.0006426398, 3.411452, 103.092774], [.0003980606, 2.293767, 419.484644], [.0003885777, 1.272318, 316.39187], [.0002796463, 1.784546, 536.804512], [.0001358973, 5.77481, 1589.072895], [8.24635e-05, 3.582279, 206.185548], [8.7687e-05, 3.630003, 949.175609], [7.36804e-05, 5.081012, 735.876514], [6.26315e-05, .024976, 213.299095], [6.11406e-05, 4.5132, 1162.474704], [4.9054e-05, 1.320845, 110.206321], [5.30528e-05, 1.306712, 14.227094], [5.30544e-05, 4.186256, 1052.268383], [4.64725e-05, 4.699581, 3.932153], [3.04502e-05, 4.316764, 426.598191], [2.61e-05, 1.566674, 846.082835], [2.02819e-05, 1.063765, 3.181394], [1.76476e-05, 2.141487, 1066.495477], [1.72297e-05, 3.880363, 1265.567479], [1.92094e-05, .971682, 639.897286], [1.63322e-05, 3.582018, 515.463871], [1.432e-05, 4.296856, 625.670192], [9.7327e-06, 4.097645, 95.979227], [8.8446e-06, 2.437002, 412.371097], [7.3285e-06, 6.085351, 838.969288], [7.3109e-06, 3.805923, 1581.959348], [6.9197e-06, 6.133653, 2118.76386], [7.0917e-06, 1.292748, 742.990061], [6.1448e-06, 4.108506, 1478.866574], [4.9522e-06, 3.755641, 323.505417], [5.819e-06, 4.539696, 309.278323], [3.7566e-06, 4.703043, 1368.660253], [3.8988e-06, 4.897068, 1692.16567], [3.4102e-06, 5.714524, 533.623118], [3.3046e-06, 4.740498, .048184], [4.4085e-06, 2.958186, 454.909367], [4.1727e-06, 1.035544, 2.447681]], [[529.6909650881, 0.0, 0.0], [.0048950324, 4.220829, 529.690965], [.0022891722, 6.026469, 7.113547], [.0003009948, 4.545408, 1059.38193], [.0002072092, 5.459432, 522.577418], [.0001210365, .169948, 536.804512], [6.06799e-05, 4.424223, 103.092774], [5.43397e-05, 3.984807, 419.484644], [4.23774e-05, 5.890087, 14.227094], [2.21197e-05, 5.267667, 206.185548], [1.9835e-05, 4.886007, 1589.072895], [1.29577e-05, 5.551328, 3.181394]], [[.000472336, 4.321485, 7.113547], [.0003064944, 2.929778, 529.690965], [.000148376, 3.141593, 0.0]]], [[[.022686157, 3.558526, 529.690965], [.0010997163, 3.908093, 1059.38193], [.0011009036, 0.0, 0.0], [8.10143e-05, 3.605096, 522.577418], [6.044e-05, 4.258831, 1589.072895], [6.43778e-05, .306271, 536.804512], [1.10688e-05, 2.985344, 1162.474704], [9.4165e-06, 2.936191, 1052.268383], [8.9409e-06, 1.754474, 7.113547], [7.6728e-06, 2.154736, 632.783739], [9.4433e-06, 1.675223, 426.598191], [6.8422e-06, 3.678088, 213.299095], [6.2922e-06, .643433, 1066.495477], [8.3586e-06, 5.17882, 103.092774], [5.3167e-06, 2.703059, 110.206321], [5.5852e-06, .013548, 846.082835], [4.6445e-06, 1.173373, 949.175609], [4.3107e-06, 2.60825, 419.484644], [3.5143e-06, 4.61063, 2118.76386]], [[.0007820345, 1.523779, 529.690965], [7.7899e-05, 2.597341, 1059.38193], [2.7886e-05, 4.856227, 536.804512], [2.42973e-05, 5.459473, 522.577418], [1.98578e-05, 0.0, 0.0]], [[5.49832e-05, 3.015963, 529.690965]]], [[[5.2088742933, 0.0, 0.0], [.2520932712, 3.491086, 529.690965], [.0061059998, 3.841154, 1059.38193], [.0028202946, 2.574199, 632.783739], [.0018764735, 2.075904, 522.577418], [.0008679291, .710011, 419.484644], [.0007206297, .214657, 536.804512], [.0006551725, 5.979959, 316.39187], [.0002913454, 1.677594, 103.092774], [.0003013533, 2.16132, 949.175609], [.0002345327, 3.540235, 735.876514], [.0002228374, 4.193626, 1589.072895], [.000239473, .27458, 7.113547], [.0001303261, 2.96043, 1162.474704], [9.70336e-05, 1.906696, 206.185548], [.0001274902, 2.715503, 1052.268383], [9.16139e-05, 4.41353, 213.299095], [7.89451e-05, 2.479076, 426.598191], [7.05793e-05, 2.181848, 1265.567479], [6.1377e-05, 6.264182, 846.082835], [5.477e-05, 5.6573, 639.897286], [3.50249e-05, .565324, 1066.495477], [4.13682e-05, 2.722209, 625.670192], [4.16995e-05, 2.016038, 515.463871], [2.49997e-05, 4.551817, 838.969288], [2.61698e-05, 2.00994, 1581.959348], [1.91201e-05, .856211, 412.371097], [2.12768e-05, 6.127552, 742.990061], [1.61057e-05, 3.088715, 1368.660253], [1.47951e-05, 2.680213, 1478.866574], [1.23063e-05, 1.89052, 323.505417], [1.21689e-05, 1.801763, 110.206321], [9.6111e-06, 4.54877, 2118.76386], [8.8576e-06, 4.147839, 533.623118], [7.7658e-06, 3.677108, 728.762967], [9.9859e-06, 2.872054, 309.278323], [1.01473e-05, 1.386758, 454.909367], [7.2716e-06, 3.988273, 1155.361157], [6.5533e-06, 2.790726, 1685.052123], [8.2138e-06, 1.593515, 1898.351218], [6.2082e-06, 4.822752, 956.289156], [6.5407e-06, 3.381407, 1692.16567], [8.1199e-06, 5.940934, 909.818733], [5.6209e-06, .081149, 543.918059], [5.4222e-06, .283572, 525.758812], [4.5784e-06, .127205, 1375.7738], [6.1474e-06, 2.276337, 942.062062], [4.3582e-06, 2.602793, 95.979227], [4.9601e-06, 5.530202, 380.127768], [4.6997e-06, 2.818838, 1795.258444], [4.4506e-06, .146486, 14.227094], [3.3815e-06, 2.798871, 1045.154836], [3.1904e-06, 1.348186, 2214.743088], [3.093e-06, 5.368394, 1272.681026], [3.458e-06, 1.56405, 491.557929], [3.0336e-06, 1.154075, 5753.384885]], [[.0127180152, 2.649375, 529.690965], [.0006166182, 3.000765, 1059.38193], [.0005344371, 3.897174, 522.577418], [.0003118517, 4.88277, 536.804512], [.0004139027, 0.0, 0.0], [.0001184726, 2.413288, 419.484644], [9.16645e-05, 4.759786, 7.113547], [3.1756e-05, 2.792984, 103.092774], [3.20348e-05, 5.210841, 735.876514], [3.40358e-05, 3.346896, 1589.072895], [2.59993e-05, 3.634391, 206.185548], [2.41213e-05, 1.469483, 426.598191], [2.80607e-05, 3.74227, 515.463871], [2.67661e-05, 4.330517, 1052.268383], [2.10039e-05, 3.927728, 639.897286], [1.64616e-05, 5.309476, 1066.495477], [1.64109e-05, 4.416285, 625.670192]], [[.0007964496, 1.358659, 529.690965], [8.25164e-05, 5.777745, 522.577418], [7.02994e-05, 3.274774, 536.804512], [5.31403e-05, 1.83835, 1059.38193]]]],
|
|
7
|
+
saturn: [[[[.8740135402, 0.0, 0.0], [.1110765976, 3.962051, 213.299095], [.0141415096, 4.585815, 7.113547], [.0039837939, .52112, 206.185548], [.0035076924, 3.303299, 426.598191], [.002068163, .246584, 103.092774], [.000792713, 3.840071, 220.412642], [.0002399035, 4.669769, 110.206321], [.0001657359, .437192, 419.484644], [.0001490699, 5.769032, 316.39187], [.0001582029, .938092, 632.783739], [.0001460956, 1.565185, 3.932153], [.000131603, 4.448913, 14.227094], [.0001505354, 2.716699, 639.897286], [.000130053, 5.98119, 11.0457], [.0001072507, 3.129395, 202.253395], [5.86321e-05, .236569, 529.690965], [5.22776e-05, 4.207834, 3.181394], [6.12632e-05, 1.763287, 277.034994], [5.01969e-05, 3.177877, 433.711738], [4.59255e-05, .619777, 199.072001], [4.00587e-05, 2.244797, 63.735898], [2.9538e-05, .982804, 95.979227], [3.87367e-05, 3.222832, 138.517497], [2.46119e-05, 2.031639, 735.876514], [3.26948e-05, .774926, 949.175609], [1.75815e-05, 3.265801, 522.577418], [1.64017e-05, 5.505045, 846.082835], [1.39133e-05, 4.023332, 323.505417], [1.58065e-05, 4.372653, 309.278323], [1.1235e-05, 2.837268, 415.552491], [1.01728e-05, 3.717001, 227.526189], [8.4864e-06, 3.191502, 209.366942], [1.08723e-05, 4.183433, 2.447681], [9.5676e-06, .507443, 1265.567479], [7.8921e-06, 5.007451, .963208], [6.87e-06, 1.747142, 1052.268383], [6.5448e-06, 1.598893, .048184], [7.4882e-06, 2.143968, 853.196382], [6.3398e-06, 2.298874, 412.371097], [7.436e-06, 5.252777, 224.344796], [8.5268e-06, 3.421413, 175.16606], [5.7984e-06, 3.092548, 74.781599], [6.2488e-06, .970481, 210.117702], [5.2987e-06, 4.44939, 117.319868], [5.4265e-06, 1.51825, 9.561228], [4.7428e-06, 5.475265, 742.990061], [4.4855e-06, 1.289914, 127.471797], [5.4636e-06, 2.126779, 350.33212], [4.7804e-06, 2.964867, 137.033024], [3.5499e-06, 3.012802, 838.969288], [4.5186e-06, 1.044373, 490.334089], [3.4742e-06, 1.539233, 340.770892], [3.4348e-06, .246038, .521265], [3.0903e-06, 3.49491, 216.480489], [3.2219e-06, .961365, 203.737868], [3.7232e-06, 2.278229, 217.231249], [3.2156e-06, 2.571852, 647.010833], [3.302e-06, .247217, 1581.959348]], [[213.2990952169, 0.0, 0.0], [.0129737086, 1.828349, 213.299095], [.0056434539, 2.884997, 7.113547], [.0009373437, 1.063118, 426.598191], [.0010767496, 2.277691, 206.185548], [.0004024445, 2.041081, 220.412642], [.0001994177, 1.279544, 103.092774], [.0001051168, 2.748803, 14.227094], [6.41611e-05, .382383, 639.897286], [4.84899e-05, 2.430376, 419.484644], [4.05689e-05, 2.921332, 110.206321], [3.76864e-05, 3.649653, 3.932153], [3.38469e-05, 2.416945, 3.181394], [3.23169e-05, 1.2615, 433.711738], [3.07141e-05, 2.327395, 199.072001], [1.95318e-05, 3.563781, 11.0457], [1.24947e-05, 2.628108, 95.979227]], [[.0011644133, 1.179881, 7.113547], [.0009184184, .073252, 213.299095], [.0003666173, 0.0, 0.0], [.000152745, 4.064932, 206.185548], [.0001098726, 5.444792, 426.598191], [.0001062983, .257643, 220.412642]]], [[[.0433067804, 3.602844, 213.299095], [.002403483, 2.852385, 426.598191], [.0008474594, 0.0, 0.0], [.0003086336, 3.484415, 220.412642], [.0003411606, .572973, 206.185548], [.0001473407, 2.118466, 639.897286], [9.91667e-05, 5.790032, 419.484644], [6.99356e-05, 4.736047, 7.113547], [4.80759e-05, 5.433053, 316.39187], [4.78839e-05, 4.965129, 110.206321], [3.43213e-05, 2.732557, 433.711738], [1.50613e-05, 6.013045, 103.092774], [1.0603e-05, 5.630993, 529.690965], [9.6907e-06, 5.20435, 632.783739], [9.4205e-06, 1.396467, 853.196382], [7.0764e-06, 3.803023, 323.505417], [5.5231e-06, 5.131491, 202.253395], [3.9967e-06, 3.358914, 227.526189], [3.1606e-06, 1.997167, 647.010833], [3.1938e-06, 3.625717, 209.366942], [3.1422e-06, .465102, 217.231249]], [[.0019892799, 4.93901, 213.299095], [.0003694792, 3.141593, 0.0], [.0001796699, .519794, 426.598191], [.0001091972, 1.794633, 220.412642], [.0001332026, 2.264815, 206.185548], [3.24343e-05, 1.21094, 419.484644], [2.90052e-05, 6.170335, 639.897286], [1.58471e-05, .934164, 433.711738], [1.58067e-05, 3.081717, 7.113547]], [[.0001388426, .08995, 213.299095]]], [[[9.5575813549, 0.0, 0.0], [.5292138286, 2.392262, 213.299095], [.0187367987, 5.235496, 206.185548], [.0146466393, 1.64763, 426.598191], [.0082189114, 5.9352, 316.39187], [.0054750692, 5.015326, 103.092774], [.0037168465, 2.271148, 220.412642], [.0036177876, 3.139043, 7.113547], [.0014061751, 5.704066, 632.783739], [.0010897485, 3.293134, 110.206321], [.0006900696, 5.940995, 419.484644], [.0006105337, .940377, 639.897286], [.0004891329, 1.557336, 202.253395], [.0003414377, .195191, 277.034994], [.0003240177, 5.470846, 949.175609], [.000209366, .463493, 735.876514], [.000208393, 1.521025, 433.711738], [.0002074675, 5.332555, 199.072001], [.000152984, 3.059438, 529.690965], [.0001429648, 2.604335, 323.505417], [.0001199334, 5.98051, 846.082835], [.0001138026, 1.731054, 522.577418], [.0001288462, 1.648907, 138.517497], [7.75266e-05, 5.851907, 95.979227], [9.796e-05, 5.204775, 1265.567479], [6.46582e-05, .177322, 1052.268383], [6.77061e-05, 3.004323, 14.227094], [5.85046e-05, 1.455201, 415.552491], [5.30742e-05, .597422, 63.735898], [4.69549e-05, 2.149139, 227.526189], [4.04405e-05, 1.640066, 209.366942], [3.68824e-05, .780173, 412.371097], [3.37658e-05, 3.695268, 224.344796], [2.88543e-05, 1.387645, 838.969288], [2.97595e-05, 5.684691, 210.117702], [3.41962e-05, 4.945505, 1581.959348], [3.46094e-05, 1.850887, 175.16606], [3.4007e-05, .553853, 350.33212], [2.50766e-05, 3.538548, 742.990061], [2.44826e-05, 6.18411, 1368.660253], [2.40613e-05, 2.965571, 117.319868], [2.8811e-05, .179625, 853.196382], [2.17393e-05, .015043, 340.770892], [2.02475e-05, 5.054044, 11.0457], [1.74028e-05, 2.346586, 309.278323], [1.86149e-05, 5.933698, 625.670192], [1.88837e-05, .029657, 3.932153], [1.61096e-05, 1.172946, 74.781599], [1.46265e-05, 1.925921, 216.480489], [1.47467e-05, 5.676705, 203.737868], [1.39512e-05, 5.936814, 127.471797], [1.78107e-05, .763211, 217.231249], [1.81717e-05, 5.77721, 490.334089], [1.47265e-05, 1.400744, 137.033024], [1.30424e-05, .772422, 647.010833], [1.14963e-05, 5.740185, 1162.474704], [1.12666e-05, 4.466955, 265.989293], [1.27762e-05, 2.984164, 1059.38193], [1.20707e-05, .753042, 351.816592], [1.07137e-05, 1.135594, 1155.361157], [1.02084e-05, 5.912164, 1685.052123], [1.31485e-05, 5.112113, 211.814623], [1.29545e-05, 4.691818, 1898.351218], [1.09907e-05, 1.817727, 149.563197], [9.987e-06, 2.631536, 200.768922], [9.8589e-06, 2.259946, 956.289156], [9.325e-06, 3.669765, 554.069987], [6.6438e-06, .602938, 728.762967], [6.5977e-06, 4.666266, 195.139848], [6.1773e-06, 5.620795, 942.062062], [6.2632e-06, 5.942238, 1478.866574], [4.8232e-06, 1.840485, 479.288389], [4.8802e-06, 2.793701, 3.181394], [4.6998e-06, .838525, 1471.753027], [4.5179e-06, 5.645114, 2001.443992], [5.5312e-06, 3.411132, 269.921447], [5.3442e-06, 1.264483, 275.550521], [4.7246e-06, 1.881976, 515.463871], [4.0556e-06, 1.639894, 536.804512], [5.1698e-06, 4.443017, 2214.743088], [4.5303e-06, 3.003559, 302.164776], [4.9436e-06, 2.286318, 278.519466], [4.8996e-06, 5.806278, 191.207695], [4.2744e-06, .057286, 284.148541], [3.3968e-06, 1.401933, 440.825285], [3.4067e-06, .890951, 628.851586], [3.8594e-06, 1.997113, 1272.681026], [3.4278e-06, 5.855873, 1795.258444], [3.4138e-06, 2.376198, 525.498179], [3.0338e-06, .879512, 6069.776755]], [[.0618298134, .258435, 213.299095], [.0050657724, .711146, 206.185548], [.0034139403, 5.796357, 426.598191], [.001884912, .472156, 220.412642], [.0018626149, 3.141593, 0.0], [.0014389115, 1.407448, 7.113547], [.0004962121, 6.017443, 103.092774], [.0002092843, 5.092449, 639.897286], [.0001995256, 1.175606, 419.484644], [.0001883954, 1.608183, 110.206321], [.0001289284, 5.943294, 433.711738], [.0001387685, .758849, 199.072001], [5.39684e-05, 1.288536, 14.227094], [4.86929e-05, .867972, 323.505417], [4.24722e-05, .39295, 227.526189], [3.25233e-05, 1.258502, 95.979227], [2.85607e-05, 2.167313, 735.876514], [2.90954e-05, 4.606807, 202.253395], [3.08141e-05, 3.436625, 522.577418], [1.98773e-05, 2.450538, 412.371097], [1.94144e-05, 6.023923, 209.366942], [1.58178e-05, 1.291891, 210.117702], [1.33952e-05, 4.308125, 853.196382], [1.31546e-05, 1.252956, 117.319868], [1.20287e-05, 1.866619, 316.39187]], [[.0043690257, 4.786717, 213.299095], [.000719225, 2.500701, 206.185548], [.0004976687, 4.971678, 220.412642], [.0004322078, 3.86941, 426.598191], [.0002964577, 5.963099, 7.113547]], [[.0002031524, 3.021861, 213.299095]]]],
|
|
8
|
+
uranus: [[[[5.481292943, 0.0, 0.0], [.0926040823, .891064, 74.781599], [.015042479, 3.627193, 1.484473], [.0036598167, 1.899622, 73.297126], [.0027232817, 3.358237, 149.563197], [.0007032846, 5.392545, 63.735898], [.0006889268, 6.092925, 76.266071], [.0006199862, 2.269521, 2.968945], [.0006195072, 2.850989, 11.0457], [.0002646877, 3.141521, 71.812653], [.0002571048, 6.113798, 454.909367], [.0002107885, 4.360593, 148.078724], [.0001781865, 1.744369, 36.648563], [.0001461351, 4.737322, 3.932153], [.0001116251, 5.826818, 224.344796], [.0001099791, .48865, 138.517497], [9.52748e-05, 2.955169, 35.16409], [7.5456e-05, 5.236266, 109.945689], [4.22024e-05, 3.233282, 70.849445], [4.0519e-05, 2.27755, 151.04767], [3.3546e-05, 1.06549, 4.453418], [2.92672e-05, 4.629037, 9.561228], [3.49034e-05, 5.483061, 146.594252], [3.14407e-05, 4.751996, 77.750544], [2.92233e-05, 5.352354, 85.827299], [2.27279e-05, 4.366004, 70.32818], [2.05122e-05, 1.517736, .111875], [2.1486e-05, .607459, 38.133036], [1.99164e-05, 4.924376, 277.034994], [1.37623e-05, 2.042835, 65.220371], [1.6669e-05, 3.627441, 380.127768], [1.28411e-05, 3.11348, 202.253395], [1.15043e-05, .933436, 3.181394], [1.53322e-05, 2.585947, 52.690198], [1.2816e-05, .542713, 222.860323], [1.37214e-05, 4.196415, 111.430161], [1.22103e-05, .199007, 108.461216], [9.4618e-06, 1.192532, 127.471797], [1.15099e-05, 4.178989, 33.679618], [1.24435e-05, .916144, 2.447681], [1.07201e-05, .23566, 62.251426], [1.09046e-05, 1.775015, 12.530173], [7.0794e-06, 5.182917, 213.299095], [6.5338e-06, .965879, 78.713752], [6.2757e-06, .18209, 984.600332], [5.2449e-06, 2.012754, 299.126394], [5.594e-06, 3.357686, .521265], [6.0685e-06, 5.432099, 529.690965], [4.049e-06, 5.986905, 8.076755], [4.6718e-06, .414825, 145.109779], [4.7131e-06, 1.406616, 184.727287], [4.8323e-06, 2.105532, .963208], [3.9557e-06, 5.870379, 351.816592], [4.3353e-06, 5.52141, 183.242815], [3.0984e-06, 5.833019, 145.631044], [3.7864e-06, 2.349894, 56.622351], [3.9903e-06, .337965, 415.552491], [3.0039e-06, 5.643552, 22.091401]], [[74.7815986091, 0.0, 0.0], [.0015433286, 5.241588, 74.781599], [.0002445647, 1.712603, 1.484473], [9.25844e-05, .428297, 11.0457], [8.26598e-05, 1.502181, 63.735898], [9.15016e-05, 1.412138, 149.563197], [3.89911e-05, .464836, 3.932153], [2.27706e-05, 4.171992, 76.266071], [1.92747e-05, .529762, 2.968945], [1.23272e-05, 1.586321, 70.849445]]], [[[.0134627765, 2.618778, 74.781599], [.000623414, 5.081112, 149.563197], [.000616012, 3.141593, 0.0], [9.96372e-05, 1.616038, 76.266071], [9.92616e-05, .576304, 73.297126], [3.25947e-05, 1.261193, 224.344796], [2.9723e-05, 2.243672, 1.484473], [2.01027e-05, 6.055509, 148.078724], [1.52216e-05, .279596, 63.735898], [9.2406e-06, 4.038225, 151.04767], [7.6064e-06, 6.139994, 71.812653], [4.2027e-06, 5.212801, 11.0457], [4.3066e-06, 3.554439, 213.299095], [4.3685e-06, 3.380811, 529.690965], [5.2231e-06, 3.320864, 138.517497], [4.3463e-06, .340632, 77.750544], [4.6263e-06, .742567, 85.827299]], [[.0003410198, .013219, 74.781599], [2.48011e-05, 2.739614, 149.563197], [1.71938e-05, 0.0, 0.0]]], [[[19.2126484721, 0.0, 0.0], [.8878498441, 5.603775, 74.781599], [.0344083606, .328361, 73.297126], [.0205565386, 1.782952, 149.563197], [.0064932241, 4.522473, 76.266071], [.0060224787, 3.860038, 63.735898], [.0049640417, 1.401399, 454.909367], [.0033852537, 1.580028, 138.517497], [.0024350911, 1.570866, 71.812653], [.001905223, 1.998094, 1.484473], [.0016185884, 2.791378, 148.078724], [.0014370618, 1.383685, 11.0457], [.0009319241, .174372, 36.648563], [.0007142455, 4.245092, 224.344796], [.0008980601, 3.661054, 109.945689], [.0003900972, 1.669714, 70.849445], [.000466773, 1.399764, 35.16409], [.0003902562, 3.362348, 277.034994], [.0003675527, 3.886493, 146.594252], [.0003034872, .701008, 151.04767], [.0002915641, 3.180563, 77.750544], [.0002047159, 1.55588, 202.253395], [.0002562076, 5.256561, 380.127768], [.0002578588, 3.785377, 85.827299], [.0002263707, .725187, 529.690965], [.0002047353, 2.796402, 70.32818], [.000179013, .554551, 2.968945], [.0001232811, 5.960373, 127.471797], [.0001470167, 4.904345, 108.461216], [.0001149468, .43772, 65.220371], [.0001550237, 5.354054, 38.133036], [.000107925, 1.421063, 213.299095], [.0001169569, 3.298242, 3.932153], [.0001195908, 1.750434, 984.600332], [.0001289645, 2.621541, 111.430161], [.0001185296, .993442, 52.690198], [9.11162e-05, 4.996336, 62.251426], [8.42079e-05, 5.253514, 222.860323], [7.44899e-05, .794955, 351.816592], [8.40238e-05, 5.038765, 415.552491], [6.04622e-05, 5.679586, 78.713752], [5.52441e-05, 3.114933, 9.561228], [7.3293e-05, 3.972766, 183.242815], [5.44457e-05, 5.105748, 145.109779], [5.2382e-05, 2.629605, 33.679618], [4.07952e-05, 3.220641, 340.770892], [3.80165e-05, 6.109827, 184.727287], [3.91873e-05, 4.250177, 39.617508], [2.94076e-05, 2.146497, 137.033024], [3.7812e-05, 3.458404, 456.393839], [2.94222e-05, .423928, 299.126394], [3.68632e-05, 2.48726, 453.424894], [3.1015e-05, 4.140286, 219.891378], [2.96264e-05, .829819, 56.622351], [2.93758e-05, 3.676522, 140.00197], [2.86479e-05, .30999, 12.530173], [2.53811e-05, 4.854432, 131.40395], [1.96279e-05, 5.243268, 84.342826], [2.36372e-05, .442447, 554.069987], [1.97841e-05, 6.12839, 106.976743], [2.1826e-05, 2.940425, 305.346169], [1.96325e-05, .041146, 221.37585], [1.82978e-05, 4.011052, 68.843708], [1.64292e-05, .355581, 67.668052], [1.58488e-05, 3.162658, 225.829268], [1.84802e-05, 2.911163, 909.818733], [1.63226e-05, 4.230386, 22.091401], [1.4022e-05, 1.391067, 265.989293], [1.40402e-05, 5.635679, 4.453418], [1.65649e-05, 1.964365, 79.235017], [1.24848e-05, 5.440086, 54.174671], [1.5634e-05, 1.479195, 112.914634], [1.24851e-05, 4.889645, 479.288389], [1.19765e-05, 2.521525, 145.631044], [1.50694e-05, 5.241854, 181.758342], [1.48195e-05, 5.662014, 152.532143], [1.43912e-05, 1.530477, 447.79582], [1.40887e-05, 4.419212, 462.022914], [1.477e-05, 4.321732, 256.539941], [1.22823e-05, 5.976978, 59.803745], [1.24989e-05, 6.244805, 160.608897], [9.0652e-06, 5.620131, 74.669724], [1.09069e-05, 4.153943, 77.962992], [8.4483e-06, .129661, 82.858353], [9.0058e-06, 2.373031, 74.893473], [1.07165e-05, 1.742982, 528.206492], [6.8952e-06, 3.080879, 69.364973], [5.9401e-06, 4.500317, 8.076755], [7.1864e-06, 4.000287, 128.956269], [6.9987e-06, .0399, 143.625306], [5.7567e-06, 5.89554, 66.704844], [7.5868e-06, 2.136938, 692.587484], [7.1027e-06, 5.416052, 218.406905], [5.4866e-06, 5.628118, 3.181394], [6.5176e-06, 4.423171, 18.159247], [5.3973e-06, 6.207798, 71.600205], [5.449e-06, 5.694095, 203.737868], [7.1025e-06, 4.219675, 381.612241], [5.9403e-06, 3.837942, 32.195145], [7.099e-06, 4.489627, 293.188503], [7.057e-06, .455185, 835.037134], [5.8785e-06, 5.082682, 186.21176], [5.9819e-06, .357925, 269.921447], [6.4215e-06, 2.710908, 87.311772], [4.9564e-06, 2.651117, 200.768922], [6.3017e-06, 4.461536, 275.550521], [5.7495e-06, 5.578773, 2.447681], [5.6962e-06, 1.639246, 77.229279], [5.5667e-06, 1.072319, 1059.38193], [4.4936e-06, .279882, 617.805886], [4.637e-06, 1.434508, 297.641922], [4.3654e-06, .527839, 209.366942], [4.6392e-06, 2.355197, 211.814623], [4.3594e-06, 2.100772, 1514.291297], [5.1553e-06, 3.232742, 284.148541], [4.55e-06, 4.08342, 99.160621], [4.7725e-06, 2.893817, 39.356876], [5.4269e-06, 5.394573, 278.519466], [4.099e-06, 3.049619, 404.50679], [3.6839e-06, .710795, 125.987324], [5.0318e-06, 5.839155, 191.207695], [4.874e-06, .064243, 60.766953], [4.5503e-06, 2.59321, 490.334089], [4.3635e-06, 2.081294, 51.205725], [4.3576e-06, 2.794444, 75.744806], [3.2348e-06, 4.829392, 195.139848], [3.5934e-06, .008704, 35.424723], [4.2908e-06, 3.080578, 41.101981], [3.1999e-06, 5.48622, 14.977854], [4.1396e-06, .088226, 258.024413], [3.7973e-06, .058345, 378.643295], [4.2021e-06, 2.253923, 81.001374], [3.5753e-06, 4.714083, 173.94222], [3.5894e-06, .352695, 426.598191], [4.0537e-06, 6.12345, 24.379022], [3.6509e-06, 5.594719, 255.055468], [3.0816e-06, 3.923166, 116.426096], [3.2555e-06, 4.719733, 134.585344], [3.8641e-06, .686292, 230.564571], [3.0558e-06, 3.761315, 344.703045], [3.5335e-06, 4.657207, 329.837066], [3.0184e-06, .131736, 565.115688], [3.0535e-06, 2.555347, 6208.294251]], [[.0147989663, 3.672057, 74.781599], [.0007121214, 6.22601, 63.735898], [.0006862716, 6.134112, 149.563197], [.0002085755, 5.246258, 11.0457], [.0002146836, 2.601757, 76.266071], [.0002405937, 3.141593, 0.0], [.0001140506, .018497, 70.849445], [7.4968e-05, .423614, 73.297126], [4.24361e-05, 1.416911, 85.827299], [3.50595e-05, 2.583481, 138.517497], [3.2288e-05, 5.254956, 3.932153], [3.92683e-05, 3.155263, 71.812653], [3.0599e-05, .153238, 1.484473], [3.57825e-05, 2.311579, 224.344796], [2.56424e-05, .980785, 148.078724], [2.42919e-05, 3.994507, 52.690198], [1.64483e-05, 2.653104, 127.471797], [1.58357e-05, 1.430495, 78.713752], [1.41338e-05, 4.574616, 202.253395], [1.48972e-05, 2.675684, 56.622351], [1.40328e-05, 1.369862, 77.750544], [1.22789e-05, 1.046994, 62.251426], [1.50784e-05, 5.060192, 151.04767]], [[.000224399, .699533, 74.781599]]]],
|
|
9
|
+
neptune: [[[[5.3118863305, 0.0, 0.0], [.0179847553, 2.901013, 38.133036], [.0101972765, .485809, 1.484473], [.0012453184, 4.830081, 36.648563], [.0004206447, 5.41055, 2.968945], [.0003771458, 6.092218, 35.16409], [.0003378474, 1.244889, 76.266071], [.0001648274, 7.7e-05, 491.557929], [9.19858e-05, 4.937471, 39.617508], [8.99425e-05, .274622, 175.16606], [4.21624e-05, 1.987119, 73.297126], [3.36481e-05, 1.035901, 33.679618], [2.2848e-05, 4.206069, 4.453418], [1.43352e-05, 2.783398, 74.781599], [9.0024e-06, 2.076072, 109.945689], [7.45e-06, 3.190325, 71.812653], [5.0622e-06, 5.747861, 114.399107], [3.9955e-06, .349723, 1021.248895], [3.4519e-06, 3.461853, 41.101981], [3.0634e-06, .496841, .521265], [3.23e-06, 2.248149, 32.195145], [3.403e-06, 3.303762, 77.750544]], [[38.1330356396, 0.0, 0.0], [.0001660417, 4.863233, 1.484473], [.0001574405, 2.278874, 38.133036], [1.30626e-05, 3.672852, 2.968945]]], [[[.0308862293, 1.441044, 38.133036], [.0002778009, 5.912719, 76.266071], [.0002762361, 0.0, 0.0], [.0001535549, 2.521238, 36.648563], [.0001544813, 3.508771, 39.617508], [1.99992e-05, 1.509987, 74.781599], [1.96754e-05, 4.377782, 1.484473], [1.01514e-05, 3.21561, 35.16409], [6.0577e-06, 2.802466, 73.297126], [5.9488e-06, 2.128927, 41.101981], [5.8881e-06, 3.186559, 2.968945], [4.0183e-06, 4.168834, 114.399107]], [[5.1509e-05, 2.142705, 38.133036]]], [[[30.0701320583, 0.0, 0.0], [.2706225963, 1.329995, 38.133036], [.0169176401, 3.251861, 36.648563], [.0080783055, 5.185929, 1.484473], [.0053776051, 4.521139, 35.16409], [.0049572514, 1.571056, 491.557929], [.0027457197, 1.845523, 175.16606], [.0013513409, 3.372206, 39.617508], [.0012180175, 5.797545, 76.266071], [.0010089607, .377027, 73.297126], [.0006979133, 3.796166, 2.968945], [.0004668784, 5.74938, 33.679618], [.0002459453, .508017, 109.945689], [.0001693948, 1.594225, 71.812653], [.0001422981, 1.077859, 74.781599], [.0001201232, 1.920594, 1021.248895], [8.39435e-05, .678182, 146.594252], [7.5718e-05, 1.071492, 388.465155], [5.72087e-05, 2.590617, 4.453418], [4.84021e-05, 1.90681, 41.101981], [4.48349e-05, 2.905735, 529.690965], [4.2696e-05, 3.413335, 453.424894], [4.35359e-05, .679849, 32.195145], [4.42055e-05, 1.749907, 108.461216], [2.87976e-05, 1.986272, 137.033024], [2.63553e-05, 3.09756, 213.299095], [3.38111e-05, .84811, 183.242815], [2.87751e-05, 3.674172, 350.33212], [2.30651e-05, 2.809646, 70.32818], [2.52994e-05, 5.798223, 490.073457], [2.52287e-05, .486121, 493.042402], [2.08593e-05, .618539, 33.94025], [1.97652e-05, 5.11703, 168.052513], [1.90405e-05, 1.721659, 182.279607], [1.65353e-05, 1.92782, 145.109779], [1.43451e-05, 1.699859, 484.444382], [1.40303e-05, 4.589142, 498.671476], [1.49999e-05, 1.016199, 219.891378], [1.39798e-05, .761998, 176.650533], [1.40276e-05, 6.076591, 173.681587], [1.12828e-05, 5.966665, 9.561228], [1.22806e-05, 1.599159, 77.750544], [8.3556e-06, 3.970505, 114.399107], [8.1141e-06, 3.002641, 46.20979], [7.3154e-06, 2.104458, 181.758342], [6.1562e-06, 2.978679, 106.976743], [7.0345e-06, 1.187482, 256.539941], [5.0196e-06, 1.386547, 5.937891], [5.3048e-06, 4.241122, 111.430161], [4.371e-06, 2.270292, 1550.93986], [3.9991e-06, 1.256123, 8.076755], [4.2099e-06, 1.892482, 30.710672], [3.8246e-06, 3.299641, 983.115859], [4.2289e-06, 5.530996, 525.498179], [3.5506e-06, 2.278731, 218.406905], [3.145e-06, 3.959329, 381.351608], [3.3326e-06, 5.750149, 39.096243], [3.2143e-06, 1.506243, 454.909367], [3.092e-06, 2.854513, 72.073286], [3.4554e-06, 1.358019, 293.188503], [3.0736e-06, .3194, 601.764251], [3.06e-06, 2.724751, 6244.942814]], [[.0023633862, .70498, 38.133036], [.0001322003, 3.320144, 1.484473], [8.62178e-05, 6.216269, 35.16409], [2.70159e-05, 1.88125, 39.617508], [2.15306e-05, 5.16877, 76.266071], [2.15417e-05, 2.094303, 2.968945], [1.46331e-05, 1.184102, 33.679618], [1.60316e-05, 0.0, 0.0]]]],
|
|
10
|
+
};
|
package/dist/element.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export type WakuseiState = "line" | "loading" | "still" | "live" | "lost" | "una
|
|
|
25
25
|
* console.log(TEXTURE_BASE);
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
|
-
export declare const TEXTURE_BASE = "https://cdn.jsdelivr.net/npm/@johnmorrisdotca/wakusei-planets@0.
|
|
28
|
+
export declare const TEXTURE_BASE = "https://cdn.jsdelivr.net/npm/@johnmorrisdotca/wakusei-planets@0.19.0/dist/textures/";
|
|
29
29
|
/**
|
|
30
30
|
* 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
|
|
31
31
|
* never zooms in never fetches them. Set `texture-far-base` on an element to serve them yourself.
|
|
@@ -37,7 +37,7 @@ export declare const TEXTURE_BASE = "https://cdn.jsdelivr.net/npm/@johnmorrisdot
|
|
|
37
37
|
* console.log(TEXTURE_FAR_BASE);
|
|
38
38
|
* ```
|
|
39
39
|
*/
|
|
40
|
-
export declare const TEXTURE_FAR_BASE = "https://cdn.jsdelivr.net/gh/johnmorrisdotca/wakusei-planets@v0.
|
|
40
|
+
export declare const TEXTURE_FAR_BASE = "https://cdn.jsdelivr.net/gh/johnmorrisdotca/wakusei-planets@v0.19.0/textures/";
|
|
41
41
|
/**
|
|
42
42
|
* The `<wakusei-body>` custom element: a body of the solar system, drawn in a look.
|
|
43
43
|
*
|
|
@@ -79,10 +79,11 @@ export declare class WakuseiBody extends HTMLElement {
|
|
|
79
79
|
goLive(): Promise<boolean>;
|
|
80
80
|
/** Give the WebGL context back: the picture stays as a still. */
|
|
81
81
|
rest(): void;
|
|
82
|
-
/** The shared controllers' camera: `yaw` turns the body about its pole, `tilt` tips its top away from you as it grows (a drag up moves the surface up), `zoom` and
|
|
82
|
+
/** The shared controllers' camera: `yaw` turns the body about its pole, `tilt` tips its top away from you as it grows (a drag up moves the surface up), `roll` turns the picture clockwise about the line of sight, `zoom` scales it, and `panX` and `panY` move it by that many CSS pixels from the middle. */
|
|
83
83
|
setView(view: {
|
|
84
84
|
yaw?: number;
|
|
85
85
|
tilt?: number;
|
|
86
|
+
roll?: number;
|
|
86
87
|
zoom?: number;
|
|
87
88
|
panX?: number;
|
|
88
89
|
panY?: number;
|
package/dist/element.js
CHANGED
|
@@ -119,6 +119,7 @@ export class WakuseiBody extends HTMLElement {
|
|
|
119
119
|
#start;
|
|
120
120
|
#yaw = 0;
|
|
121
121
|
#tilt = 0;
|
|
122
|
+
#roll = 0;
|
|
122
123
|
#pitchDelta = 0;
|
|
123
124
|
#lastAnchors = -1;
|
|
124
125
|
#zoom = 1;
|
|
@@ -250,13 +251,15 @@ export class WakuseiBody extends HTMLElement {
|
|
|
250
251
|
}
|
|
251
252
|
}
|
|
252
253
|
}
|
|
253
|
-
/** The shared controllers' camera: `yaw` turns the body about its pole, `tilt` tips its top away from you as it grows (a drag up moves the surface up), `zoom` and
|
|
254
|
+
/** The shared controllers' camera: `yaw` turns the body about its pole, `tilt` tips its top away from you as it grows (a drag up moves the surface up), `roll` turns the picture clockwise about the line of sight, `zoom` scales it, and `panX` and `panY` move it by that many CSS pixels from the middle. */
|
|
254
255
|
setView(view) {
|
|
256
|
+
const half = Math.max(1, this.clientWidth) / 2;
|
|
255
257
|
this.#yaw = view.yaw ?? 0;
|
|
256
258
|
this.#tilt = view.tilt ?? 0;
|
|
259
|
+
this.#roll = view.roll ?? 0;
|
|
257
260
|
this.#zoom = view.zoom ?? 1;
|
|
258
|
-
this.#panX = view.panX ?? 0;
|
|
259
|
-
this.#panY = view.panY ?? 0;
|
|
261
|
+
this.#panX = -(view.panX ?? 0) / half;
|
|
262
|
+
this.#panY = (view.panY ?? 0) / half;
|
|
260
263
|
this.#queue(true);
|
|
261
264
|
}
|
|
262
265
|
// --- the clock ------------------------------------------------------------------------------------------------------------------------------------
|
|
@@ -300,6 +303,13 @@ export class WakuseiBody extends HTMLElement {
|
|
|
300
303
|
meridian = turnVec(meridian, x, tiltBy);
|
|
301
304
|
light = turnVec(light, x, tiltBy);
|
|
302
305
|
}
|
|
306
|
+
const roll = -this.#roll;
|
|
307
|
+
if (roll !== 0) {
|
|
308
|
+
const z = [0, 0, 1];
|
|
309
|
+
pole = turnVec(pole, z, roll);
|
|
310
|
+
meridian = turnVec(meridian, z, roll);
|
|
311
|
+
light = turnVec(light, z, roll);
|
|
312
|
+
}
|
|
303
313
|
const r = this.#request();
|
|
304
314
|
const scaleTo = this.getAttribute("scale-to");
|
|
305
315
|
const range = this.hasAttribute("range") ? num(this.getAttribute("range"), 0) : undefined;
|
|
@@ -310,25 +320,27 @@ export class WakuseiBody extends HTMLElement {
|
|
|
310
320
|
.filter((m) => m.distance <= extent * 1.05)
|
|
311
321
|
.map((m) => {
|
|
312
322
|
const orbit = this.#orbits.get(m.id);
|
|
313
|
-
const
|
|
314
|
-
|
|
323
|
+
const tipped = tiltBy === 0 ? [m.x, m.y, m.z] : turnVec([m.x, m.y, m.z], [1, 0, 0], tiltBy);
|
|
324
|
+
const rotated = roll === 0 ? tipped : turnVec(tipped, [0, 0, 1], roll);
|
|
325
|
+
return { id: m.id, x: rotated[0], y: rotated[1], z: rotated[2], ...(orbit !== undefined ? { orbit: tiltBy === 0 && roll === 0 ? orbit : this.#tiltedOrbit(m.id, orbit, tiltBy, roll) } : {}) };
|
|
315
326
|
})
|
|
316
327
|
: undefined;
|
|
317
328
|
return { pose: { pole, meridian, light }, extent, sky: frame.time !== undefined, zoom: this.#zoom, panX: clampPan(this.#panX, extent, this.#zoom), panY: clampPan(this.#panY, extent, this.#zoom), ...(moons !== undefined ? { moons } : {}) };
|
|
318
329
|
}
|
|
319
330
|
#tilted = new Map();
|
|
320
|
-
#tiltedOrbit(id, orbit, tilt) {
|
|
331
|
+
#tiltedOrbit(id, orbit, tilt, roll) {
|
|
321
332
|
const held = this.#tilted.get(id);
|
|
322
|
-
if (held !== undefined && held.source === orbit && held.tilt === tilt)
|
|
333
|
+
if (held !== undefined && held.source === orbit && held.tilt === tilt && held.roll === roll)
|
|
323
334
|
return held.out;
|
|
324
335
|
const out = new Float32Array(orbit.length);
|
|
325
336
|
for (let i = 0; i < orbit.length; i += 3) {
|
|
326
|
-
const
|
|
337
|
+
const tipped = turnVec([orbit[i], orbit[i + 1], orbit[i + 2]], [1, 0, 0], tilt);
|
|
338
|
+
const v = roll === 0 ? tipped : turnVec(tipped, [0, 0, 1], roll);
|
|
327
339
|
out[i] = v[0];
|
|
328
340
|
out[i + 1] = v[1];
|
|
329
341
|
out[i + 2] = v[2];
|
|
330
342
|
}
|
|
331
|
-
this.#tilted.set(id, { source: orbit, tilt, out });
|
|
343
|
+
this.#tilted.set(id, { source: orbit, tilt, roll, out });
|
|
332
344
|
return out;
|
|
333
345
|
}
|
|
334
346
|
#ensureOrbits(frame) {
|
package/dist/ephemeris.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ import { type Vec3 } from "./vec.ts";
|
|
|
3
3
|
/** Solve Kepler's equation for the eccentric anomaly, all in radians. */
|
|
4
4
|
export declare function kepler(meanAnomaly: number, e: number): number;
|
|
5
5
|
/**
|
|
6
|
-
* A planet's or dwarf planet's position in the Sun's frame (J2000 ecliptic, astronomical units) at a time: a
|
|
6
|
+
* A planet's or dwarf planet's position in the Sun's frame (J2000 ecliptic, astronomical units) at a time: Mercury to Neptune from the VSOP87B series (within a few arc-seconds, see the accuracy guide), Pluto from JPL's approximate elements, a dwarf planet from the osculating elements of one epoch (JPL's Small-Body Database).
|
|
7
7
|
* @param planet - The planet's or dwarf planet's name.
|
|
8
|
-
* @param ms - The instant, in milliseconds since 1970.
|
|
8
|
+
* @param ms - The instant, in milliseconds since 1970 (UTC).
|
|
9
9
|
* @returns The position as x, y, z in au.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
package/dist/ephemeris.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
// Where the planets and their moons are at a date and time, and how a body looks from the Earth then: its pole, the face that turns toward us, where the Sun is.
|
|
2
|
-
// Planets: JPL's "Keplerian Elements for Approximate Positions of the Major Planets",
|
|
3
|
-
//
|
|
2
|
+
// Planets Mercury to Neptune: the VSOP87B series of Bretagnon and Francou, truncated (data/vsop.ts), in terrestrial time (time.ts). Pluto: JPL's "Keplerian Elements for Approximate Positions of the Major Planets",
|
|
3
|
+
// Table 1 (1800 to 2050, https://ssd.jpl.nasa.gov/planets/approx_pos.html). The Moon: the largest terms of Meeus, "Astronomical Algorithms", chapter 47. Other moons: fitted to JPL Horizons (data/orbits.ts).
|
|
4
4
|
// Light travel time is allowed for, so a turning planet shows the face it really showed when the light left. Pure: no DOM, no three.js.
|
|
5
5
|
import { ORBITS } from "./data/orbits.js";
|
|
6
6
|
import { DWARF_ELEMENTS } from "./data/dwarf.js";
|
|
7
|
+
import { VSOP87 } from "./data/vsop.js";
|
|
8
|
+
import { toTerrestrialTime } from "./time.js";
|
|
7
9
|
import { BODIES, MOONS_OF } from "./facts.js";
|
|
8
10
|
import { add, cross, DEG, dot, fromRaDec, length, OBLIQUITY, RAD, scale, sub, toEcliptic, unit, wrap360 } from "./vec.js";
|
|
9
11
|
/** Milliseconds since 1970 at J2000.0 (2000-01-01 12:00 TT, taken as UTC). */
|
|
@@ -42,10 +44,30 @@ export function kepler(meanAnomaly, e) {
|
|
|
42
44
|
}
|
|
43
45
|
return E;
|
|
44
46
|
}
|
|
47
|
+
/** A planet from its VSOP87B series: longitude, latitude and radius at a moment in terrestrial time, as x, y, z in the J2000 ecliptic. */
|
|
48
|
+
function vsopPosition(series, terrestrialMs) {
|
|
49
|
+
const t = (terrestrialMs - J2000) / (365_250 * DAY);
|
|
50
|
+
const spherical = [0, 0, 0];
|
|
51
|
+
for (let k = 0; k < 3; k += 1) {
|
|
52
|
+
let sum = 0;
|
|
53
|
+
let power = 1;
|
|
54
|
+
for (const terms of series[k]) {
|
|
55
|
+
let s = 0;
|
|
56
|
+
for (const [amplitude, phase, frequency] of terms)
|
|
57
|
+
s += amplitude * Math.cos(phase + frequency * t);
|
|
58
|
+
sum += power * s;
|
|
59
|
+
power *= t;
|
|
60
|
+
}
|
|
61
|
+
spherical[k] = sum;
|
|
62
|
+
}
|
|
63
|
+
const [longitude, latitude, radius] = spherical;
|
|
64
|
+
const cosLatitude = Math.cos(latitude);
|
|
65
|
+
return [radius * cosLatitude * Math.cos(longitude), radius * cosLatitude * Math.sin(longitude), radius * Math.sin(latitude)];
|
|
66
|
+
}
|
|
45
67
|
/**
|
|
46
|
-
* A planet's or dwarf planet's position in the Sun's frame (J2000 ecliptic, astronomical units) at a time: a
|
|
68
|
+
* A planet's or dwarf planet's position in the Sun's frame (J2000 ecliptic, astronomical units) at a time: Mercury to Neptune from the VSOP87B series (within a few arc-seconds, see the accuracy guide), Pluto from JPL's approximate elements, a dwarf planet from the osculating elements of one epoch (JPL's Small-Body Database).
|
|
47
69
|
* @param planet - The planet's or dwarf planet's name.
|
|
48
|
-
* @param ms - The instant, in milliseconds since 1970.
|
|
70
|
+
* @param ms - The instant, in milliseconds since 1970 (UTC).
|
|
49
71
|
* @returns The position as x, y, z in au.
|
|
50
72
|
*
|
|
51
73
|
* @example
|
|
@@ -57,6 +79,9 @@ export function kepler(meanAnomaly, e) {
|
|
|
57
79
|
* ```
|
|
58
80
|
*/
|
|
59
81
|
export function heliocentric(planet, ms) {
|
|
82
|
+
const vsop = VSOP87[planet];
|
|
83
|
+
if (vsop !== undefined)
|
|
84
|
+
return vsopPosition(vsop, toTerrestrialTime(ms));
|
|
60
85
|
let a;
|
|
61
86
|
let e;
|
|
62
87
|
let I;
|
|
@@ -285,7 +310,8 @@ function orbitVector(orbit, ms) {
|
|
|
285
310
|
const w = orbit.w + orbit.dw * dt;
|
|
286
311
|
const node = orbit.node + orbit.dn * dt;
|
|
287
312
|
const lambda0 = orbit.w + orbit.node + orbit.m;
|
|
288
|
-
const
|
|
313
|
+
const swing = orbit.wave === undefined ? 0 : orbit.wave[0] * Math.sin((2 * Math.PI * dt) / orbit.wave[1] + orbit.wave[2] * RAD);
|
|
314
|
+
const M = lambda0 + orbit.sid * dt + 0.5 * (orbit.acc ?? 0) * dt * dt + swing - w - node;
|
|
289
315
|
const E = kepler(M * RAD, orbit.e);
|
|
290
316
|
const x = orbit.a * (Math.cos(E) - orbit.e);
|
|
291
317
|
const y = orbit.a * Math.sqrt(1 - orbit.e * orbit.e) * Math.sin(E);
|
package/dist/facts.js
CHANGED
|
@@ -69,19 +69,19 @@ const SATURN_RINGS = [
|
|
|
69
69
|
{ from: 133610, to: 136775, alpha: 0.5, tone: 0.65 },
|
|
70
70
|
{ from: 140100, to: 140260, alpha: 0.35, tone: 0.8 },
|
|
71
71
|
];
|
|
72
|
-
// Jupiter: the halo inside the main ring, the main ring, and the gossamer rings out to about 226,000 km (NASA).
|
|
72
|
+
// Jupiter: the halo inside the main ring, the main ring, and the gossamer rings out to about 226,000 km (NASA). The halo and the gossamer are a hint; the main ring is the one that shows.
|
|
73
73
|
const JUPITER_RINGS = [
|
|
74
|
-
{ from: 92000, to: 122500, alpha: 0.
|
|
75
|
-
{ from: 122800, to: 129200, alpha: 0.
|
|
76
|
-
{ from: 129200, to: 181350, alpha: 0.
|
|
77
|
-
{ from: 181350, to: 226000, alpha: 0.
|
|
74
|
+
{ from: 92000, to: 122500, alpha: 0.012, tone: 0.25 },
|
|
75
|
+
{ from: 122800, to: 129200, alpha: 0.55, tone: 0.7 },
|
|
76
|
+
{ from: 129200, to: 181350, alpha: 0.018, tone: 0.3 },
|
|
77
|
+
{ from: 181350, to: 226000, alpha: 0.01, tone: 0.25 },
|
|
78
78
|
];
|
|
79
|
-
// Neptune: Galle, Le Verrier, the Lassell sheet and Adams. Adams's arcs sit on that radius; a strip has no longitude, so they are the same band.
|
|
79
|
+
// Neptune: Galle, Le Verrier, the Lassell sheet and Adams. The sheet is faint. Adams's arcs sit on that radius; a strip has no longitude, so they are the same band.
|
|
80
80
|
const NEPTUNE_RINGS = [
|
|
81
|
-
{ from: 40900, to: 42900, alpha: 0.
|
|
82
|
-
{ from: 53150, to: 53300, alpha: 0.
|
|
83
|
-
{ from: 53300, to: 57200, alpha: 0.
|
|
84
|
-
{ from: 62890, to: 62980, alpha: 0.
|
|
81
|
+
{ from: 40900, to: 42900, alpha: 0.08, tone: 0.35 },
|
|
82
|
+
{ from: 53150, to: 53300, alpha: 0.5, tone: 0.55 },
|
|
83
|
+
{ from: 53300, to: 57200, alpha: 0.006, tone: 0.25 },
|
|
84
|
+
{ from: 62890, to: 62980, alpha: 0.6, tone: 0.65 },
|
|
85
85
|
];
|
|
86
86
|
const URANUS_RINGS = [
|
|
87
87
|
{ from: 41800, to: 41880, alpha: 0.3, tone: 0.2 },
|
package/dist/live.js
CHANGED
|
@@ -17,7 +17,7 @@ export function defaultTurn(id) {
|
|
|
17
17
|
/** The degrees a second a body's own turn advances its prime meridian (a moon that keeps one face to its planet turns once a trip). */
|
|
18
18
|
export function turnRate(id) {
|
|
19
19
|
const f = BODIES[id];
|
|
20
|
-
return (f.synchronous === true && ORBITS[id] !== undefined ? ORBITS[id].sid : f.prime.rate) / 86400;
|
|
20
|
+
return (f.synchronous === true && ORBITS[id] !== undefined ? Math.sign(f.prime.rate) * Math.abs(ORBITS[id].sid) : f.prime.rate) / 86400;
|
|
21
21
|
}
|
|
22
22
|
/** The pictured moon-planet's moons, or none. */
|
|
23
23
|
const moonsOfPlanet = (id) => id in MOONS_OF;
|
package/dist/scene/body.js
CHANGED
|
@@ -113,6 +113,7 @@ export function createBodyItem(options) {
|
|
|
113
113
|
fragmentShader: RING_FRAGMENT,
|
|
114
114
|
side: T.DoubleSide,
|
|
115
115
|
transparent: true,
|
|
116
|
+
premultipliedAlpha: photoTexture === undefined,
|
|
116
117
|
depthWrite: false,
|
|
117
118
|
depthTest,
|
|
118
119
|
uniforms: { uRingTex: { value: ringTexture }, uRingR: { value: new T.Vector2(ringInner, ringOuter) }, uLight: { value: new T.Vector3(0, 0, 1) }, uRingN: { value: new T.Vector3(0, 1, 0) } },
|
|
@@ -126,7 +127,7 @@ export function createBodyItem(options) {
|
|
|
126
127
|
scene.add(piece);
|
|
127
128
|
return { mesh: piece, material };
|
|
128
129
|
};
|
|
129
|
-
ringHalves = [half("e", 0, false), half("w",
|
|
130
|
+
ringHalves = [half("e", 0, false), half("w", 0, true)];
|
|
130
131
|
}
|
|
131
132
|
// the glow of a star
|
|
132
133
|
let glow;
|
package/dist/scene/painter.js
CHANGED
|
@@ -139,6 +139,7 @@ function paint(T, id, context, bases) {
|
|
|
139
139
|
fragmentShader: RING_FRAGMENT_WORLD,
|
|
140
140
|
side: T.DoubleSide,
|
|
141
141
|
transparent: true,
|
|
142
|
+
premultipliedAlpha: true,
|
|
142
143
|
depthWrite: false,
|
|
143
144
|
uniforms: { uRingTex: { value: strip }, uRingR: { value: new T.Vector2(ringInner, ringOuter) }, uLight: { value: new T.Vector3(1, 0, 0) }, uRingN: { value: new T.Vector3(0, 1, 0) }, uScale: { value: 1 } },
|
|
144
145
|
});
|
|
@@ -166,6 +167,8 @@ function paint(T, id, context, bases) {
|
|
|
166
167
|
ringMesh.geometry.dispose();
|
|
167
168
|
ringMesh.geometry = new T.RingGeometry(ringInner, ringOuter, 256, 1);
|
|
168
169
|
disposables.push(ringMesh.geometry);
|
|
170
|
+
ringMaterial.premultipliedAlpha = false;
|
|
171
|
+
ringMaterial.needsUpdate = true;
|
|
169
172
|
ringMaterial.uniforms.uRingTex.value = t;
|
|
170
173
|
ringMaterial.uniforms.uRingR.value.set(ringInner, ringOuter);
|
|
171
174
|
for (const m of materials) {
|
package/dist/scene/rings.js
CHANGED
|
@@ -57,10 +57,12 @@ export function ringStrip(facts, width = 1024) {
|
|
|
57
57
|
weight += inside;
|
|
58
58
|
}
|
|
59
59
|
const t = weight > 0 ? Math.min(1, tone / weight) : 0;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
data[x * 4
|
|
63
|
-
data[x * 4 +
|
|
60
|
+
const a = Math.min(1, alpha);
|
|
61
|
+
// The colour is stored already multiplied by the opacity. A clear part of the strip is black, so it stays clear even when a sampler drops the alpha.
|
|
62
|
+
data[x * 4] = Math.round((dark[0] + (light[0] - dark[0]) * t) * a);
|
|
63
|
+
data[x * 4 + 1] = Math.round((dark[1] + (light[1] - dark[1]) * t) * a);
|
|
64
|
+
data[x * 4 + 2] = Math.round((dark[2] + (light[2] - dark[2]) * t) * a);
|
|
65
|
+
data[x * 4 + 3] = Math.round(a * 255);
|
|
64
66
|
}
|
|
65
67
|
return { data, width, inner: from / facts.radiusKm, outer: to / facts.radiusKm };
|
|
66
68
|
}
|
package/dist/time.d.ts
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A time as a Julian date: the days since noon on 1 January 4713 BC (Julian calendar), as a number. A `Date` or milliseconds since 1970 in, the same scale out (UTC stays UTC).
|
|
3
|
+
* A number near today holds about a tenth of a millisecond; `toJulianDay` and `toMillisecondsInJulianDay` give the same instant with nothing lost.
|
|
4
|
+
* @param ms - Milliseconds since 1970.
|
|
5
|
+
* @returns The Julian date.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* import { toJulianDate } from "@johnmorrisdotca/wakusei-planets/time";
|
|
10
|
+
*
|
|
11
|
+
* console.log(toJulianDate(Date.UTC(2013, 10, 21, 10, 47, 2)).toFixed(6));
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare function toJulianDate(ms: number): number;
|
|
15
|
+
/**
|
|
16
|
+
* The time, in milliseconds since 1970, of a Julian date.
|
|
17
|
+
* @param jd - The Julian date.
|
|
18
|
+
* @returns Milliseconds since 1970.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* import { fromJulianDate } from "@johnmorrisdotca/wakusei-planets/time";
|
|
23
|
+
*
|
|
24
|
+
* console.log(new Date(fromJulianDate(2451545)).toISOString());
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare function fromJulianDate(jd: number): number;
|
|
28
|
+
/**
|
|
29
|
+
* The modified Julian date: the Julian date less 2,400,000.5, so a day starts at midnight and the numbers are shorter.
|
|
30
|
+
* @param ms - Milliseconds since 1970.
|
|
31
|
+
* @returns The modified Julian date.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* import { modifiedJulianDate } from "@johnmorrisdotca/wakusei-planets/time";
|
|
36
|
+
*
|
|
37
|
+
* console.log(modifiedJulianDate(Date.UTC(2000, 0, 1)));
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare function modifiedJulianDate(ms: number): number;
|
|
41
|
+
/**
|
|
42
|
+
* The whole Julian day of a time. A Julian day starts at noon, so 11:59 and 12:00 are in different days.
|
|
43
|
+
* @param ms - Milliseconds since 1970.
|
|
44
|
+
* @returns The integer Julian day number.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* import { toJulianDay } from "@johnmorrisdotca/wakusei-planets/time";
|
|
49
|
+
*
|
|
50
|
+
* console.log(toJulianDay(Date.UTC(2000, 0, 1, 12)));
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare function toJulianDay(ms: number): number;
|
|
54
|
+
/**
|
|
55
|
+
* The milliseconds since noon, the start of the Julian day, that a time is into it.
|
|
56
|
+
* @param ms - Milliseconds since 1970.
|
|
57
|
+
* @returns Milliseconds from 0 up to one day.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* import { toMillisecondsInJulianDay } from "@johnmorrisdotca/wakusei-planets/time";
|
|
62
|
+
*
|
|
63
|
+
* console.log(toMillisecondsInJulianDay(Date.UTC(2000, 0, 1, 18)));
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
export declare function toMillisecondsInJulianDay(ms: number): number;
|
|
67
|
+
/**
|
|
68
|
+
* A time from a Julian day and the milliseconds into it, with no digit lost: `fromJulianDayAndMilliseconds(toJulianDay(t), toMillisecondsInJulianDay(t))` is `t`.
|
|
69
|
+
* @param day - The integer Julian day number.
|
|
70
|
+
* @param msInDay - Milliseconds since the day began at noon.
|
|
71
|
+
* @returns Milliseconds since 1970.
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* ```ts
|
|
75
|
+
* import { fromJulianDayAndMilliseconds, toJulianDay, toMillisecondsInJulianDay } from "@johnmorrisdotca/wakusei-planets/time";
|
|
76
|
+
*
|
|
77
|
+
* const t = Date.UTC(2026, 10, 7, 9, 30, 15, 123);
|
|
78
|
+
* console.log(fromJulianDayAndMilliseconds(toJulianDay(t), toMillisecondsInJulianDay(t)) === t);
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
export declare function fromJulianDayAndMilliseconds(day: number, msInDay: number): number;
|
|
82
|
+
/**
|
|
83
|
+
* Terrestrial time minus the clock's time, in seconds, at a moment given in UTC: 69.184 from the last leap second in 2017 on (until another is added), exact from 1972, and delta T before.
|
|
84
|
+
* @param ms - Milliseconds since 1970 (UTC).
|
|
85
|
+
* @returns Seconds to add to UTC to get TT.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* ```ts
|
|
89
|
+
* import { ttMinusUtc } from "@johnmorrisdotca/wakusei-planets/time";
|
|
90
|
+
*
|
|
91
|
+
* console.log(ttMinusUtc(Date.UTC(2026, 10, 7)));
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
94
|
+
export declare function ttMinusUtc(ms: number): number;
|
|
95
|
+
/**
|
|
96
|
+
* A moment in UTC as the same moment in terrestrial time, on the same scale of milliseconds since 1970.
|
|
97
|
+
* @param ms - Milliseconds since 1970 (UTC).
|
|
98
|
+
* @returns The same moment in TT, in milliseconds.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* ```ts
|
|
102
|
+
* import { toTerrestrialTime } from "@johnmorrisdotca/wakusei-planets/time";
|
|
103
|
+
*
|
|
104
|
+
* const utc = Date.UTC(2000, 0, 1, 12);
|
|
105
|
+
* console.log((toTerrestrialTime(utc) - utc) / 1000);
|
|
106
|
+
* ```
|
|
107
|
+
*/
|
|
108
|
+
export declare function toTerrestrialTime(ms: number): number;
|
package/dist/time.js
ADDED
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
// Time for the sky: Julian dates, and the step from the clock (UTC) to terrestrial time (TT), the dynamical time the planets' theories are written in. Pure: no DOM, no three.js.
|
|
2
|
+
// From 1972 the step is exact: TT is TAI plus 32.184 seconds and TAI is UTC plus the leap seconds (IERS Bulletin C). Before 1972 it is delta T, from the polynomials of Espenak and Meeus
|
|
3
|
+
// (NASA, https://eclipse.gsfc.nasa.gov/SEhelp/deltatpoly2004.html, for 1800 to 1972) and Morrison and Stephenson's parabola outside 1800 to 1972.
|
|
4
|
+
const DAY_MS = 86_400_000;
|
|
5
|
+
/** The Julian date of the Unix epoch, 1970-01-01T00:00:00Z. */
|
|
6
|
+
const UNIX_EPOCH_JD = 2_440_587.5;
|
|
7
|
+
/** The Julian date of the Unix epoch in milliseconds: exact in a 64-bit number, so the day and the milliseconds of the day lose nothing. */
|
|
8
|
+
const JD_EPOCH_MS = 210_866_760_000_000;
|
|
9
|
+
const MJD_OFFSET = 2_400_000.5;
|
|
10
|
+
const TT_MINUS_TAI_SECONDS = 32.184;
|
|
11
|
+
/** The length of a Gregorian year in milliseconds, for turning a time into a decimal year. */
|
|
12
|
+
const YEAR_MS = 31_556_952_000;
|
|
13
|
+
/** TAI minus UTC, in seconds, from the date it took effect (IERS Bulletin C). After the last one, none has been added. */
|
|
14
|
+
const LEAP_SECONDS = [
|
|
15
|
+
[Date.UTC(1972, 0, 1), 10], [Date.UTC(1972, 6, 1), 11], [Date.UTC(1973, 0, 1), 12], [Date.UTC(1974, 0, 1), 13], [Date.UTC(1975, 0, 1), 14], [Date.UTC(1976, 0, 1), 15],
|
|
16
|
+
[Date.UTC(1977, 0, 1), 16], [Date.UTC(1978, 0, 1), 17], [Date.UTC(1979, 0, 1), 18], [Date.UTC(1980, 0, 1), 19], [Date.UTC(1981, 6, 1), 20], [Date.UTC(1982, 6, 1), 21],
|
|
17
|
+
[Date.UTC(1983, 6, 1), 22], [Date.UTC(1985, 6, 1), 23], [Date.UTC(1988, 0, 1), 24], [Date.UTC(1990, 0, 1), 25], [Date.UTC(1991, 0, 1), 26], [Date.UTC(1992, 6, 1), 27],
|
|
18
|
+
[Date.UTC(1993, 6, 1), 28], [Date.UTC(1994, 6, 1), 29], [Date.UTC(1996, 0, 1), 30], [Date.UTC(1997, 6, 1), 31], [Date.UTC(1999, 0, 1), 32], [Date.UTC(2006, 0, 1), 33],
|
|
19
|
+
[Date.UTC(2009, 0, 1), 34], [Date.UTC(2012, 6, 1), 35], [Date.UTC(2015, 6, 1), 36], [Date.UTC(2017, 0, 1), 37],
|
|
20
|
+
];
|
|
21
|
+
/**
|
|
22
|
+
* A time as a Julian date: the days since noon on 1 January 4713 BC (Julian calendar), as a number. A `Date` or milliseconds since 1970 in, the same scale out (UTC stays UTC).
|
|
23
|
+
* A number near today holds about a tenth of a millisecond; `toJulianDay` and `toMillisecondsInJulianDay` give the same instant with nothing lost.
|
|
24
|
+
* @param ms - Milliseconds since 1970.
|
|
25
|
+
* @returns The Julian date.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```ts
|
|
29
|
+
* import { toJulianDate } from "@johnmorrisdotca/wakusei-planets/time";
|
|
30
|
+
*
|
|
31
|
+
* console.log(toJulianDate(Date.UTC(2013, 10, 21, 10, 47, 2)).toFixed(6));
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export function toJulianDate(ms) {
|
|
35
|
+
return ms / DAY_MS + UNIX_EPOCH_JD;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The time, in milliseconds since 1970, of a Julian date.
|
|
39
|
+
* @param jd - The Julian date.
|
|
40
|
+
* @returns Milliseconds since 1970.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```ts
|
|
44
|
+
* import { fromJulianDate } from "@johnmorrisdotca/wakusei-planets/time";
|
|
45
|
+
*
|
|
46
|
+
* console.log(new Date(fromJulianDate(2451545)).toISOString());
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
export function fromJulianDate(jd) {
|
|
50
|
+
return (jd - UNIX_EPOCH_JD) * DAY_MS;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* The modified Julian date: the Julian date less 2,400,000.5, so a day starts at midnight and the numbers are shorter.
|
|
54
|
+
* @param ms - Milliseconds since 1970.
|
|
55
|
+
* @returns The modified Julian date.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* ```ts
|
|
59
|
+
* import { modifiedJulianDate } from "@johnmorrisdotca/wakusei-planets/time";
|
|
60
|
+
*
|
|
61
|
+
* console.log(modifiedJulianDate(Date.UTC(2000, 0, 1)));
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
export function modifiedJulianDate(ms) {
|
|
65
|
+
return toJulianDate(ms) - MJD_OFFSET;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* The whole Julian day of a time. A Julian day starts at noon, so 11:59 and 12:00 are in different days.
|
|
69
|
+
* @param ms - Milliseconds since 1970.
|
|
70
|
+
* @returns The integer Julian day number.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* ```ts
|
|
74
|
+
* import { toJulianDay } from "@johnmorrisdotca/wakusei-planets/time";
|
|
75
|
+
*
|
|
76
|
+
* console.log(toJulianDay(Date.UTC(2000, 0, 1, 12)));
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
export function toJulianDay(ms) {
|
|
80
|
+
return Math.floor((ms + JD_EPOCH_MS) / DAY_MS);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* The milliseconds since noon, the start of the Julian day, that a time is into it.
|
|
84
|
+
* @param ms - Milliseconds since 1970.
|
|
85
|
+
* @returns Milliseconds from 0 up to one day.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* ```ts
|
|
89
|
+
* import { toMillisecondsInJulianDay } from "@johnmorrisdotca/wakusei-planets/time";
|
|
90
|
+
*
|
|
91
|
+
* console.log(toMillisecondsInJulianDay(Date.UTC(2000, 0, 1, 18)));
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
94
|
+
export function toMillisecondsInJulianDay(ms) {
|
|
95
|
+
const t = ms + JD_EPOCH_MS;
|
|
96
|
+
return t - Math.floor(t / DAY_MS) * DAY_MS;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* A time from a Julian day and the milliseconds into it, with no digit lost: `fromJulianDayAndMilliseconds(toJulianDay(t), toMillisecondsInJulianDay(t))` is `t`.
|
|
100
|
+
* @param day - The integer Julian day number.
|
|
101
|
+
* @param msInDay - Milliseconds since the day began at noon.
|
|
102
|
+
* @returns Milliseconds since 1970.
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* ```ts
|
|
106
|
+
* import { fromJulianDayAndMilliseconds, toJulianDay, toMillisecondsInJulianDay } from "@johnmorrisdotca/wakusei-planets/time";
|
|
107
|
+
*
|
|
108
|
+
* const t = Date.UTC(2026, 10, 7, 9, 30, 15, 123);
|
|
109
|
+
* console.log(fromJulianDayAndMilliseconds(toJulianDay(t), toMillisecondsInJulianDay(t)) === t);
|
|
110
|
+
* ```
|
|
111
|
+
*/
|
|
112
|
+
export function fromJulianDayAndMilliseconds(day, msInDay) {
|
|
113
|
+
return day * DAY_MS + msInDay - JD_EPOCH_MS;
|
|
114
|
+
}
|
|
115
|
+
function deltaT(year) {
|
|
116
|
+
if (year < 1800 || year >= 1972) {
|
|
117
|
+
const u = (year - 1820) / 100;
|
|
118
|
+
return -20 + 32 * u * u;
|
|
119
|
+
}
|
|
120
|
+
if (year < 1860) {
|
|
121
|
+
const t = year - 1800;
|
|
122
|
+
return 13.72 - 0.332447 * t + 0.0068612 * t ** 2 + 0.0041116 * t ** 3 - 0.00037436 * t ** 4 + 0.0000121272 * t ** 5 - 0.0000001699 * t ** 6 + 0.000000000875 * t ** 7;
|
|
123
|
+
}
|
|
124
|
+
if (year < 1900) {
|
|
125
|
+
const t = year - 1860;
|
|
126
|
+
return 7.62 + 0.5737 * t - 0.251754 * t ** 2 + 0.01680668 * t ** 3 - 0.0004473624 * t ** 4 + t ** 5 / 233174;
|
|
127
|
+
}
|
|
128
|
+
if (year < 1920) {
|
|
129
|
+
const t = year - 1900;
|
|
130
|
+
return -2.79 + 1.494119 * t - 0.0598939 * t ** 2 + 0.0061966 * t ** 3 - 0.000197 * t ** 4;
|
|
131
|
+
}
|
|
132
|
+
if (year < 1941) {
|
|
133
|
+
const t = year - 1920;
|
|
134
|
+
return 21.2 + 0.84493 * t - 0.0761 * t ** 2 + 0.0020936 * t ** 3;
|
|
135
|
+
}
|
|
136
|
+
if (year < 1961) {
|
|
137
|
+
const t = year - 1950;
|
|
138
|
+
return 29.07 + 0.407 * t - t ** 2 / 233 + t ** 3 / 2547;
|
|
139
|
+
}
|
|
140
|
+
const t = year - 1975;
|
|
141
|
+
return 45.45 + 1.067 * t - t ** 2 / 260 - t ** 3 / 718;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Terrestrial time minus the clock's time, in seconds, at a moment given in UTC: 69.184 from the last leap second in 2017 on (until another is added), exact from 1972, and delta T before.
|
|
145
|
+
* @param ms - Milliseconds since 1970 (UTC).
|
|
146
|
+
* @returns Seconds to add to UTC to get TT.
|
|
147
|
+
*
|
|
148
|
+
* @example
|
|
149
|
+
* ```ts
|
|
150
|
+
* import { ttMinusUtc } from "@johnmorrisdotca/wakusei-planets/time";
|
|
151
|
+
*
|
|
152
|
+
* console.log(ttMinusUtc(Date.UTC(2026, 10, 7)));
|
|
153
|
+
* ```
|
|
154
|
+
*/
|
|
155
|
+
export function ttMinusUtc(ms) {
|
|
156
|
+
if (ms >= LEAP_SECONDS[0][0]) {
|
|
157
|
+
let taiMinusUtc = LEAP_SECONDS[0][1];
|
|
158
|
+
for (const [from, seconds] of LEAP_SECONDS)
|
|
159
|
+
if (ms >= from)
|
|
160
|
+
taiMinusUtc = seconds;
|
|
161
|
+
return taiMinusUtc + TT_MINUS_TAI_SECONDS;
|
|
162
|
+
}
|
|
163
|
+
return deltaT(1970 + ms / YEAR_MS);
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* A moment in UTC as the same moment in terrestrial time, on the same scale of milliseconds since 1970.
|
|
167
|
+
* @param ms - Milliseconds since 1970 (UTC).
|
|
168
|
+
* @returns The same moment in TT, in milliseconds.
|
|
169
|
+
*
|
|
170
|
+
* @example
|
|
171
|
+
* ```ts
|
|
172
|
+
* import { toTerrestrialTime } from "@johnmorrisdotca/wakusei-planets/time";
|
|
173
|
+
*
|
|
174
|
+
* const utc = Date.UTC(2000, 0, 1, 12);
|
|
175
|
+
* console.log((toTerrestrialTime(utc) - utc) / 1000);
|
|
176
|
+
* ```
|
|
177
|
+
*/
|
|
178
|
+
export function toTerrestrialTime(ms) {
|
|
179
|
+
return ms + ttMinusUtc(ms) * 1000;
|
|
180
|
+
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.19.0";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "0.
|
|
1
|
+
export const VERSION = "0.19.0";
|
package/package.json
CHANGED
|
@@ -1,25 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@johnmorrisdotca/wakusei-planets",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "Wakusei Planets 惑星 — The Sun, planets and moons for the web: each as a clean line drawing, a shaded realistic drawing or a painted surface map, with real sizes, axial tilt and rotation as data, and positions of the moons for any date and time. SVG for the lines, three.js (optional) for the rest.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"planets",
|
|
7
|
+
"planet",
|
|
7
8
|
"solar-system",
|
|
8
9
|
"sun",
|
|
9
10
|
"moon",
|
|
10
11
|
"moons",
|
|
12
|
+
"mercury",
|
|
13
|
+
"venus",
|
|
14
|
+
"earth",
|
|
15
|
+
"mars",
|
|
11
16
|
"jupiter",
|
|
12
17
|
"saturn",
|
|
13
|
-
"
|
|
18
|
+
"uranus",
|
|
19
|
+
"neptune",
|
|
20
|
+
"pluto",
|
|
21
|
+
"dwarf-planets",
|
|
14
22
|
"astronomy",
|
|
15
23
|
"ephemeris",
|
|
24
|
+
"heliocentric",
|
|
25
|
+
"orbit",
|
|
26
|
+
"orbits",
|
|
27
|
+
"rotation",
|
|
28
|
+
"celestial",
|
|
29
|
+
"space",
|
|
30
|
+
"nasa",
|
|
31
|
+
"jpl",
|
|
16
32
|
"web-component",
|
|
17
33
|
"custom-element",
|
|
18
34
|
"svg",
|
|
19
35
|
"three",
|
|
20
36
|
"webgl",
|
|
37
|
+
"3d",
|
|
21
38
|
"line-drawing",
|
|
22
|
-
"typescript"
|
|
39
|
+
"typescript",
|
|
40
|
+
"javascript",
|
|
41
|
+
"browser"
|
|
23
42
|
],
|
|
24
43
|
"homepage": "https://johnmorrisdotca.github.io/wakusei-planets/",
|
|
25
44
|
"repository": {
|
|
@@ -59,6 +78,11 @@
|
|
|
59
78
|
"import": "./dist/portrait/element.js",
|
|
60
79
|
"default": "./dist/portrait/element.js"
|
|
61
80
|
},
|
|
81
|
+
"./time": {
|
|
82
|
+
"types": "./dist/time.d.ts",
|
|
83
|
+
"import": "./dist/time.js",
|
|
84
|
+
"default": "./dist/time.js"
|
|
85
|
+
},
|
|
62
86
|
"./look": {
|
|
63
87
|
"types": "./dist/scene/look.d.ts",
|
|
64
88
|
"import": "./dist/scene/look.js",
|
|
@@ -240,7 +264,7 @@
|
|
|
240
264
|
},
|
|
241
265
|
"packageManager": "pnpm@10.28.0",
|
|
242
266
|
"dependencies": {
|
|
243
|
-
"@johnmorrisdotca/kazoku-ui": "^0.
|
|
267
|
+
"@johnmorrisdotca/kazoku-ui": "^0.19.0"
|
|
244
268
|
},
|
|
245
269
|
"peerDependencies": {
|
|
246
270
|
"@johnmorrisdotca/chikyu-earth": ">=0.10.0",
|