# redxdevil7117/lunar-xxix architecture

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

- Interactive diagram: https://gitdiagram.com/redxdevil7117/lunar-xxix
- Repository: https://github.com/redxdevil7117/lunar-xxix

## Overview

LUNARXXIX is a single-page, cinematic interactive experience: visitors enter its moonlit scene, progress through narrative screens, play a badminton-inspired trial, and reach a verdict and birthday reveal. The runtime is concentrated in src/main.js, which builds the page and handles interaction and animation; styling is imported from src/style.css and GSAP supplies animations. The README also describes cosmic particles and responsive design, but the excerpts do not show their implementation details, so those are not modeled as separate components.

Main entry points: [`src/main.js`](https://github.com/redxdevil7117/lunar-xxix/blob/main/src/main.js) (Experience Runtime), [`src/style.css`](https://github.com/redxdevil7117/lunar-xxix/blob/main/src/style.css) (Page Styles)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Experience"]
  node_runtime["Experience Runtime<br/>[main.js]"]
  node_moonlit["Moonlit Scene<br/>[main.js]"]
  node_narrative["Narrative Screens<br/>[main.js]"]
end

subgraph group_interaction["Interaction"]
  node_badminton["Badminton Trial<br/>[main.js]"]
  node_verdict["Verdict Screen<br/>[main.js]"]
  node_birthday["Birthday Reveal<br/>[main.js]"]
end

subgraph group_presentation["Presentation"]
  node_styles["Page Styles<br/>[style.css]"]
  node_gsap["GSAP"]
end

node_visitor(("Visitor"))

node_visitor -->|"interacts with"| node_runtime
node_runtime -->|"renders"| node_moonlit
node_runtime -->|"renders"| node_narrative
node_runtime -->|"renders"| node_badminton
node_runtime -->|"renders"| node_verdict
node_runtime -->|"renders"| node_birthday
node_runtime -->|"imports"| node_styles
node_runtime -->|"animates with"| node_gsap

click node_runtime "https://github.com/redxdevil7117/lunar-xxix/blob/main/src/main.js"
click node_moonlit "https://github.com/redxdevil7117/lunar-xxix/blob/main/src/main.js"
click node_narrative "https://github.com/redxdevil7117/lunar-xxix/blob/main/src/main.js"
click node_badminton "https://github.com/redxdevil7117/lunar-xxix/blob/main/src/main.js"
click node_verdict "https://github.com/redxdevil7117/lunar-xxix/blob/main/src/main.js"
click node_birthday "https://github.com/redxdevil7117/lunar-xxix/blob/main/src/main.js"
click node_styles "https://github.com/redxdevil7117/lunar-xxix/blob/main/src/style.css"

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_runtime,node_moonlit,node_narrative toneBlue
class node_badminton,node_verdict,node_birthday toneAmber
class node_styles,node_gsap toneMint
class node_visitor toneIndigo
```

## Components

### Experience

- [Experience Runtime](https://github.com/redxdevil7117/lunar-xxix/blob/main/src/main.js): `src/main.js`
- [Moonlit Scene](https://github.com/redxdevil7117/lunar-xxix/blob/main/src/main.js): `src/main.js`
- [Narrative Screens](https://github.com/redxdevil7117/lunar-xxix/blob/main/src/main.js): `src/main.js`

### Interaction

- [Badminton Trial](https://github.com/redxdevil7117/lunar-xxix/blob/main/src/main.js): `src/main.js`
- [Verdict Screen](https://github.com/redxdevil7117/lunar-xxix/blob/main/src/main.js): `src/main.js`
- [Birthday Reveal](https://github.com/redxdevil7117/lunar-xxix/blob/main/src/main.js): `src/main.js`

### Presentation

- [Page Styles](https://github.com/redxdevil7117/lunar-xxix/blob/main/src/style.css): `src/style.css`
- **GSAP**

### Other components

- **Visitor**

## Connections

- Visitor → Experience Runtime: interacts with (evidence: `README.md`)
- Experience Runtime → Moonlit Scene: renders (evidence: `src/main.js`)
- Experience Runtime → Narrative Screens: renders (evidence: `src/main.js`)
- Experience Runtime → Badminton Trial: renders (evidence: `src/main.js`)
- Experience Runtime → Verdict Screen: renders (evidence: `src/main.js`)
- Experience Runtime → Birthday Reveal: renders (evidence: `src/main.js`)
- Experience Runtime → Page Styles: imports (evidence: `src/main.js`)
- Experience Runtime → GSAP: animates with (evidence: `src/main.js`)
