Hi all! This is my new portfolio, Finding my way, a single scroll story in WebGL. An astronaut drifts through space, falls into a blue black hole, comes apart, and re-forms on a still lake at home, where the work and the contact live.
Live: https://jehaduddin.vercel.app
Built with three.js (React Three Fiber), custom GLSL and GSAP. A few rules I held to:
- The copy is my own writing, and the chapters are the structure: Dream, Dig, Decode, Direct, Draft, Drop.
- Phones get their own rules: the project room shows images only, and the text lives in the project sheets.
- Sound is off by default. Reduced motion turns every transition into a short crossfade.
- Every release had to pass axe with 0 violations and 0 late shader compiles, and there’s a legacy build plus a no-WebGL version, so everyone gets the story.
All credit goes to some amazing people I met along the way, especially Shifat Masud (Shifat Masud (@shifatmasud) / X).
Would love your feedback!
Holding every release to zero late shader compiles is a gate I don’t see often. How do you count them, by comparing renderer.info.programs after the warm-up with the count after a full scroll? On the fallback side, one thing caught me out: having WebGL doesn’t mean a device should run the scene. On SwiftShader, one frame of my black hole raymarch blocked the main thread for about 6 seconds, so a feature check alone would hand that visitor the full build. How do you decide who gets the legacy build?
"Thanks Jonas! Counting is exactly as you guessed: I record renderer.info.programs once the warm-up is done, then again after scrolling the whole story, and any program that appears later counts as a late compile. A release has to show zero.
Fallback: you’re right that a feature check isn’t enough. I check for WebGL2 and read the unmasked renderer string; if it says SwiftShader, llvmpipe or software, that visitor gets the no-WebGL version. Everyone else is tiered by phone/cores, and a governor watches real frame times and steps the resolution down. Honest gap: the software check goes by the renderer name, not a timing probe, so a slow real GPU only gets the governor, which can’t save a single 6-second frame. A short first frame test is something I should add. Thanks for catching it."