Skip to content

Releases: hyqzz/Solar-Wanderer

v2.2.0 — 行星大气真实化:火星蓝色日落 · 金星橙色天空

21 Jun 12:10

Choose a tag to compare

🌌 Solar Wanderer v2.2.0

核心更新:行星大气物理真实化

🔴 火星 Mars

  • 蓝色日落:实现分光 Henyey-Greenstein 相位函数(mieG 分光 vec3),Fe₂O₃ 尘埃蓝光前向散射系数约为红光 1.8 倍,太阳接近地平线时形成标志性蓝色/青色光晕(Curiosity Sol-956、Perseverance Sol-257 实拍印证)
  • 白昼天空:引入分离式 interiorBoost 机制,Rayleigh boost=8 使地表呈现正确的琥珀/黄褐色天空(独立于 Mie,不影响太空视角)
  • 太阳可见性:mieG[2] 从 0.88 降至 0.72(物理实测 Fe₂O₃ 范围),消除前向散射过曝;太阳盘面现在清晰可见
  • 太空大气光晕:Rayleigh 系数恢复物理量级,太空看火星呈现真实的极薄气雾(非厚重白色球壳)
  • 正午无星:skyFade 系数调至 1.0,正午地表星星完全消失(物理正确)
  • 大气纵深:fog density 与 haze 系数联动,地表 20~50km 尘霾可见度

🟡 金星 Venus

  • 太空云层纹理:multiplier 从 6 降至 1.5,云层贴图(venus_atmosphere.jpg)现在清晰可见,日夜终结线明显
  • 地表橙色天空:Rayleigh 重新标定为橙色偏向 [8e-6, 4.5e-6, 1.0e-6](CO₂+H₂SO₄ 吸收蓝光),interiorBoost=5 精确控制 ACES 不过曝,地表天空呈琥珀/橙色(与 Venera 着陆器实拍一致)
  • 太阳不可见:mieG=0.65 降低前向散射,地表看不到太阳盘面(正确,厚云层完全遮挡)
  • 地表能见度:fogDensityMult=5,地表水平能见度约 5~20km(Venera 实测数据)

🛠️ 大气着色器基础架构

  • uBetaM 从 float 升级为 vec3(分光 Mie,支持波长相关散射)
  • uG 从 float 升级为 vec3(分光 Henyey-Greenstein,蓝光前向峰更尖)
  • inscM 从 float 升级为 vec3(保留各波段透射率差异)
  • 新增 uBoostM uniform(独立 Mie 增幅,与 Rayleigh boost 分离)
  • 新增 fogDensityMult 参数(极厚大气行星专用)

质量保证

  • 35/35 单元测试通过(星历精度 ≤ 0.074°)
  • 所有改动通过 inAtmo 条件门控,探索模式太空视角零影响
  • headless Puppeteer 截图回归验证

Solar Wanderer v2.1.0

19 Jun 13:36

Choose a tag to compare

??????????????

  • ?? SimClock.tick ? 60 ?????,??/???????????????????????
  • ?? �isibilitychange / pageshow / ocus ???????,???????????????????
  • ??????????????????

??????? CHANGELOG?

v2.0.0 - Full Mobile Support

14 Jun 18:24

Choose a tag to compare

Solar Wanderer v2.0.0 - Full Mobile Support

Explore the real-time positions of every planet, moon, and thousands of small bodies at true 1:1 scale, powered by NASA JPL ephemeris. No install. Opens in any modern browser.

What's New in v2.0.0

Complete Mobile Experience:

  • Touch controls: pinch-to-zoom, single-finger orbit, two-finger pan
  • Persistent time widget at top-right (always visible, tap to expand time/display controls)
  • Bottom action drawer with contextual buttons (Land, Fly, Jump, Run, Takeoff)
  • Directory bottom sheet with full celestial body catalog via menu button
  • Target info panel: tap any label for distance, gravity, orbital period, educational facts
  • Smart layout: UI elements avoid overlap on all screen sizes

UI Polish:

  • Desktop directory repositioned below time panel to prevent overlap
  • Collapsible panels now reliably hide/show
  • Action buttons correctly hidden when switching between orbit, walk, and fly modes

Features

  • Scale: True 1:1 km, 0.5 m surface to 100,000 AU Oort Cloud
  • Ephemeris: NASA JPL - planets under 0.074 degrees, Moon about 0.12 degrees, moons under 0.22 degrees
  • Bodies: 8 planets, Moon, 100+ moons, asteroid belt, comets, TNOs, 21 real stars with 3D parallax
  • Terrain: Multi-scale procedural with real albedo fusion
  • Atmosphere: Raymarched scattering, gas giant immersive entry
  • Modes: Orbit (Google Earth-style), Free Flight (6DOF), Surface Walk, Underwater
  • Time control: Adjustable warp 1s to 10yr/s reversible, pause, jump to now
  • Mobile: Full touch support
  • i18n: Chinese/English UI with browser language auto-detect

Try It

https://sw.icodestar.net - no install required

Tech Stack

Three.js 0.165, Vite 5, WebGL2, Logarithmic depth buffer, Native ESM

Data Credits

Ephemeris: NASA JPL (Standish planetary elements + Horizons-fitted moon orbits)
Textures: NASA/USGS, Solar System Scope CC-BY-4.0, Steve Albers SOS, JPL Photojournal


If you find Solar Wanderer beautiful or useful, starring the repo takes 2 seconds and helps others discover it!

Solar Wanderer v1.2.0

14 Jun 05:57

Choose a tag to compare

What's New

  • 启动页整体重设计:星际之门风格玻璃态首页,星云/粒子背景、中文标题青色辉光、进度条融入进入按钮
  • 加载中/完成态 UI 视觉统一:按钮位置、亮度、边框、发光始终一致,仅文字与底部进度填充变化
  • 修复大气层遮挡 bug:卫星/天体现在正确遮挡行星大气(土卫一遮挡土星等)
  • 完整保留中英文 i18n,中文游戏名始终固定显示在上方

Links

v1.1.0 — Now the entire solar system, in a browser tab

13 Jun 14:52

Choose a tag to compare

🚀 Solar Wanderer v1.1.0 — Now the entire solar system, in a browser tab

What's new in v1.1.0: the simulation now spans the whole solar system out to ~2 light-years — 28 real trans-Neptunian objects (Eris, Sedna, Makemake, Haumea, Quaoar…) on true JPL orbits, the Oort Cloud as a statistical particle shell, real 3D stellar parallax for 21 bright stars, and light-year distance units.

A 1:1 real-time solar system explorer that runs entirely in your browser. The planets are computed from NASA JPL ephemerides against your system clock — so when you open it, everything is where it actually is right now.

▶ Try it instantly: https://sw.icodestar.net — zero install, zero account, ~180 kB gzipped.

What you can do

  • 🌍 Scroll from Earth orbit down to walking on the Moon — no loading screen, no cut. Look up: Earth hangs full and blue in the black lunar sky.
  • 🚶 Land and walk on 19 solid worlds with real surface gravity. Jump 6× higher on the Moon. Dive underwater on Earth.
  • 🌅 Ray-marched atmospheres — blue limb from space, red sunsets, butterscotch Martian sky. Fly into Jupiter's cloud deck.
  • 🪐 Saturn's rings with ice-particle scatter and a shadow cast onto the planet body.
  • ☄️ The full solar system — asteroid belt, Kuiper belt, 28 real trans-Neptunian objects (Eris, Sedna, Makemake…), the Oort Cloud, out to ~2 light-years.
  • 🚀 6DOF free flight 1 m/s → 2 AU/s, time-warp ×10 years/s, freeze anywhere.
  • 🔭 21 real bright stars at true 3D positions — you see real parallax as you move through the solar system.

Why it's different

Scale True 1:1 km — floating-origin + log depth renders 0.5 m to 100,000 AU seamlessly
Accuracy JPL Horizons verified — ≤0.074° for planets, 21 moons fitted from state vectors. Run npm run verify yourself.
Immersion Continuous orbit → atmosphere → surface → walking → underwater, no cuts
Footprint Pure Three.js + Vite, no backend, no account, MIT

Under the hood

Floating-origin scene graph (Float64 positions, downcast to Float32 only after camera subtraction), logarithmic depth buffer, ray-marched Rayleigh+Mie atmospheres, GPU auto-tiering. All ephemeris code is pure functions, Node-testable, cross-checked against the live NASA JPL Horizons API.

Get started

git clone https://github.com/hyqzz/Solar-Wanderer.git
cd Solar-Wanderer && npm install && npm run dev

Or just open https://sw.icodestar.net.


Contributions welcome — translations, real DEM terrain, eclipse shadows, sound, mobile touch. See CONTRIBUTING.md and the good first issue label.

⭐ Star it if it made you feel small in a good way.

v1.0.0 — Full Heliosphere Release

13 Jun 10:07

Choose a tag to compare

Solar Wanderer v1.0.0

▶ Live Demo — open in any modern browser, zero install.

What is this?

A 1:1 real-time solar system explorer running entirely in your browser. Planet positions are computed from NASA JPL ephemerides against your system clock — the solar system you see is the solar system as it is right now.

Highlights

  • 🌍 Seamless landing — scroll from Earth orbit continuously down to walking on the Moon surface. No cuts, no loading screens.
  • 📏 True 1:1 scale — floating-origin + logarithmic depth renders 0.5 m to 120 AU without z-fighting
  • 🌅 Ray-marched atmospheres — Rayleigh+Mie scattering per planet; dive into Jupiter's cloud deck
  • 🚶 Land and walk on 19 solid worlds with real surface gravity; dive underwater on Earth
  • 🪐 Saturn's rings — NASA gold-brown tint, ice-particle scatter, shadow cast on planet body
  • ☄️ Full heliosphere — asteroid belt, Kuiper belt, zodiacal light, termination shock, heliopause, Voyager 1 & 2
  • 🔭 21 real bright stars (Hipparcos catalog)
  • Time machine — pause, rewind, 10 years/second, one key back to now
  • 🔬 Verifiablenpm run verify cross-checks live against NASA JPL Horizons API

Accuracy (vs NASA JPL Horizons)

Body Error
Planets (9) 0.0007° – 0.074°
Moon 0.12°
Moons (21) 0° at epoch · ≤0.22° after 10 days

Quick Start

git clone https://github.com/hyqzz/Solar-Wanderer.git
cd Solar-Wanderer
npm install
npm run dev

Or just open https://sw.icodestar.net — nothing to install.

Tech

Three.js 0.165 · Vite 5 · native ESM · WebGL2 · ~170 kB gzipped · no backend · MIT license