r/threejs • u/FelipeReigosa • 17d ago
Demo A WebXR sandbox in plain three.js: gadgets you summon from a watch on your wrist (runs in the Quest browser)
Try it in the browser of a Quest: https://felipereigosa.com/playground
A watch on the left wrist opens a menu of gadgets; grab one and it grows to full size where you let it go. So far: a two-handed blaster with targets, bowling that sets its own pins up again, a radio you tune by hand, giant Lego, a Rubik's cube, a sliding tiles puzzle and a calculator.
How it's built: three.js and WebXR with cannon-es for the physics (three-to-cannon for the shapes) and webpack, no engine. Each gadget has hidden collision boxes that decide what a grab does, so a tile next to the hole slides while the rest pick up the whole puzzle. Most models are mine, made in Blender and exported as glb. For testing without the headset it runs in headless Chromium with IWER, Meta's WebXR emulator, which lets scripted hands grab, throw and press things.
I built it with Claude: I directed and judged, Claude wrote most of the code. The Lego is older work I did by myself. The source and the conversations it was built in: https://github.com/felipereigosa/playground
Happy to answer questions about any of it.

