OverviewCase study 02
(02)Case studyInteractive 3D Portfolio — 2024

Interactive 3D Portfolio

My previous website: a short 3D scroll story with Three.js and GSAP.

Client
Personal project
Role
Concept & code
Year
2024
Stack
Three.js, GSAP, Vite, Tailwind, AWS
Fig. 01 — The greeting of the old site, redrawn.2024 — 2026
01

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.

02

Goal

Show my background without a classic CV — and keep it fast on phones.

03

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.

One timelineScrollTrigger · scrub
CameraSkyStarsTextScreen

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.

04

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.

Fig. 02 — The mountain scene as contour lines.
Fig. 03 — The sky changed from blue to red to night while scrolling.
05

Result

Online from 2024 until this website replaced it.

One timelineCamera, sky and text are driven by the scroll position.
Small assetsThree glTF models, served from S3 and CloudFront.
Open sourceThe code is public on GitHub.

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.

Next projectMy bachelor's thesis
NeCNN

Bachelor's thesis — 2022