# kanithecder89/threejs-solar-system architecture

> Architecture diagram of the GitHub repository kanithecder89/threejs-solar-system, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/kanithecder89/threejs-solar-system
- Repository: https://github.com/kanithecder89/threejs-solar-system

## Overview

This is a single-page interactive 3D solar-system experience. The documented user workflow is to view and interact with the animated scene, which features orbiting planets and a starfield, with camera controls and responsive presentation. The only source file is `solar/solar.html`; no source excerpts were provided, so the component relationships below rely on the README rather than inspected implementation details.

Main entry points: [`solar/solar.html`](https://github.com/kanithecder89/threejs-solar-system/blob/main/solar/solar.html) (Solar Experience)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("Viewer"))
node_experience["Solar Experience<br/>[solar.html]"]
node_planets["Orbiting Planets<br/>[solar.html]"]
node_starfield["Animated Starfield<br/>[solar.html]"]
node_controls["Camera Controls<br/>[solar.html]"]
node_responsive["Responsive Layout<br/>[solar.html]"]
node_threejs["Three.js"]

node_user -->|"views"| node_experience
node_experience -->|"uses"| node_threejs
node_experience -->|"showcases"| node_planets
node_experience -->|"showcases"| node_starfield
node_experience -->|"supports"| node_controls
node_experience -->|"supports"| node_responsive

click node_experience "https://github.com/kanithecder89/threejs-solar-system/blob/main/solar/solar.html"
click node_planets "https://github.com/kanithecder89/threejs-solar-system/blob/main/solar/solar.html"
click node_starfield "https://github.com/kanithecder89/threejs-solar-system/blob/main/solar/solar.html"
click node_controls "https://github.com/kanithecder89/threejs-solar-system/blob/main/solar/solar.html"
click node_responsive "https://github.com/kanithecder89/threejs-solar-system/blob/main/solar/solar.html"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_user toneBlue
class node_experience,node_planets,node_starfield,node_controls,node_responsive toneTeal
class node_threejs toneIndigo
```

## Components

### Other components

- **Viewer**
- [Solar Experience](https://github.com/kanithecder89/threejs-solar-system/blob/main/solar/solar.html): `solar/solar.html`
- [Orbiting Planets](https://github.com/kanithecder89/threejs-solar-system/blob/main/solar/solar.html): `solar/solar.html`
- [Animated Starfield](https://github.com/kanithecder89/threejs-solar-system/blob/main/solar/solar.html): `solar/solar.html`
- [Camera Controls](https://github.com/kanithecder89/threejs-solar-system/blob/main/solar/solar.html): `solar/solar.html`
- [Responsive Layout](https://github.com/kanithecder89/threejs-solar-system/blob/main/solar/solar.html): `solar/solar.html`
- **Three.js**

## Connections

- Viewer → Solar Experience: views (evidence: `README.md`)
- Solar Experience → Three.js: uses (evidence: `README.md`)
- Solar Experience → Orbiting Planets: showcases (evidence: `README.md`)
- Solar Experience → Animated Starfield: showcases (evidence: `README.md`)
- Solar Experience → Camera Controls: supports (evidence: `README.md`)
- Solar Experience → Responsive Layout: supports (evidence: `README.md`)
