Skip to content

3D Scroll Personal Site ​

Telling a Personal Story Through Scroll-Driven Video ​

This is an independently developed personal homepage experiment. The page uses 3D sci-fi armor as a visual metaphor: as users scroll down, the prerendered video does not play automatically. Instead, it scrubs frame by frame according to scroll position. The camera moves through the reactor, boots, leg armor, chest armor, arm armor, and helmet in sequence, ultimately assembling a complete representation of personal capabilities.

3D scroll personal site reactor scene

What I Did ​

  • Designed a narrative structure around “armor assembly = building personal capabilities”
  • Divided the personal homepage into six scrolling scenes: Hero, About, Skills, Projects, Experience, and Contact
  • Used AI to generate still frames and video assets for sci-fi mechanical scenes
  • Used video generation models to create shots of the reactor, boots, leg armor, chest armor, arm armor, helmet, and other components
  • Built a vanilla JavaScript scroll-scrub engine that maps scroll position directly to the video's currentTime
  • Designed connector videos, first-and-last-frame transitions, and crossfade strategies between scenes
  • Handled different video assets, poster images, and decoding performance requirements for desktop and mobile devices
  • Used FFmpeg to encode generated videos in formats suitable for scrubbing, seeking, and scroll-driven playback
  • Preserved the experience with static-image fallbacks, lazy loading, seek coalescing, and reduced-motion degradation

Core Interaction ​

text
Scroll distance
   ↓
Page progress mapping
   ↓
Current scene and video segment
   ↓
video.currentTime
   ↓
Camera moves frame by frame with the user's gestures

Rather than simply “playing a video while scrolling,” the page treats scroll position as the video timeline:

  • Scrolling down moves the camera forward
  • Stopping scrolling freezes the image on the current frame
  • Scrolling up plays the video in reverse
  • Each scene has its own scroll weight and dwell time
  • Scenes can be connected with continuous video or crossfades

Notes on AI Generation and C# ​

The project's visual assets were generated with AI, while the personal homepage's interaction engine was built with vanilla JavaScript.

The original project plan included a C# / Unity-style 3D generation and rendering workflow for producing the armor scenes and video assets. The final web delivery uses AI-generated video, FFmpeg encoding, and browser-based scroll-scrub playback instead. In other words, the C# work primarily belongs to the development record for 3D scene and video generation; the web runtime should not be misrepresented as a C# application.

This approach demonstrates my ability to combine different ecosystems:

  • C# / 3D workflows: approaches to generating complex scenes, armor, materials, and camera assets
  • AI image and video models: rapid generation of visual assets and continuous shots
  • FFmpeg: frame extraction, encoding, keyframes, and web playback performance
  • JavaScript: binding the video timeline to user scrolling behavior
  • HTML / CSS: personal branding, HUD elements, a dark technological aesthetic, and responsive layouts

Technical Approach ​

Scroll-scrub Engine ​

The project's scrub-engine.js is a framework-agnostic vanilla JavaScript engine that can be embedded in plain HTML, Vue, Next.js, or other web pages.

Its main capabilities include:

  • Configuration-driven scene chains
  • Alternating dive and connector segments
  • Video Blob loading to avoid dependence on server Range behavior
  • Lazy video loading
  • Seek coalescing to prevent decoding queues from piling up during fast scrolling
  • Retaining static posters until the first video frame has rendered
  • Switching between video and static images on mobile devices
  • Pre-warming muted video after touch interaction
  • Reduced-motion support
  • Scene labels, scroll progress bars, and navigation dots

Video Processing ​

Generated videos are processed with FFmpeg into a format suitable for scroll-based seeking on the web:

  • H.264 encoding
  • crf 20
  • Short keyframe intervals with -g 8
  • yuv420p pixel format
  • -movflags +faststart
  • Audio removal to reduce the cost of scroll-driven playback

Scene Structure ​

SceneArmor ComponentCorresponding Personal Content
ReactorChest reactorHero / Core motivation
BootsArmored bootsAbout / Foundations
LegsLeg armorSkills / Technical support
ChestChest armorProjects / Core projects
ArmsArm armorExperience / Building capabilities
HelmetHelmetContact / Completion and connection

Interface and Assets ​

reactor scenehelmet scene

Project Summary ​

This project demonstrates how I combine AI-generated visuals, 3D and C# workflow concepts, video engineering, and frontend interaction into an experiential personal homepage. Its focus is not merely producing a set of impressive videos, but establishing a reusable scroll-scrub mechanism through which personal experience, skills, and projects unfold as the camera assembles the armor.

Keep building. Stay curious.