# andrewpanimdim/practiceportfolio architecture

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

- Interactive diagram: https://gitdiagram.com/andrewpanimdim/practiceportfolio
- Repository: https://github.com/andrewpanimdim/practiceportfolio

## Overview

This is a small static HTML/CSS/JavaScript practice portfolio, not a service with a backend or persistent data. Its main visitor workflow is to browse the portfolio, switch between web and game-style presentation, explore skills and project showcases, and follow project links. The excerpts show interaction logic in the JavaScript files; the HTML and CSS files are present in the tree but were not sampled, so their page wiring and styling relationships are not asserted.

Main entry points: [`js/du.js`](https://github.com/andrewpanimdim/practiceportfolio/blob/main/js/du.js) (Project navigation), [`js/drew.js`](https://github.com/andrewpanimdim/practiceportfolio/blob/main/js/drew.js) (Character controls), [`index.html`](https://github.com/andrewpanimdim/practiceportfolio/blob/main/index.html) (Portfolio page), [`projects.html`](https://github.com/andrewpanimdim/practiceportfolio/blob/main/projects.html) (Projects page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_portfolio["Portfolio pages"]
  node_home["Portfolio page<br/>[index.html]"]
  node_projects_page["Projects page<br/>[projects.html]"]
end

subgraph group_interactions["Visitor interactions"]
  node_portfolio_modes["Portfolio modes<br/>[drew.js]"]
  node_game_controls["Character controls<br/>[drew.js]"]
  node_projects_showcase["Project showcase<br/>[du.js]"]
  node_project_navigation["Project navigation<br/>[du.js]"]
  node_project_page_controls["Project-page controls<br/>[proj.js]"]
end

subgraph group_assets["Presentation assets"]
  node_portfolio_styles["Portfolio styling<br/>[du.css]"]
  node_project_styles["Project styling<br/>[proj.css]"]
  node_character_art["Character animations"]
  node_project_media["Project media"]
  node_video_media["Video media"]
end

node_visitor(("Visitor"))

node_visitor -->|"browses"| node_home
node_visitor -->|"browses"| node_projects_page
node_visitor -->|"chooses mode"| node_portfolio_modes
node_visitor -->|"presses keys"| node_game_controls
node_visitor -->|"explores projects"| node_projects_showcase
node_portfolio_modes -.->|"updates character"| node_game_controls
node_projects_showcase -->|"opens project"| node_project_navigation
node_visitor -->|"moves character"| node_project_page_controls
node_home -.->|"styled by"| node_portfolio_styles
node_projects_page -.->|"styled by"| node_project_styles
node_game_controls -->|"selects animation"| node_character_art
node_project_page_controls -->|"selects animation"| node_character_art
node_project_navigation -.->|"displays media"| node_project_media
node_project_navigation -.->|"displays media"| node_video_media

click node_home "https://github.com/andrewpanimdim/practiceportfolio/blob/main/index.html"
click node_projects_page "https://github.com/andrewpanimdim/practiceportfolio/blob/main/projects.html"
click node_portfolio_modes "https://github.com/andrewpanimdim/practiceportfolio/blob/main/js/drew.js"
click node_game_controls "https://github.com/andrewpanimdim/practiceportfolio/blob/main/js/drew.js"
click node_projects_showcase "https://github.com/andrewpanimdim/practiceportfolio/blob/main/js/du.js"
click node_project_navigation "https://github.com/andrewpanimdim/practiceportfolio/blob/main/js/du.js"
click node_project_page_controls "https://github.com/andrewpanimdim/practiceportfolio/blob/main/js/proj.js"
click node_portfolio_styles "https://github.com/andrewpanimdim/practiceportfolio/blob/main/css/du.css"
click node_project_styles "https://github.com/andrewpanimdim/practiceportfolio/blob/main/css/proj.css"
click node_character_art "https://github.com/andrewpanimdim/practiceportfolio/tree/main/character"
click node_project_media "https://github.com/andrewpanimdim/practiceportfolio/tree/main/photos"
click node_video_media "https://github.com/andrewpanimdim/practiceportfolio/tree/main/videos"

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_home,node_projects_page toneBlue
class node_portfolio_modes,node_game_controls,node_projects_showcase,node_project_navigation,node_project_page_controls toneAmber
class node_portfolio_styles,node_project_styles,node_character_art,node_project_media,node_video_media toneMint
class node_visitor toneIndigo
```

## Components

### Portfolio pages

- [Portfolio page](https://github.com/andrewpanimdim/practiceportfolio/blob/main/index.html): `index.html`
- [Projects page](https://github.com/andrewpanimdim/practiceportfolio/blob/main/projects.html): `projects.html`

### Visitor interactions

- [Portfolio modes](https://github.com/andrewpanimdim/practiceportfolio/blob/main/js/drew.js): `js/drew.js`
- [Character controls](https://github.com/andrewpanimdim/practiceportfolio/blob/main/js/drew.js): `js/drew.js`
- [Project showcase](https://github.com/andrewpanimdim/practiceportfolio/blob/main/js/du.js): `js/du.js`
- [Project navigation](https://github.com/andrewpanimdim/practiceportfolio/blob/main/js/du.js): `js/du.js`
- [Project-page controls](https://github.com/andrewpanimdim/practiceportfolio/blob/main/js/proj.js): `js/proj.js`

### Presentation assets

- [Portfolio styling](https://github.com/andrewpanimdim/practiceportfolio/blob/main/css/du.css): `css/du.css`
- [Project styling](https://github.com/andrewpanimdim/practiceportfolio/blob/main/css/proj.css): `css/proj.css`
- [Character animations](https://github.com/andrewpanimdim/practiceportfolio/tree/main/character): `character`
- [Project media](https://github.com/andrewpanimdim/practiceportfolio/tree/main/photos): `photos`
- [Video media](https://github.com/andrewpanimdim/practiceportfolio/tree/main/videos): `videos`

### Other components

- **Visitor**

## Connections

- Visitor → Portfolio page: browses (evidence: `README.md`)
- Visitor → Projects page: browses (evidence: `README.md`)
- Visitor → Portfolio modes: chooses mode (evidence: `js/drew.js`)
- Visitor → Character controls: presses keys (evidence: `js/drew.js`)
- Visitor → Project showcase: explores projects (evidence: `js/du.js`)
- Portfolio modes → Character controls: updates character (evidence: `js/drew.js`)
- Project showcase → Project navigation: opens project (evidence: `js/du.js`)
- Visitor → Project-page controls: moves character (evidence: `js/proj.js`)
- Portfolio page → Portfolio styling: styled by
- Projects page → Project styling: styled by
- Character controls → Character animations: selects animation (evidence: `js/drew.js`)
- Project-page controls → Character animations: selects animation (evidence: `js/proj.js`)
- Project navigation → Project media: displays media
- Project navigation → Video media: displays media
