Spaces:
Running
Running
|
Download README.md from AK51/MOP_tutorial: direct link, hf CLI and curl.
- Browser
- Download file 4.14 kB
-
https://huggingface.co/spaces/AK51/MOP_tutorial/resolve/main/README.md
- Command line
-
hf download hf://spaces/AK51/MOP_tutorial/README.md
-
curl -L -o README.md https://huggingface.co/spaces/AK51/MOP_tutorial/resolve/main/README.md
4.14 kB
| title: Magnetospheres of the Outer Planets | |
| emoji: 🪐 | |
| colorFrom: indigo | |
| colorTo: purple | |
| sdk: static | |
| app_file: index.html | |
| pinned: false | |
| short_description: Interactive 3D guide to giant-planet magnetospheres & aurora | |
| # Magnetospheres of the Outer Planets · 3D Explorer | |
| An interactive public-outreach website, inspired by the [MOP 2028 conference](https://www.lsr.hku.hk/MOP/index.html) (Hong Kong, 10–14 January 2028), that explains the magnetospheres and aurora of Jupiter, Saturn, Uranus and Neptune to high-school students and the public. | |
| Created by **Andy Kong**. | |
| Languages: English, 简体中文, 繁體中文 (switch in the top-right corner; the choice is remembered). | |
| ## Features | |
| - **3D explorer** (three.js): planets with procedural surfaces, dipole field lines that are compressed by the solar wind and stretched into a magnetotail, magnetopause and bow shock, flowing solar-wind particles, the Io and Enceladus plasma tori, moons with flux tubes and auroral footprints, and layered aurora ovals. Uranus and Neptune use tilted, offset dipoles, so their magnetospheres wobble as they spin. | |
| - **Guided tour** in six steps (dynamo → solar wind → boundaries → moon plasma → aurora → ice giants). | |
| - **Real textures** for the planets, Saturn's rings, Earth's clouds and the Milky Way background. | |
| - **Moons**: 18 moons with mission mosaics (Earth's Moon; Io, Europa, Ganymede, Callisto; Mimas, Enceladus, Tethys, Dione, Rhea, Titan, Iapetus; Miranda, Ariel, Umbriel, Titania, Oberon; Triton). Click a moon in 3D, or use the Moons section, to fly to it and read about its role in the magnetosphere. | |
| - **Spacecraft**: 3D models of Voyager 2, Galileo, Cassini–Huygens, Juno, Hubble, JWST, JUICE and Europa Clipper, grouped by the 8 MOP 2028 conference themes. Tap the numbered markers to learn what each instrument does; each craft also lists its main discoveries. | |
| - **Aurora gallery**: animated polar views of the aurora on Earth, Jupiter, Saturn, Uranus and Neptune, drawn over the planet textures. | |
| - **Solar wind control** on the front page: a strength slider (magnetopause size and aurora power update live), a "launch a solar storm (CME)" button, and a "Hide menus" button (or press H) for an unobstructed view. | |
| - **Moon plasma effects**: plumes, auroral spots, Alfvén wings, pick-up ion tails, Ganymede's mini-magnetosphere and more. | |
| - **Size comparison**, **why study it**, **missions timeline**, a short **quiz**, **latest news** (ESA Plasma Observatory, 19 Nov 2026) and a **reference list**. | |
| ## Files | |
| ``` | |
| index.html page structure | |
| css/style.css styles | |
| js/main.js UI, language switching, tour, quiz | |
| js/scene.js three.js scene | |
| js/aurora2d.js 2D aurora animations | |
| js/i18n.js all text in three languages | |
| js/i18n_moons.js moon text in three languages | |
| js/i18n_craft.js spacecraft, instruments and MOP themes in three languages | |
| js/models.js procedural spacecraft models | |
| js/craft.js spacecraft viewer | |
| textures/ planet, ring, cloud, sky and moon textures (~2.9 MB) | |
| ``` | |
| No build step. three.js r160 is loaded from the jsDelivr CDN through an import map. | |
| ## Deploy to Hugging Face | |
| 1. Create a new Space and choose **Static** as the SDK. | |
| 2. Upload all files (keep this `README.md`, its header configures the Space), or push with git: | |
| ```bash | |
| git remote add space https://huggingface.co/spaces/<user>/<space-name> | |
| git push space main | |
| ``` | |
| ## Run locally | |
| ```bash | |
| python -m http.server 8000 | |
| # open http://localhost:8000 | |
| ``` | |
| Opening `index.html` directly from disk does not work because browsers block ES modules on `file://`. | |
| ## Notes | |
| The visualisation is simplified and not to scale. Aurora colours on the giant planets are false colour, because their aurora shine mainly in ultraviolet and infrared. Facts come from NASA, ESA, the MOP 2028 conference site and published research. | |
| Texture credits: planet, Moon, ring, cloud and Milky Way textures are from Solar System Scope (CC BY 4.0), based on NASA imagery. Moon mosaics are NASA/JPL/USGS (Galileo, Cassini, Voyager 2) via NOAA Science On a Sphere. All were taken from the AK51/SatelliteMap Space. | |