Solar Wanderer is a browser-based 1:1 real-time solar system explorer powered by NASA JPL ephemerides. Built with Three.js 0.165 and Vite 5, it renders the entire solar system at true scale (0.5m to 1e15 km) using a floating-origin world engine, logarithmic depth buffer, and Keplerian orbital mechanics. Users can seamlessly fly through space, walk on planetary surfaces (including real DEM terrain for Earth, Moon, Mars), dive into Earth's oceans, or orbit from a Google Earth-style camera. The application includes a bilingual (Chinese/English) interface with 7-language i18n, search, guided tours, educational facts with NASA sources, mobile touch controls, and shareable URLs. All ephemeris data—planets, 21 moons, 28 TNOs, 4 comets, and ~5400 small bodies—is generated offline via scripts that fetch from NASA JPL and fitted to Horizons state vectors. The architecture is a client-only SPA with modular ES modules; no backend, no registration, no cookies. The codebase demonstrates high craftsmanship in its floating-origin precision, pure-function ephemeris, procedural terrain generation, and real-time atmosphere scattering, though it carries technical debt from a monolithic main.js and incomplete i18n for half its languages.
寿星天文历 (sxwnl) is a comprehensive client-side Chinese astronomical calendar web application. It provides accurate lunar/solar calendar conversion, solar terms (jieqi), planetary and stellar ephemeris, solar/lunar eclipse prediction with interactive maps, rise/set times, and specialized tools (Julian day conversion, Chinese zodiac calculation). The entire application runs in the browser with no server backend, relying on hardcoded astronomical algorithms (VSOP87/ELP-based) and embedded data (city coordinates, historical calendar corrections, star catalogs). The architecture is monolithic: a single HTML page loads multiple JavaScript modules (eph0.js, eph.js, lunar.js, etc.) that manipulate the DOM directly. While the code is functional and accurate for its domain, it suffers from global namespace pollution, outdated browser API usage (VML, deprecated event handling), and a manual Windows-only build process. Despite these issues, individual modules like the ephemeris engine, lunar calendar class, and coordinate transformation utilities are self-contained and could be extracted for reuse in other astronomy or calendar projects.