# dhruwayush/neelamdon architecture

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

- Interactive diagram: https://gitdiagram.com/dhruwayush/neelamdon
- Repository: https://github.com/dhruwayush/neelamdon

## Overview

Sunflowers is an interactive, browser-based sketchbook: readers turn through fourteen photo-and-sketch spreads, with a sunflower cover and closing note. The README identifies `index.html` as the home of the layout, navigation, sketch engine, captions, and page-one sketch; `pages.js` supplies later-page sketches. Other documented features include photo/sketch comparison, browser-saved doodles, multiple navigation methods, and live Web Audio piano. Runtime details beyond the supplied `pages.js` excerpts are based on README descriptions.

Main entry points: [`index.html`](https://github.com/dhruwayush/neelamdon/blob/main/index.html) (Book layout), [`photos`](https://github.com/dhruwayush/neelamdon/tree/main/photos) (Photographs), [`pages.js`](https://github.com/dhruwayush/neelamdon/blob/main/pages.js) (Page sketches), [`thumbs`](https://github.com/dhruwayush/neelamdon/tree/main/thumbs) (Thumbnails)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_book["Sketchbook experience"]
  node_book_ui["Book layout<br/>[index.html]"]
  node_navigation["Page navigation<br/>[index.html]"]
  node_captions["Page captions<br/>[index.html]"]
  node_cover_end["Cover and ending<br/>[index.html]"]
end

subgraph group_art["Artwork and media"]
  node_sketch_engine["Sketch engine<br/>[index.html]"]
  node_page_one["Page one sketch<br/>[index.html]"]
  node_page_sketches["Page sketches<br/>[pages.js]"]
  node_photos["Photographs"]
  node_thumbnails["Thumbnails"]
end

subgraph group_interactions["Reader interactions"]
  node_comparison["Photo sketch wipe<br/>[index.html]"]
  node_doodle["Page doodling<br/>[index.html]"]
  node_audio["Live piano<br/>[index.html]"]
end

node_reader(("Reader"))
node_browser_storage[("Browser storage")]
node_web_audio["Web Audio API"]

node_reader -->|"opens"| node_book_ui
node_book_ui -->|"shows photo"| node_photos
node_book_ui -->|"renders spreads"| node_sketch_engine
node_sketch_engine -->|"draws"| node_page_one
node_sketch_engine -->|"uses recipes"| node_page_sketches
node_book_ui -->|"shows captions"| node_captions
node_book_ui -->|"shows bookends"| node_cover_end
node_reader -->|"turns pages"| node_navigation
node_navigation -->|"offers contact sheet"| node_thumbnails
node_reader -->|"drags to compare"| node_comparison
node_comparison -->|"reveals photo"| node_photos
node_reader -->|"draws on pages"| node_doodle
node_doodle -->|"saves doodles"| node_browser_storage
node_book_ui -->|"provides piano"| node_audio
node_audio -->|"plays through"| node_web_audio

click node_book_ui "https://github.com/dhruwayush/neelamdon/blob/main/index.html"
click node_navigation "https://github.com/dhruwayush/neelamdon/blob/main/index.html"
click node_captions "https://github.com/dhruwayush/neelamdon/blob/main/index.html"
click node_cover_end "https://github.com/dhruwayush/neelamdon/blob/main/index.html"
click node_sketch_engine "https://github.com/dhruwayush/neelamdon/blob/main/index.html"
click node_page_one "https://github.com/dhruwayush/neelamdon/blob/main/index.html"
click node_page_sketches "https://github.com/dhruwayush/neelamdon/blob/main/pages.js"
click node_photos "https://github.com/dhruwayush/neelamdon/tree/main/photos"
click node_thumbnails "https://github.com/dhruwayush/neelamdon/tree/main/thumbs"
click node_comparison "https://github.com/dhruwayush/neelamdon/blob/main/index.html"
click node_doodle "https://github.com/dhruwayush/neelamdon/blob/main/index.html"
click node_audio "https://github.com/dhruwayush/neelamdon/blob/main/index.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_book_ui,node_navigation,node_captions,node_cover_end toneBlue
class node_sketch_engine,node_page_one,node_page_sketches,node_photos,node_thumbnails,node_browser_storage toneAmber
class node_comparison,node_doodle,node_audio,node_web_audio toneMint
class node_reader toneIndigo
```

## Components

### Sketchbook experience

- [Book layout](https://github.com/dhruwayush/neelamdon/blob/main/index.html): `index.html`
- [Page navigation](https://github.com/dhruwayush/neelamdon/blob/main/index.html): `index.html`
- [Page captions](https://github.com/dhruwayush/neelamdon/blob/main/index.html): `index.html`
- [Cover and ending](https://github.com/dhruwayush/neelamdon/blob/main/index.html): `index.html`

### Artwork and media

- [Sketch engine](https://github.com/dhruwayush/neelamdon/blob/main/index.html): `index.html`
- [Page one sketch](https://github.com/dhruwayush/neelamdon/blob/main/index.html): `index.html`
- [Page sketches](https://github.com/dhruwayush/neelamdon/blob/main/pages.js): `pages.js`
- [Photographs](https://github.com/dhruwayush/neelamdon/tree/main/photos): `photos`
- [Thumbnails](https://github.com/dhruwayush/neelamdon/tree/main/thumbs): `thumbs`

### Reader interactions

- [Photo sketch wipe](https://github.com/dhruwayush/neelamdon/blob/main/index.html): `index.html`
- [Page doodling](https://github.com/dhruwayush/neelamdon/blob/main/index.html): `index.html`
- [Live piano](https://github.com/dhruwayush/neelamdon/blob/main/index.html): `index.html`

### Other components

- **Reader**
- **Browser storage**
- **Web Audio API**

## Connections

- Reader → Book layout: opens (evidence: `README.md`)
- Book layout → Photographs: shows photo (evidence: `README.md`)
- Book layout → Sketch engine: renders spreads (evidence: `README.md`)
- Sketch engine → Page one sketch: draws (evidence: `README.md`)
- Sketch engine → Page sketches: uses recipes (evidence: `README.md`)
- Book layout → Page captions: shows captions (evidence: `README.md`)
- Book layout → Cover and ending: shows bookends (evidence: `README.md`)
- Reader → Page navigation: turns pages (evidence: `README.md`)
- Page navigation → Thumbnails: offers contact sheet (evidence: `README.md`)
- Reader → Photo sketch wipe: drags to compare (evidence: `README.md`)
- Photo sketch wipe → Photographs: reveals photo (evidence: `README.md`)
- Reader → Page doodling: draws on pages (evidence: `README.md`)
- Page doodling → Browser storage: saves doodles (evidence: `README.md`)
- Book layout → Live piano: provides piano (evidence: `README.md`)
- Live piano → Web Audio API: plays through (evidence: `README.md`)
