A browser app that path-traces glTF models progressively on the GPU, built on Garrett Johnson's three-gpu-pathtracer library. Pick a sample model or drop your own .glb, light it with an HDRI and a key light, orbit around it, and export the converged render as a PNG. I wrote the step that prepares each model first, decoding Draco, expanding quantized vertices and unpacking instanced parts, so real-world files like NASA's ISS model trace correctly, plus a render-scale option and texture budget for weaker GPUs.
Tech Stack
- Three.js
- three-gpu-pathtracer
- three-mesh-bvh
- TypeScript
- WebGL2
- glTF
- Vite
More Projects
WebGL Lab (Shader Gallery)
Eight of Yoichi Kobayashi's shader sketches from ykob/sketch-threejs (MIT), ported from three.js r128 and a gulp build to three.js r187 and Vite: GPU flow fields, a refracting glass, a noise-driven flame, a spring-skinned fire ball and more. I fixed every API the upgrade broke, from WebGL2 shader compilation to skinning and float textures, and redesigned it as a gallery where each sketch explains, from its own code, what its shaders do. The original effects are his; the port, the curation, the write-ups and the interface are mine.
Stack Playground (Physics Toy)
My tech stack turned into a physics toy: every skill is a brick you can grab, throw, stack into a Jenga-style tower and blow up, under Earth, Moon or zero gravity. Built with React Three Fiber and pmndrs' react-three-rapier, which runs the Rapier physics engine in WebAssembly. It renders on demand and lets bodies sleep, so an idle scene costs almost nothing, and it works with touch on mobile.
Jordan's World (3D Verse)
An explorable 3D town where every house is a project: walk it with WASD, drag to look, day/night cycle, fog and bloom, and an intro flythrough. Each storefront wears a project's screenshot — tap a house to open its preview. Built from scratch on three.js with a single WebGL scene, screenshot-faced geometry, lightweight 512px storefront textures, and a guided tour mode.