Inspiration
Most pipe puzzles stop when two ends connect. I wanted the interesting part to begin there: how much water reaches each mill, and how do you balance shared pressure with your hands?
What it does
Flowsmith puts a miniature copper-and-slate waterworks within reach of a seated player. Pinch pipes from a tray, rotate them into place, and tune valves until every mill reaches its target flow without leaks. In The Night Shift, restricting one branch changes the other mill's flow. Both gauges must settle into their target bands.
Three short gesture lessons lead into Reconnect and The Night Shift, then seven seeded advanced puzzles. Daily Flow adds a date-seeded challenge. Words, symbols and warning rings reinforce color feedback. Personal records are saved in the current browser only: there are no online rankings or simulated opponents.
How I built it
The application uses Three.js, WebXR and Meta's Immersive Web Emulation Runtime. Tracked hand joints drive pinch, fingertip button presses, wrist rotation and valve control. It is designed for stationary, seated use, with immersive AR/VR modes and a desktop fallback.
A simplified hydraulic-network solver resolves flow after each move. The pumping station and its materials are original procedural artwork. The current build includes Blender-baked surface textures and vertex-color contact shading; no third-party textures are used. AI assistance was used in development and asset creation; source, original artwork and dependency notices are in the public repository.
Testing and lessons
Automated source tests cover solver invariants, generated boards, shared pressure, hand-input transforms, local records, menu resume, post-win break/repair and visual flow feedback. The source compiles into a production build. These checks do not establish headset frame rate or physical hand-tracking reliability.
The linked 32-second demo is genuine scripted emulator footage of The Night Shift, using emulated hands through the normal interaction system. It demonstrates the pressure tradeoff and successful completion. It is explicitly labeled as emulator footage, not Quest hardware footage. The recording uses build 543f596, with its updated surfaces and gauges. Subsequent source fixes improve room-surface selection and interrupted XR startup; physical Quest behavior remains unverified. Explanatory captions make the shared-pressure puzzle clear; gameplay runs in real time.
Independent review exposed misleading powered windows and moving water in closed branches. Those were corrected so the scene reflects the actual solver state.
What's next
Physical Quest validation, sustained headset performance, hand-tracking comfort and real-room surface testing remain unverified. The live First Light lesson has been independently completed in desktop Chrome; this does not validate the full campaign or headset interaction. Those checks come before a store release; emulator tests do not substitute for them. A level editor and share codes are future ideas, not current features.
Built With
- iwer
- javascript
- three.js
- vite
- webxr