# sahil-dev7/naruto-sagemode architecture

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

- Interactive diagram: https://gitdiagram.com/sahil-dev7/naruto-sagemode
- Repository: https://github.com/sahil-dev7/naruto-sagemode

## Overview

This repository is a single-page Naruto transformation experience. Visitors open the page, see a cinematic preloader and video hero, then scroll through a pinned Base → Hand Seal → Sage Mode reveal. The README documents the visual subsystems and their behavior; no source excerpts were provided, so relationships below rely on those documented statements. The listed transformation images are not present in the supplied file tree and are not modeled as repository assets.

Main entry points: [`index.html`](https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html) (Video Hero), [`video/hero.mp4`](https://github.com/sahil-dev7/naruto-sagemode/blob/master/video/hero.mp4) (Hero Video)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_page["Page Experience"]
  node_page["Page Runtime<br/>[index.html]"]
  node_preloader["Chakra Preloader<br/>[index.html]"]
  node_hero["Video Hero<br/>[index.html]"]
  node_hero_title["Title and Rails<br/>[index.html]"]
  node_hero_hud["Hero HUD<br/>[index.html]"]
end

subgraph group_motion["Scroll and Motion"]
  node_bolt_divider["Bolt Divider<br/>[index.html]"]
  node_transformation["Pinned Transformation<br/>[index.html]"]
  node_stage_captions["Stage Captions<br/>[index.html]"]
end

subgraph group_effects["Visual Effects"]
  node_crack_reveal["Crack Reveals<br/>[index.html]"]
  node_lightning["Lightning Canvas<br/>[index.html]"]
  node_particles["Chakra Particles<br/>[index.html]"]
  node_ambient["Ambient Thunder<br/>[index.html]"]
end

subgraph group_media["Media"]
  node_storm_fallback["Storm Fallback<br/>[index.html]"]
  node_hero_video["Hero Video<br/>[hero.mp4]"]
end

node_visitor(("Visitor"))
node_gsap["GSAP ScrollTrigger"]

node_visitor -->|"opens"| node_page
node_page -->|"shows"| node_preloader
node_preloader -->|"wipes to"| node_hero
node_hero -->|"plays"| node_hero_video
node_hero -->|"falls back to"| node_storm_fallback
node_hero -->|"shows"| node_hero_title
node_hero -->|"shows"| node_hero_hud
node_hero -->|"flickers with"| node_ambient
node_visitor -->|"scrolls to"| node_bolt_divider
node_visitor -->|"scrolls through"| node_transformation
node_transformation -->|"scrubs"| node_crack_reveal
node_transformation -->|"triggers"| node_lightning
node_transformation -->|"swaps"| node_stage_captions
node_transformation -->|"shifts"| node_particles
node_page -->|"uses"| node_gsap

click node_page "https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html"
click node_preloader "https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html"
click node_hero "https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html"
click node_hero_title "https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html"
click node_hero_hud "https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html"
click node_bolt_divider "https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html"
click node_transformation "https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html"
click node_crack_reveal "https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html"
click node_lightning "https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html"
click node_particles "https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html"
click node_stage_captions "https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html"
click node_ambient "https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html"
click node_storm_fallback "https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html"
click node_hero_video "https://github.com/sahil-dev7/naruto-sagemode/blob/master/video/hero.mp4"

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_page,node_preloader,node_hero,node_hero_title,node_hero_hud toneBlue
class node_bolt_divider,node_transformation,node_stage_captions toneAmber
class node_crack_reveal,node_lightning,node_particles,node_ambient toneMint
class node_storm_fallback,node_hero_video toneRose
class node_visitor,node_gsap toneIndigo
```

## Components

### Page Experience

- [Page Runtime](https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html): `index.html`
- [Chakra Preloader](https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html): `index.html`
- [Video Hero](https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html): `index.html`
- [Title and Rails](https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html): `index.html`
- [Hero HUD](https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html): `index.html`

### Scroll and Motion

- [Bolt Divider](https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html): `index.html`
- [Pinned Transformation](https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html): `index.html`
- [Stage Captions](https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html): `index.html`

### Visual Effects

- [Crack Reveals](https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html): `index.html`
- [Lightning Canvas](https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html): `index.html`
- [Chakra Particles](https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html): `index.html`
- [Ambient Thunder](https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html): `index.html`

### Media

- [Storm Fallback](https://github.com/sahil-dev7/naruto-sagemode/blob/master/index.html): `index.html`
- [Hero Video](https://github.com/sahil-dev7/naruto-sagemode/blob/master/video/hero.mp4): `video/hero.mp4`

### Other components

- **Visitor**
- **GSAP ScrollTrigger**

## Connections

- Visitor → Page Runtime: opens (evidence: `README.md`)
- Page Runtime → Chakra Preloader: shows (evidence: `README.md`)
- Chakra Preloader → Video Hero: wipes to (evidence: `README.md`)
- Video Hero → Hero Video: plays (evidence: `README.md`)
- Video Hero → Storm Fallback: falls back to (evidence: `README.md`)
- Video Hero → Title and Rails: shows (evidence: `README.md`)
- Video Hero → Hero HUD: shows (evidence: `README.md`)
- Video Hero → Ambient Thunder: flickers with (evidence: `README.md`)
- Visitor → Bolt Divider: scrolls to (evidence: `README.md`)
- Visitor → Pinned Transformation: scrolls through (evidence: `README.md`)
- Pinned Transformation → Crack Reveals: scrubs (evidence: `README.md`)
- Pinned Transformation → Lightning Canvas: triggers (evidence: `README.md`)
- Pinned Transformation → Stage Captions: swaps (evidence: `README.md`)
- Pinned Transformation → Chakra Particles: shifts (evidence: `README.md`)
- Page Runtime → GSAP ScrollTrigger: uses (evidence: `README.md`)
