3D & creative · Personal project · 2026
A 3D reading room where my work sits inside glass orbs
A personal home page built as a dim 3D reading room. Each piece of work floats inside a lit liquid-glass orb; groups open into their own alcove, and a laptop-camera hand module can drive it.
A working local build with seven groups on the main row, an alcove per group, cards and full pages per orb, keyboard and reduced-motion support, and optional hand control.
- Role
- Sole designer and engineer
- Stack
- React · React Three Fiber · drei · three.js · Vite · TypeScript · MediaPipe Tasks
Context
I wanted a home page that a recruiter would remember, and that I could keep adding to without touching layout code. The idea I settled on was a reading room: dark wood shelves, a rug, warm lamps, and a row of glass orbs on plinths. Each orb holds one real thing (a photo, a frame of an app, a graduation cap, a paper). The room is kept dim so the lit glass pulls the eye.
The problem
A 3D portfolio has two common failure modes. It looks like a tech demo with nothing to read, or it hides the content behind motion that is too fast and too clever. I also needed every place to have a real address, so a shared link opens at the right orb and browser Back walks out the way you came in.
What I built
The main row holds seven orbs: Profile, Experience, Projects, Education, Certificates, Publications and References. Most are groups. Clicking one sends the camera into the glass, and the view resolves into a smaller alcove with that group's own row and a brass plaque. Leaf orbs either come forward with a frosted card or dive into a full page.

The whole site comes from one tree in orbs.ts. Adding an orb is one entry
with an id, a label, what floats inside, and exactly one of a card, a page or
children. A test checks that ids are unique per level and that every node has
exactly one of those three.
There is also a hand-control module. With the laptop camera on, MediaPipe hand landmarks feed a small gesture recognizer: a sideways thumb held for 450 ms steps along the row, a pointed finger moves a cursor, and a quick flick from a hanging hand to an open palm closes what is open. Tracking runs entirely in the browser, and the 8 MB model loads only the first time hand control is switched on.
How it works
Glass. Every orb uses three's MeshPhysicalMaterial with full
transmission, an IOR of 1.25, iridescence, clearcoat and a dispersion of 4. The
low IOR keeps the refraction readable: you can still see the object inside,
while the shelves behind flip and bend, and dispersion splits a thin colour
fringe at the rim.

Reflections without a second scene. The room shell is rendered a second
time into drei's Environment at 256 px for a single frame. The glass reads
that map at full strength, while the room itself takes only a little of it.
Hovering an orb raises its environment intensity a step, so it catches more
of the lamp light.
Performance. The shelves hold hundreds of books, but they go to the GPU as two instanced meshes (books and boards), one draw call each. The environment map is baked once per room, not per frame. The canvas caps device pixel ratio at 2. Shadows come from one key spotlight; the cool rim lights behind the row do not cast them.
Camera. The camera rides six critically damped springs (three for position, three for the look point), solved exactly so the path is the same at any frame rate and never overshoots. A long pan eases back slightly mid-travel, the view leans a little into the direction of movement, and the pointer adds a small drift. Long frames are clamped, so switching tabs never flings the camera.
Navigation state. The URL is the single source of truth. The scene follows it, animating only when the change came from inside the room. Anything asked for during a transition waits, and only the latest navigation survives, so fast clicking cannot leave the camera stranded between rooms.
Design decisions
- One row per level. The camera slides along a single row instead of orbiting a cluster. Every orb is seen from the front, at the same distance, with its label under it.
- Slow, soft motion. Nothing snaps. Swipes move one orb per gesture, and momentum after a step is ignored until the trackpad goes quiet.
- Real objects inside the glass. Group orbs hold floating letters and one small coin per child, so you can tell a group from a leaf before clicking.
- Accessible by default. Tab reaches a plain list of the orbs in the current room, the arrow keys walk the row, and Escape goes up a level. Reduced motion turns off the float, the spin and the camera glide. Without WebGL, the same tree renders as a simple page.
Results
It runs locally as an installable app at a .localhost address. The build has
33 commits. Everything the page shows comes from the single orb tree, and
adding a project has stayed a one-entry change.
What I'd do next
Swap the code-built room for a modelled one with baked lighting, without touching the orbs, and trim the large page bundles so it can be hosted.
Screens



