# revfactory/bangtan-cat architecture

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

- Interactive diagram: https://gitdiagram.com/revfactory/bangtan-cat
- Repository: https://github.com/revfactory/bangtan-cat

## Overview

방탄 is a Korean motion-graphics showreel about Bangi and Tani, accompanied by a making-of film. The principal viewing flow enters the Remotion compositions, which assemble timed scenes and shared visual components with the project’s media. The README documents the showreel’s seven-part sequence and the making film’s eight production stages. The graph also includes the documented procedural music-generation capability; unsampled asset and production details are represented only where the README supports them.

Main entry points: [`showreel/src/Showreel.tsx`](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/Showreel.tsx) (Showreel timeline), [`showreel/src/making/Making.tsx`](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/making/Making.tsx) (Making timeline), [`showreel/src/Root.tsx`](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/Root.tsx) (Composition registry), [`showreel/src/scenes/S4Profiles.tsx`](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/scenes/S4Profiles.tsx) (Cat profiles)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Composition runtime"]
  node_root["Composition registry<br/>[Root.tsx]"]
  node_showreel_comp["Showreel timeline<br/>[Showreel.tsx]"]
  node_making_comp["Making timeline<br/>[Making.tsx]"]
  node_music["Music synthesis<br/>[music.py]"]
end

subgraph group_showreel["Showreel scenes"]
  node_intro["Countdown intro<br/>[S1Intro.tsx]"]
  node_title["Title scene<br/>[S2Title.tsx]"]
  node_kitten["Kitten match<br/>[S3Kitten.tsx]"]
  node_profiles["Cat profiles<br/>[S4Profiles.tsx]"]
  node_day["Daily moments<br/>[S5Day.tsx]"]
  node_stylelab["Style experiments<br/>[S6StyleLab.tsx]"]
  node_outro["Mosaic outro<br/>[S7Outro.tsx]"]
end

subgraph group_making["Making film"]
  node_making_a["Making stages 1–4<br/>[scenesA.tsx]"]
  node_making_b["Making stages 5–8<br/>[scenesB.tsx]"]
  node_making_c["Making scenes<br/>[scenesC.tsx]"]
  node_making_ui["Making overlays<br/>[ui.tsx]"]
end

subgraph group_shared["Visual system"]
  node_fx["Motion effects<br/>[fx.tsx]"]
  node_media["Media components<br/>[media.tsx]"]
  node_text["Kinetic typography<br/>[text.tsx]"]
  node_timing["Timing and style<br/>[core.ts]"]
  node_frame["Scene frames<br/>[frame.tsx]"]
end

node_viewer(("Viewer"))
node_assets["Project media assets"]

node_viewer -->|"opens"| node_root
node_root -->|"registers"| node_showreel_comp
node_root -->|"registers"| node_making_comp
node_showreel_comp -->|"renders"| node_intro
node_showreel_comp -->|"renders"| node_title
node_showreel_comp -->|"renders"| node_kitten
node_showreel_comp -->|"renders"| node_profiles
node_showreel_comp -->|"renders"| node_day
node_showreel_comp -->|"renders"| node_stylelab
node_showreel_comp -->|"renders"| node_outro
node_making_comp -->|"renders"| node_making_a
node_making_comp -->|"renders"| node_making_b
node_making_comp -->|"renders"| node_making_c
node_making_a -->|"uses overlays"| node_making_ui
node_making_b -->|"uses overlays"| node_making_ui
node_making_c -->|"uses overlays"| node_making_ui
node_day -->|"renders photos"| node_media
node_profiles -->|"renders cards"| node_media
node_day -->|"renders text"| node_text
node_profiles -->|"renders text"| node_text
node_showreel_comp -->|"renders transition"| node_fx
node_showreel_comp -->|"uses easing"| node_timing
node_showreel_comp -->|"uses scenes"| node_frame
node_showreel_comp -->|"loads soundtrack"| node_assets
node_music -->|"generates music"| node_assets
node_making_a -->|"shows source media"| node_assets

click node_root "https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/Root.tsx"
click node_showreel_comp "https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/Showreel.tsx"
click node_making_comp "https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/making/Making.tsx"
click node_intro "https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/scenes/S1Intro.tsx"
click node_title "https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/scenes/S2Title.tsx"
click node_kitten "https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/scenes/S3Kitten.tsx"
click node_profiles "https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/scenes/S4Profiles.tsx"
click node_day "https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/scenes/S5Day.tsx"
click node_stylelab "https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/scenes/S6StyleLab.tsx"
click node_outro "https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/scenes/S7Outro.tsx"
click node_making_a "https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/making/scenesA.tsx"
click node_making_b "https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/making/scenesB.tsx"
click node_making_c "https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/making/scenesC.tsx"
click node_making_ui "https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/making/ui.tsx"
click node_fx "https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/components/fx.tsx"
click node_media "https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/components/media.tsx"
click node_text "https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/components/text.tsx"
click node_timing "https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/lib/core.ts"
click node_frame "https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/lib/frame.tsx"
click node_music "https://github.com/revfactory/bangtan-cat/blob/main/showreel/tools/music.py"
click node_assets "https://github.com/revfactory/bangtan-cat/tree/main/showreel/public"

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_root,node_showreel_comp,node_making_comp,node_music,node_viewer toneBlue
class node_intro,node_title,node_kitten,node_profiles,node_day,node_stylelab,node_outro toneAmber
class node_making_a,node_making_b,node_making_c,node_making_ui toneMint
class node_fx,node_media,node_text,node_timing,node_frame toneRose
class node_assets toneTeal
```

## Components

### Composition runtime

- [Composition registry](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/Root.tsx): `showreel/src/Root.tsx`
- [Showreel timeline](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/Showreel.tsx): `showreel/src/Showreel.tsx`
- [Making timeline](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/making/Making.tsx): `showreel/src/making/Making.tsx`
- [Music synthesis](https://github.com/revfactory/bangtan-cat/blob/main/showreel/tools/music.py): `showreel/tools/music.py`

### Showreel scenes

- [Countdown intro](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/scenes/S1Intro.tsx): `showreel/src/scenes/S1Intro.tsx`
- [Title scene](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/scenes/S2Title.tsx): `showreel/src/scenes/S2Title.tsx`
- [Kitten match](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/scenes/S3Kitten.tsx): `showreel/src/scenes/S3Kitten.tsx`
- [Cat profiles](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/scenes/S4Profiles.tsx): `showreel/src/scenes/S4Profiles.tsx`
- [Daily moments](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/scenes/S5Day.tsx): `showreel/src/scenes/S5Day.tsx`
- [Style experiments](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/scenes/S6StyleLab.tsx): `showreel/src/scenes/S6StyleLab.tsx`
- [Mosaic outro](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/scenes/S7Outro.tsx): `showreel/src/scenes/S7Outro.tsx`

### Making film

- [Making stages 1–4](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/making/scenesA.tsx): `showreel/src/making/scenesA.tsx`
- [Making stages 5–8](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/making/scenesB.tsx): `showreel/src/making/scenesB.tsx`
- [Making scenes](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/making/scenesC.tsx): `showreel/src/making/scenesC.tsx`
- [Making overlays](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/making/ui.tsx): `showreel/src/making/ui.tsx`

### Visual system

- [Motion effects](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/components/fx.tsx): `showreel/src/components/fx.tsx`
- [Media components](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/components/media.tsx): `showreel/src/components/media.tsx`
- [Kinetic typography](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/components/text.tsx): `showreel/src/components/text.tsx`
- [Timing and style](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/lib/core.ts): `showreel/src/lib/core.ts`
- [Scene frames](https://github.com/revfactory/bangtan-cat/blob/main/showreel/src/lib/frame.tsx): `showreel/src/lib/frame.tsx`

### Other components

- **Viewer**
- [Project media assets](https://github.com/revfactory/bangtan-cat/tree/main/showreel/public): `showreel/public`

## Connections

- Viewer → Composition registry: opens
- Composition registry → Showreel timeline: registers (evidence: `showreel/src/Root.tsx`)
- Composition registry → Making timeline: registers (evidence: `showreel/src/Root.tsx`)
- Showreel timeline → Countdown intro: renders (evidence: `showreel/src/Showreel.tsx`)
- Showreel timeline → Title scene: renders (evidence: `showreel/src/Showreel.tsx`)
- Showreel timeline → Kitten match: renders (evidence: `showreel/src/Showreel.tsx`)
- Showreel timeline → Cat profiles: renders (evidence: `showreel/src/Showreel.tsx`)
- Showreel timeline → Daily moments: renders (evidence: `showreel/src/Showreel.tsx`)
- Showreel timeline → Style experiments: renders (evidence: `showreel/src/Showreel.tsx`)
- Showreel timeline → Mosaic outro: renders (evidence: `showreel/src/Showreel.tsx`)
- Making timeline → Making stages 1–4: renders (evidence: `showreel/src/making/Making.tsx`)
- Making timeline → Making stages 5–8: renders (evidence: `showreel/src/making/Making.tsx`)
- Making timeline → Making scenes: renders (evidence: `showreel/src/making/Making.tsx`)
- Making stages 1–4 → Making overlays: uses overlays (evidence: `showreel/src/making/scenesA.tsx`)
- Making stages 5–8 → Making overlays: uses overlays (evidence: `showreel/src/making/scenesB.tsx`)
- Making scenes → Making overlays: uses overlays (evidence: `showreel/src/making/scenesC.tsx`)
- Daily moments → Media components: renders photos (evidence: `showreel/src/scenes/S5Day.tsx`)
- Cat profiles → Media components: renders cards (evidence: `showreel/src/scenes/S4Profiles.tsx`)
- Daily moments → Kinetic typography: renders text (evidence: `showreel/src/scenes/S5Day.tsx`)
- Cat profiles → Kinetic typography: renders text (evidence: `showreel/src/scenes/S4Profiles.tsx`)
- Showreel timeline → Motion effects: renders transition (evidence: `showreel/src/Showreel.tsx`)
- Showreel timeline → Timing and style: uses easing (evidence: `showreel/src/Showreel.tsx`)
- Showreel timeline → Scene frames: uses scenes (evidence: `showreel/src/Showreel.tsx`)
- Showreel timeline → Project media assets: loads soundtrack (evidence: `showreel/src/Showreel.tsx`)
- Music synthesis → Project media assets: generates music (evidence: `README.md`)
- Making stages 1–4 → Project media assets: shows source media (evidence: `showreel/src/making/scenesA.tsx`)
