Interactive 3D Portfolio
My previous website: a short 3D scroll story with Three.js and GSAP.
Overview
In 2024 I built my website as a scroll story: the camera moves from a snowy mountain through the clouds into the night sky.
Goal
Show my background without a classic CV — and keep it fast on phones.
Concept
The page itself does not move. Scrolling only moves the playhead of a single timeline — and the timeline moves the camera.
Nine screens follow one another: a greeting, a short introduction, five stages of my life, a thank-you and the credits. Each stage of my life is a star, and together they form a constellation. Between two screens the camera flies to the next star; the new text only appears once it has arrived. Try it below — the scene is redrawn in lines, the text is left out.
Camera path, sky colours, easing and timing come from the code of the old site; the 3D models are redrawn as lines and the texts are left out. The numbers below the timeline jump straight to a screen.
Implementation
One Three.js scene, one GSAP ScrollTrigger timeline. The trigger pins the content for around 6,000 pixels of scrolling and scrubs the timeline along with it.
Each step animates several things at once: the camera and the point it looks at, the colours of the sky, the brightness of the stars and the text. The sky is not part of the 3D scene at all: the WebGL canvas is transparent and sits on a CSS gradient whose two colour variables GSAP animates like any other value. Only the clouds have a loop of their own and drift past regardless of scrolling.
Result
Online from 2024 until this website replaced it.
Models: “Snow Mountain” by nigromancer, “Cloud Low Poly #01” by Game Green and “[Extracted] Minecraft Java Edition's Stars” by AjaxGb — all CC BY 4.0 via Sketchfab.