How dn79ggc/landpage works
This repository is a single-page portfolio landing page. A visitor opens the page, browses its About, Projects, and Contact sections, and can switch themes; the page also animates code-rain and network-graph canvas effects. The sampled entry point shows it creating and controlling these effects and selecting header transitions. The README documents hash-routed sections and debug controls, but the excerpts do not show their full implementation, so those details are represented only where supported.
Main entry points: main.js Page controller · graph.js Network graphs · rain.js Code rain · constellation.js Header transitions
Components 11
Page experience
- Page controller
src/main.js - Section content
src/sections.js - Browser UI
Visual effects
- Code rain
src/rain.js - Network graphs
src/graph.js - Header transitions
src/constellation.js - Text morph
src/morph.js
Effect internals
- Graph geometry
src/shapes.js - Seeded random
src/rng.js
Other components
- Visitor
- Anime.js
Connections 13
- Visitor → Page controller: opens and interacts
README.md - Page controller → Section content: selects sections
src/main.js - Page controller → Code rain: creates and controls
src/main.js - Page controller → Network graphs: creates and controls
src/main.js - Page controller → Header transitions: runs light transition
src/main.js - Page controller → Text morph: runs text transition
src/main.js - Page controller → Browser UI: updates page UI
src/main.js - Network graphs → Seeded random: uses random generator
src/graph.js - Network graphs → Graph geometry: builds graph shapes
src/graph.js - Code rain → Seeded random: uses random generator
src/rain.js - Page controller → Anime.js: animates transitions
src/main.js - Header transitions → Anime.js: animates drawing
src/constellation.js - Text morph → Anime.js: animates text
src/morph.js