# qv4rk/v architecture

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

- Interactive diagram: https://gitdiagram.com/qv4rk/v
- Repository: https://github.com/qv4rk/v
- Video tour (about a minute): https://gitdiagram.com/qv4rk/v/video

## Overview

Veil_of_Babel is a repository of browser-based interactive experiences rather than one single-purpose application. Users enter through individual apps or the Orrery Lab host, then explore astronomical, historical, or practical subject matter through interactive visualizations and tools. The strongest evidenced orchestration flow is the Orrery Lab host creating app layers and updating shared camera and sky state. The tree also contains meal-planning, atlas, charting, reading, and other web apps. Evidence is uneven: edges are limited to shown imports/calls or indexed references; unsampled capabilities are represented without inferred wiring.

Main entry points: [`orrery-lab/app.js`](https://github.com/qv4rk/v/blob/main/orrery-lab/app.js) (Orrery Lab host), [`orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/main.js`](https://github.com/qv4rk/v/blob/main/orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/main.js) (Eclipse experience), [`necronomy-atlas/src/App.jsx`](https://github.com/qv4rk/v/blob/main/necronomy-atlas/src/App.jsx) (Necronomy Atlas), [`orrery-lab/src/atlas-cosmogram/js/main.js`](https://github.com/qv4rk/v/blob/main/orrery-lab/src/atlas-cosmogram/js/main.js) (Cosmogram)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_host["Experience host"]
  node_lab["Orrery Lab host<br/>[app.js]"]
  node_catalog["App catalog<br/>[catalog.js]"]
  node_camera["Shared camera"]
  node_layer["Layer host<br/>[layer-host.js]"]
  node_culture["Sky culture<br/>[culture-sky.js]"]
end

subgraph group_astro["Astronomy experiences"]
  node_cosmogram["Cosmogram<br/>[main.js]"]
  node_ephemeris["Orbital calculations<br/>[ephemeris.js]"]
  node_reading["Reading room<br/>[readingRoom.js]"]
  node_eclipse["Eclipse experience<br/>[main.js]"]
  node_eclipse_scene["Eclipse scene<br/>[eclipse-scene.js]"]
  node_orrery["Solar-system orrery<br/>[orrery.js]"]
  node_phenomena["Sky phenomena<br/>[phenomena.js]"]
  node_physics["Eclipse physics<br/>[physics.mjs]"]
end

subgraph group_atlas["Atlases and charts"]
  node_atlas_app["Necronomy Atlas<br/>[App.jsx]"]
  node_atlas_search["Event search<br/>[SearchBar.jsx]"]
  node_atlas_globe["Event globe<br/>[NecronomyGlobe.jsx]"]
  node_article_panel["Article panel<br/>[ArticlePanel.jsx]"]
  node_starfield["Starfield"]
  node_celestial["Celestial renderer<br/>[celestial.js]"]
  node_d3["D3 library<br/>[d3.js]"]
  node_d3_projection["D3 projections"]
end

subgraph group_tools["Personal tools"]
  node_meal_app["Meal planner app<br/>[App.tsx]"]
  node_meal_layout["Food search and log<br/>[SearchFocused.tsx]"]
  node_meal_store[("Intake state<br/>[store.ts]")]
  node_foods[("Food nutrition data<br/>[foods.ts]")]
  node_other_apps["Other web apps"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_lab
node_lab -->|"looks up apps"| node_catalog
node_lab -->|"creates controller"| node_camera
node_lab -->|"creates layers"| node_layer
node_lab -->|"updates sky"| node_culture
node_lab -.->|"hosts experiences"| node_other_apps
node_visitor -.->|"explores"| node_cosmogram
node_cosmogram -->|"calculates dates"| node_ephemeris
node_cosmogram -->|"opens articles"| node_reading
node_visitor -.->|"explores"| node_eclipse
node_eclipse -->|"uses orrery"| node_orrery
node_eclipse -->|"uses scene"| node_eclipse_scene
node_eclipse -->|"loads phenomena"| node_phenomena
node_eclipse -->|"uses physics"| node_physics
node_visitor -.->|"explores"| node_atlas_app
node_atlas_app -->|"renders search"| node_atlas_search
node_atlas_app -->|"renders filtered events"| node_atlas_globe
node_atlas_app -->|"renders panel"| node_article_panel
node_atlas_app -->|"renders background"| node_starfield
node_celestial -->|"uses"| node_d3
node_celestial -->|"uses"| node_d3_projection
node_visitor -.->|"plans meals"| node_meal_app
node_meal_app -->|"renders layout"| node_meal_layout
node_meal_app -->|"reads state"| node_meal_store
node_meal_layout -->|"searches foods"| node_foods
node_meal_layout -->|"logs intake"| node_meal_store

click node_lab "https://github.com/qv4rk/v/blob/main/orrery-lab/app.js"
click node_catalog "https://github.com/qv4rk/v/blob/main/orrery-lab/catalog.js"
click node_camera "https://github.com/qv4rk/v/blob/main/orrery-lab/camera-controller.js"
click node_layer "https://github.com/qv4rk/v/blob/main/orrery-lab/layer-host.js"
click node_culture "https://github.com/qv4rk/v/blob/main/orrery-lab/culture-sky.js"
click node_cosmogram "https://github.com/qv4rk/v/blob/main/orrery-lab/src/atlas-cosmogram/js/main.js"
click node_ephemeris "https://github.com/qv4rk/v/blob/main/orrery-lab/src/atlas-cosmogram/js/ephemeris.js"
click node_reading "https://github.com/qv4rk/v/blob/main/orrery-lab/src/atlas-cosmogram/js/readingRoom.js"
click node_eclipse "https://github.com/qv4rk/v/blob/main/orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/main.js"
click node_eclipse_scene "https://github.com/qv4rk/v/blob/main/orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/eclipse-scene.js"
click node_orrery "https://github.com/qv4rk/v/blob/main/orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/orrery/orrery.js"
click node_phenomena "https://github.com/qv4rk/v/blob/main/orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/phenomena.js"
click node_physics "https://github.com/qv4rk/v/blob/main/orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/physics.mjs"
click node_atlas_app "https://github.com/qv4rk/v/blob/main/necronomy-atlas/src/App.jsx"
click node_atlas_search "https://github.com/qv4rk/v/blob/main/necronomy-atlas/src/components/UI/SearchBar.jsx"
click node_atlas_globe "https://github.com/qv4rk/v/blob/main/necronomy-atlas/src/components/Globe/NecronomyGlobe.jsx"
click node_article_panel "https://github.com/qv4rk/v/blob/main/necronomy-atlas/src/components/UI/ArticlePanel.jsx"
click node_starfield "https://github.com/qv4rk/v/blob/main/necronomy-atlas/src/components/Starfield/StarfieldBackground.jsx"
click node_celestial "https://github.com/qv4rk/v/blob/main/necronomy-atlas/public/d3-celestial/celestial.js"
click node_d3 "https://github.com/qv4rk/v/blob/main/necronomy-atlas/public/d3-celestial/lib/d3.js"
click node_d3_projection "https://github.com/qv4rk/v/blob/main/necronomy-atlas/public/d3-celestial/lib/d3.geo.projection.js"
click node_meal_app "https://github.com/qv4rk/v/blob/main/methioninasemethods/src/App.tsx"
click node_meal_layout "https://github.com/qv4rk/v/blob/main/methioninasemethods/src/layouts/SearchFocused.tsx"
click node_meal_store "https://github.com/qv4rk/v/blob/main/methioninasemethods/src/store.ts"
click node_foods "https://github.com/qv4rk/v/blob/main/methioninasemethods/src/foods.ts"
click node_other_apps "https://github.com/qv4rk/v/tree/main/apps/webapps"

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_lab,node_catalog,node_camera,node_layer,node_culture toneBlue
class node_cosmogram,node_ephemeris,node_reading,node_eclipse,node_eclipse_scene,node_orrery,node_phenomena,node_physics toneAmber
class node_atlas_app,node_atlas_search,node_atlas_globe,node_article_panel,node_starfield,node_celestial,node_d3,node_d3_projection toneMint
class node_meal_app,node_meal_layout,node_meal_store,node_foods,node_other_apps toneRose
class node_visitor toneIndigo
```

## Components

### Experience host

- [Orrery Lab host](https://github.com/qv4rk/v/blob/main/orrery-lab/app.js): `orrery-lab/app.js`
- [App catalog](https://github.com/qv4rk/v/blob/main/orrery-lab/catalog.js): `orrery-lab/catalog.js`
- [Shared camera](https://github.com/qv4rk/v/blob/main/orrery-lab/camera-controller.js): `orrery-lab/camera-controller.js`
- [Layer host](https://github.com/qv4rk/v/blob/main/orrery-lab/layer-host.js): `orrery-lab/layer-host.js`
- [Sky culture](https://github.com/qv4rk/v/blob/main/orrery-lab/culture-sky.js): `orrery-lab/culture-sky.js`

### Astronomy experiences

- [Cosmogram](https://github.com/qv4rk/v/blob/main/orrery-lab/src/atlas-cosmogram/js/main.js): `orrery-lab/src/atlas-cosmogram/js/main.js`
- [Orbital calculations](https://github.com/qv4rk/v/blob/main/orrery-lab/src/atlas-cosmogram/js/ephemeris.js): `orrery-lab/src/atlas-cosmogram/js/ephemeris.js`
- [Reading room](https://github.com/qv4rk/v/blob/main/orrery-lab/src/atlas-cosmogram/js/readingRoom.js): `orrery-lab/src/atlas-cosmogram/js/readingRoom.js`
- [Eclipse experience](https://github.com/qv4rk/v/blob/main/orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/main.js): `orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/main.js`
- [Eclipse scene](https://github.com/qv4rk/v/blob/main/orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/eclipse-scene.js): `orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/eclipse-scene.js`
- [Solar-system orrery](https://github.com/qv4rk/v/blob/main/orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/orrery/orrery.js): `orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/orrery/orrery.js`
- [Sky phenomena](https://github.com/qv4rk/v/blob/main/orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/phenomena.js): `orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/phenomena.js`
- [Eclipse physics](https://github.com/qv4rk/v/blob/main/orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/physics.mjs): `orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/physics.mjs`

### Atlases and charts

- [Necronomy Atlas](https://github.com/qv4rk/v/blob/main/necronomy-atlas/src/App.jsx): `necronomy-atlas/src/App.jsx`
- [Event search](https://github.com/qv4rk/v/blob/main/necronomy-atlas/src/components/UI/SearchBar.jsx): `necronomy-atlas/src/components/UI/SearchBar.jsx`
- [Event globe](https://github.com/qv4rk/v/blob/main/necronomy-atlas/src/components/Globe/NecronomyGlobe.jsx): `necronomy-atlas/src/components/Globe/NecronomyGlobe.jsx`
- [Article panel](https://github.com/qv4rk/v/blob/main/necronomy-atlas/src/components/UI/ArticlePanel.jsx): `necronomy-atlas/src/components/UI/ArticlePanel.jsx`
- [Starfield](https://github.com/qv4rk/v/blob/main/necronomy-atlas/src/components/Starfield/StarfieldBackground.jsx): `necronomy-atlas/src/components/Starfield/StarfieldBackground.jsx`
- [Celestial renderer](https://github.com/qv4rk/v/blob/main/necronomy-atlas/public/d3-celestial/celestial.js): `necronomy-atlas/public/d3-celestial/celestial.js`
- [D3 library](https://github.com/qv4rk/v/blob/main/necronomy-atlas/public/d3-celestial/lib/d3.js): `necronomy-atlas/public/d3-celestial/lib/d3.js`
- [D3 projections](https://github.com/qv4rk/v/blob/main/necronomy-atlas/public/d3-celestial/lib/d3.geo.projection.js): `necronomy-atlas/public/d3-celestial/lib/d3.geo.projection.js`

### Personal tools

- [Meal planner app](https://github.com/qv4rk/v/blob/main/methioninasemethods/src/App.tsx): `methioninasemethods/src/App.tsx`
- [Food search and log](https://github.com/qv4rk/v/blob/main/methioninasemethods/src/layouts/SearchFocused.tsx): `methioninasemethods/src/layouts/SearchFocused.tsx`
- [Intake state](https://github.com/qv4rk/v/blob/main/methioninasemethods/src/store.ts): `methioninasemethods/src/store.ts`
- [Food nutrition data](https://github.com/qv4rk/v/blob/main/methioninasemethods/src/foods.ts): `methioninasemethods/src/foods.ts`
- [Other web apps](https://github.com/qv4rk/v/tree/main/apps/webapps): `apps/webapps`

### Other components

- **Visitor**

## Connections

- Visitor → Orrery Lab host: opens
- Orrery Lab host → App catalog: looks up apps (evidence: `orrery-lab/app.js`)
- Orrery Lab host → Shared camera: creates controller (evidence: `orrery-lab/app.js`)
- Orrery Lab host → Layer host: creates layers (evidence: `orrery-lab/app.js`)
- Orrery Lab host → Sky culture: updates sky (evidence: `orrery-lab/app.js`)
- Orrery Lab host → Other web apps: hosts experiences
- Visitor → Cosmogram: explores
- Cosmogram → Orbital calculations: calculates dates (evidence: `orrery-lab/src/atlas-cosmogram/js/main.js`)
- Cosmogram → Reading room: opens articles (evidence: `orrery-lab/src/atlas-cosmogram/js/main.js`)
- Visitor → Eclipse experience: explores
- Eclipse experience → Solar-system orrery: uses orrery (evidence: `orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/main.js`)
- Eclipse experience → Eclipse scene: uses scene (evidence: `orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/main.js`)
- Eclipse experience → Sky phenomena: loads phenomena (evidence: `orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/main.js`)
- Eclipse experience → Eclipse physics: uses physics (evidence: `orrery-lab/src/atlas-cosmogram/previews/orrery-sky-eclipse/main.js`)
- Visitor → Necronomy Atlas: explores
- Necronomy Atlas → Event search: renders search (evidence: `necronomy-atlas/src/App.jsx`)
- Necronomy Atlas → Event globe: renders filtered events (evidence: `necronomy-atlas/src/App.jsx`)
- Necronomy Atlas → Article panel: renders panel (evidence: `necronomy-atlas/src/App.jsx`)
- Necronomy Atlas → Starfield: renders background (evidence: `necronomy-atlas/src/App.jsx`)
- Celestial renderer → D3 library: uses (evidence: `necronomy-atlas/public/d3-celestial/celestial.js`)
- Celestial renderer → D3 projections: uses (evidence: `necronomy-atlas/public/d3-celestial/celestial.js`)
- Visitor → Meal planner app: plans meals
- Meal planner app → Food search and log: renders layout (evidence: `methioninasemethods/src/App.tsx`)
- Meal planner app → Intake state: reads state (evidence: `methioninasemethods/src/App.tsx`)
- Food search and log → Food nutrition data: searches foods (evidence: `methioninasemethods/src/layouts/SearchFocused.tsx`)
- Food search and log → Intake state: logs intake (evidence: `methioninasemethods/src/layouts/SearchFocused.tsx`)
