How dhilberm2/webpage_portfolio works
Purpose and Delivery
This is a static personal portfolio for Dhilbar Muhammed, presenting research, engineering, and creative work. It has no build system or application backend: a browser loads the root document and static assets directly. It is intended for GitHub Pages, with custom-domain support via CNAME.
Paths: index.html, CNAME, README.md
Browser Entry and Composition
index.html is the primary entry point and contains the page’s semantic sections, project content, navigation targets, and the mount point/canvas context for the 3D showcase. It links the stylesheet and client-side scripts. Asset directories are reserved for real project imagery and optional 3D models.
Paths: index.html, assets/images/, assets/models/
Presentation and Theme System
style.css owns responsive layout, dark/light visual tokens, component styling, motion effects, and breakpoint behavior. Theme selection is applied in the browser and persisted locally, so styling state is not server-managed. CSS also provides graceful presentation when 3D or enhanced interactions are unavailable.
Paths: style.css, index.html
Page Interaction Controller
script.js centralizes conventional DOM behaviors: navigation/menu state, theme toggle and localStorage persistence, custom cursor behavior for desktop, scroll-triggered reveals and counters, rotating typewriter text, project filtering, hover tilt cards, and contact-form handling. It operates against markup in index.html; the form is UI-only and requires a separate backend/service integration to submit messages.
Paths: script.js, index.html
Three.js Showcase Boundary
three-scene.js is a standalone ES-module-style 3D subsystem, separate from general page interactions. It initializes the Three.js scene and render loop, handles mouse parallax and scroll-driven camera motion, and supports loading a replaceable glTF/GLB asset. The browser must access it through HTTP(S), not reliably through file://, because module and asset loading are subject to browser CORS rules.
Paths: three-scene.js, assets/models/README.md, index.html
Runtime Flow and Performance Behavior
On load, the browser parses index.html, applies style.css, then initializes DOM interaction code and the 3D scene. Scroll and pointer events feed visual state into the page controller and camera/model behavior; animation loops update rendered output. Mobile browsers are expected to receive a reduced 3D experience for performance, while desktop receives cursor and richer hover interactions.
Paths: index.html, script.js, three-scene.js
Infrastructure and External Dependencies
The runtime is fully client-side: HTML5, CSS3, vanilla JavaScript, and Three.js r128 loaded from a CDN; Inter is supplied through Google Fonts. Deployment is static hosting, principally GitHub Pages. CNAME is the repository-level boundary for domain routing. There are no database, API, authentication, analytics, or active form-delivery services represented in the provided tree.
Paths: CNAME, index.html, README.md
Main entry points: index.html Portfolio page · three-scene.js 3D showcase · style.css Theme and layout · script.js Page controller
Components 15
Static Site
- Portfolio page · Semantic sections, navigation, content, and 3D mount context.
index.html - Theme and layout · Responsive styling, visual tokens, motion, and fallbacks.
style.css - Page controller · DOM interactions, UI state, filters, and UI-only contact handling.
script.js - 3D showcase · Three.js scene, camera behavior, asset loading, and render loop.
three-scene.js - Project imagery
- 3D model assets · Replaceable models for the showcase.
- Model asset guidance
assets/models/README.md
Browser Runtime
- DOM and page state · Navigation, theme, scroll, pointer, and responsive state.
- WebGL renderer · Renders animated 3D output; reduced on mobile.
- Theme preference
- Three.js r128
- Inter fonts
Delivery
- GitHub Pages · Serves the site over HTTP(S).
- Custom domain mapping
CNAME - Project documentation
README.md
Connections 16
- GitHub Pages → Portfolio page: serves
- Custom domain mapping → GitHub Pages: routes domain
- Project documentation → GitHub Pages: documents deployment
- Portfolio page → Theme and layout: loads
- Portfolio page → Page controller: loads
- Portfolio page → 3D showcase: loads module
- Portfolio page → Project imagery: references
- Theme and layout → Inter fonts: uses
- Theme and layout → DOM and page state: renders state and fallbacks
- Page controller → DOM and page state: controls
- Page controller → Theme preference: persists theme
- 3D showcase → Three.js r128: imports
- 3D showcase → 3D model assets: loads over HTTP(S)
- Model asset guidance → 3D model assets: guides assets
- 3D showcase → WebGL renderer: initializes and animates
- DOM and page state → 3D showcase: scroll and pointer input