Session
- Area: Three.js, responsive interaction design, audio handling, testing, and deployment
- Time spent: One portfolio redesign and deployment session
- Goal: Replace the portfolio's generic visual direction with an interface connected to my networking and cybersecurity interests.
Work completed
- Preserved the previous portfolio version in a separate GitHub backup branch before redesigning it.
- Added a Three.js network topology that renders connected nodes, a wireframe core, and an orbit layer.
- Made the topology respond to pointer movement and scrolling.
- Added separate colour states for the Work, Info, and Interests sections.
- Reworked the homepage typography, active-project panel, navigation states, project cards, backgrounds, and technical interface details.
- Added a mobile header transition that moves the active state between Work, Info, and Interests.
- Fixed the mobile overlap between the soundtrack control and the cat house.
- Added device-local audio playback for MP3 files the visitor owns or has permission to use.
- Kept the Spotify playlist as an external link instead of embedding a limited preview or copying music into the repository.
- Added a new topology-themed social preview image and updated the portfolio documentation.
- Turned the Three.js topology into spatial navigation with clickable nodes for current projects, the Proxmox home lab, and the profile page.
- Removed the generic homepage activity card and replaced it with a compact build, study, and lab readout.
- Restructured the project section into an uneven systems map that gives each project different visual weight.
- Kept the spatial navigation desktop-only and retained a direct single-column reading order on smaller screens.
- Replaced the homepage topology navigation with a full interactive Three.js cyber-lab.
- Built the room from reusable 3D geometry for a workstation, server rack, 3D printer, reading stack, camera, badminton racket, profile board, and black cat.
- Added drag controls, object hover states, raycasting, and click navigation from each room object to its related page.
- Added a visible HTML room directory so keyboard, touch, and assistive-technology users do not depend on the 3D controls.
- Added responsive room sizing and kept page scrolling separate from camera rotation on mobile.
- Replaced the social preview with a card based on the finished interactive lab.
- Expanded the automated checks to cover the Three.js scene, local audio option, responsive transition, metadata, and existing routes.
- Deployed the redesigned site to Cloudflare Workers and pushed the source to GitHub.
- Expanded the cyber lab from a section of the homepage into the full-screen homepage experience.
- Added animated camera moves that frame the selected object before revealing its information.
- Added object panels with a summary, topic labels, and links to the matching project or interest page.
- Put the project case studies on the workstation so the complete project section remains available inside the room.
- Added a keyboard-accessible room directory, Escape-to-return behavior, reduced-motion handling, and direct page links outside the 3D controls.
- Preserved the earlier room design in a separate backup branch before changing its layout and interaction model.
- Removed internal redirects from the room and expanded every object file so the complete portfolio can be read without leaving the 3D environment.
- Added detailed write-ups for both projects, the Proxmox plan, 3D printing process, badminton experience, reading, photography, education, experience, and current goals.
- Rebuilt close-up camera positions around each model's local target and offset so the view stays upright, centered, and consistent.
- Locked manual orbiting while an object file is open and kept Escape or the close control as the clear return path.
- Added finer geometry across the room, including dual monitors, keyboard keys, a computer tower, server ports and cabling, a printer spool and nozzle, book pages, camera controls and strap, racket strings, a shuttlecock, wall-board notes, room lighting, a rug, and a more complete black cat.
- Studied Bruno Simon's live 3D portfolio and its MIT-licensed Folio 2025 source as a reference for movement, discovery, game-loop structure, proximity interactions, and responsive controls.
- Replaced passive room viewing with a controllable cyber rover using WASD, arrow keys, or a touch directional pad.
- Added acceleration, steering, reverse movement, animated wheels, wheel steering, headlights, an antenna, room boundaries, object collision zones, and a damped chase camera.
- Added glowing proximity stations and an Enter or E interaction flow that opens the matching file when the rover is close enough.
- Added ambient scene behavior for the printer nozzle and spool, server-rack fans, lights, the cat, and pulsing station markers.
- Added a reset control and device-local discovery progress that records inspected stations without an account or server.
- Documented the Bruno Simon reference and confirmed that no Folio 2025 models, textures, music, or visual assets were copied into the portfolio.
- Preserved the rover experiment on
backup/rover-world-v6-2026-07-29after deciding that game controls did not fit the intended direct-interaction experience. - Studied Ida's Gameboy and Jesse's Ramen as closer references for scene-first interfaces, pointer anticipation, spatial continuity, and fluid camera motion.
- Removed the rover, driving controls, collision system, proximity prompts, chase camera, keyboard loop, and mobile directional pad.
- Added subtle pointer parallax across the room, responsive light movement, constrained damped orbit controls, eased hover scaling, and a gentle focused-object breathing state.
- Rebuilt object selection around direct raycasting and a curved camera path with smoother-step easing.
- Kept tap and click selection, the accessible room directory, device-local viewed progress, ambient object animations, in-scene information panels, and the detailed cyber-lab models.
- Updated the responsive hints, automated tests, README, GitHub repository, Cloudflare deployment, and this learning log for the new interaction model.
Evidence
- Live site: https://affan-shaikh-portfolio.sil6428-archtech.workers.dev (opens in a new tab)
- Source: https://github.com/sil6428/Portfolio.github.io (opens in a new tab)
- Backup:
backup/pre-threejs-redesign-2026-07-29 - Topology v1 backup:
backup/topology-v1-2026-07-29 - Spatial-navigation backup:
backup/spatial-navigation-v2-2026-07-29 - Interactive-room v3 backup:
backup/interactive-room-v3-2026-07-29 - Full-screen lab v4 backup:
backup/fullscreen-lab-v4-2026-07-29 - Detailed-room v5 backup:
backup/detailed-room-v5-2026-07-29 - Redesign commit:
408595b - Spatial-navigation commit:
89f7fa9 - Interactive-room commit:
8be7a38 - Full-screen lab commit:
a30e404 - Detailed in-room content commit:
3e9fa0e - Explorable rover-world commit:
1af98fd - Fluid direct-interaction commit:
9ffe66c - Rover-world backup:
backup/rover-world-v6-2026-07-29 - Checks:
npm run lintandnpm test
What I learned
- A visual system feels more personal when it reflects the subject of the portfolio instead of following a common layout.
- Interactive visuals are more useful when they also support navigation instead of acting only as decoration.
- A spatial desktop layout still needs a simpler mobile information hierarchy.
- Raycasting connects pointer coordinates to objects inside a 3D scene and makes a model function as navigation.
- Orbit controls need limits so visitors can inspect a scene without losing the intended composition.
- An interactive 3D interface still needs a standard accessible path to every destination.
- Three.js scenes need careful cleanup of animation frames, geometry, materials, event listeners, and renderer resources.
- Pointer, scroll, mobile, and reduced-motion behavior should be designed together instead of added separately.
- Browser-selected audio files can play locally through object URLs without uploading or storing the file.
- Keeping a restore branch before a large redesign makes experimentation safer.
- A social preview should use the same visual language as the live site.
- Camera interpolation makes navigation feel spatial while a delayed HTML panel keeps longer text readable.
- 3D interactions work best as progressive enhancement. Visible buttons and normal routes keep the content usable without precise pointer input or WebGL controls.
- Scene state, camera state, and interface state need one transition sequence so panels do not appear before the visitor understands which object was selected.
- Object-relative camera offsets are more reliable than unrelated world coordinates because the framing remains tied to the model even when the room rotates.
- Small repeated geometry, such as keyboard keys, ports, vents, pages, and strings, makes simple primitives read as recognizable objects without importing large models.
- Keeping the long text in HTML panels preserves readability and accessibility while the Three.js scene supplies spatial context.
- A memorable 3D portfolio needs a repeatable interaction loop. Movement, approach, feedback, inspection, and return give visitors a reason to understand the space.
- A damped chase camera needs separate smoothing for camera position and look target so motion feels responsive without becoming shaky.
- Proximity prompts reduce guesswork because visitors know when a 3D object is close enough to inspect.
- Device-local progress adds a sense of discovery without collecting visitor data or requiring authentication.
- Open-source references are most useful when studying architecture and interaction patterns, then applying them through an original concept with clear license attribution.
- Fluidity comes from anticipation, damping, easing, and spatial continuity. It does not require adding a game mechanic.
- Removing a technically complete interaction is worthwhile when the mechanic conflicts with the experience the site needs.
- Hover response, a continuous camera path, and delayed panel reveal work together to make a scene feel direct instead of menu-driven.
Problem encountered
- Adding Three.js increased the client bundle size, so the scene was kept focused and limited to one shared visualization.
- Changing the homepage wording and preview image required updating existing rendered-output tests.
- Fixed-position controls competed for the same mobile space, so the soundtrack now moves when the footer cat house is visible.
- A full-screen scene leaves less room for navigation and content, so the directory and object panels required separate tablet and mobile layouts.
- The rover made the portfolio feel like a driving demo instead of a responsive 3D diorama, so it was archived and replaced rather than extended.
Next step
- Gather feedback on whether the full-screen room improves the first impression and whether each object is easy to recognize.
- Measure performance on lower-powered mobile devices and reduce scene complexity if needed.
- Add hosted audio only when the file is original, licensed, or otherwise permitted for public use.
- Keep future portfolio changes recorded in this log with links to the shipped work.
Commit check
- This entry describes real work completed today.
- Every placeholder has been replaced or removed.
- No credentials, secrets, or private personal data are included.