190,000 Star Systems and a Million Planets: How I'm Building GalaxyAtlas with AI Agents
说明与用途
GalaxyAtlas 是一个基于浏览器的 3D 银河,拥有 190,000 个星系和 1,000,000 个程序生成的行星,使用 AI 模型构建并针对普通电脑进行了优化。
问题
Developing a large‑scale, browser‑based 3D galaxy with realistic procedural planets while keeping performance acceptable on ordinary computers.
结果
GalaxyAtlas demonstrates that a complex, procedurally generated galaxy can be built and maintained using AI‑driven engineering, achieving a playable experience entirely within a web browser.
工作流
- 1. Validate concept with GPT Sites to create a quick prototype using HYG catalog data.
- 2. Expand prototype to include procedural galaxy generation (disk radius 15.3 kpc, pitch angle 13°, bar orientation 27°).
- 3. Implement lazy generation, LOD, resource reuse, and scene‑based resource release to keep GPU memory and draw calls low.
- 4. Use deterministic seed‑based procedural generation for planets and environments to allow repeatable exploration.
- 5. Integrate Three.js for rendering, applying atmospheric effects, fog, particles, and lighting while monitoring performance.
- 6. Iterate with AI models (GPT‑6 Astra) to generate code, fix bugs, and refine architecture.
- 7. Publish the final product as a browser link without a separate client.
证据
I managed to build a browser‑based atlas using data on more than 109,000 real stars from the HYG catalog and a procedural model of the galaxy.
GalaxyAtlas runs entirely in the browser, displays ~190,000 star systems, allows navigation, landing, and exploration of procedurally generated planets, and uses AI‑driven development to manage complexity.
Three.js became the foundation of GalaxyAtlas's 3D rendering.
- 记录日期: 2026-10-16T17:55:59.805Z