All work

01 · Interface layer · 3D web application

Solaris

A whole solar system, explorable in a browser tab.

An interactive 3D observatory of the solar system: planets, moons, dwarf planets and comets on one shared clock, in the browser.

Role
Design and front-end development
Stack
TypeScript · Three.js · WebGL · Vite
Status
Live
Layer
01 — Interface

01 · Context

The question behind the build.

Orbital data is precise but abstract. Tables of Keplerian elements say little to most people until the bodies move, overlap and can be followed on screen.

Objective

Render the solar system in WebGL so it stays explorable rather than astronomically literal, with facts linked to their sources and full control over time.

Approach

Solaris uses Three.js, strict TypeScript and Vite. Planet positions come from JPL's approximate Keplerian elements; small bodies use an offline snapshot of JPL Small-Body Database data propagated with a two-body model.

02 · Architecture

How it fits together.

  1. 01JPL orbital elements
  2. 02Shared simulation clock
  3. 03Three.js scene and bodies
  4. 04Labels, controls and facts
Overview based on the documented source layout: orbits, small-body orbits, scene, labels and encyclopedia modules.

03 · Decisions

The choices that matter.

  1. 01

    One clock for everything

    Planets, moons, dwarf planets, comets and belts advance together, so switching between the inner, full and outer system never desynchronizes the scene.

  2. 02

    Compressed, honest scale

    Sizes and distances are compressed for readability on a screen. The project says plainly that it is a visualization, not a precision ephemeris.

  3. 03

    Labels that avoid each other

    A dedicated module lays out collision-aware labels, so names stay readable while bodies cross in front of one another.

The hard part

A scene this dense has to stay readable and responsive: many bodies, textured surfaces, belts and labels, with time running up to 1,000× faster.

04 · Implementation

From idea to working code.

The source separates the app shell, the scene, the space environment, planetary and small-body orbital elements, moons, the body encyclopedia and label layout into typed modules. The build is static and deploys continuously.

TypeScript / Documented module layout
src/
  main.ts               app shell, UI, interaction
  solar-scene.ts        scene, bodies, lighting, animation
  orbits.ts             Keplerian planetary elements
  small-body-orbits.ts  dwarf planet and comet elements
  scene-labels.ts       collision-aware label layout

05 · Outcome

The result, and the next question.

Live and continuously deployed, with public source. It shows a strong grasp of real-time 3D on the web: scene structure, time, and interface design around a moving subject.

Details summarized from the public README, which credits the work to Abhra and an AI assistant. Positions are approximate by design. Read the project documentation (opens in a new tab) ↗

Next · 02 Application layerAttendance Tracker