09 / 11
Orbit
Web · 2026
A React portfolio template built for a client bid: a 3D orb, a spiral project gallery and case-study pages, that stay fast on a phone.
- 98–100Mobile Lighthouse score
- ≈ 50 fps3D scene in a worker on an Intel HD 4600
- 0Layout shift (CLS)

Overview
The problem
A client asked, for a bid, for a live example of a polished React portfolio. The premium portfolios I studied are striking but slow on phones, with mobile Lighthouse scores of 29 to 57. I wanted the same effect with an instant load.
The fix
Designed and built end to end: an orb that morphs into a monogram and then a ring on scroll, a black-hole transition, then a spiral project gallery over a deep-space photograph, with a list view.
React 19 with React Router in framework mode, every route prerendered to static HTML. The three.js scene loads after the page is interactive and renders from a Web Worker through OffscreenCanvas, with a main-thread fallback and adaptive quality.
One Markdown file per project: adding, editing or removing a project needs no code change, and counts and year ranges are computed.
The result
A portfolio that scores 98 to 100 on mobile Lighthouse performance, with total blocking time (TBT) under 150 ms and a CLS of 0, and whose 3D scene holds about 50 frames per second on a 2013 Intel HD 4600. My own pages are built on this template.
Architecture
- BrowserPrerendered HTML for every route; the content is real HTML, even without WebGL
- 3D scenethree.js loaded after the page is interactive, rendered in a Web Worker (OffscreenCanvas), main-thread fallback
- ContentOne Markdown file per project; order, counts and year ranges computed
- HostingStatic on Cloudflare, plus a small function for the contact form, protected by Turnstile
Key decision
Prerender every route to static HTML and load the 3D only once the page is interactive: the first paint stays plain HTML, which keeps the mobile Lighthouse score above 90.
