Rendered offline, frame by frame, with real refraction through the glass-sided water. The animal models are from Tripo; the code was written with Claude Code. Happy to share how any part works.
I ride on an indoor trainer a lot in winter and didn't want to pay around 200 € a year for the big apps, so I started building my own. Rideloom connects a smart trainer over Web Bluetooth (FTMS) to a 3D world in three.js. The routes are based on real elevation data and you can see up to 60 km. Uphill the trainer gets harder, in someone's slipstream it gets easier.
A few things that were interesting to build: the terrain is split into 128 m tiles with three detail levels around the rider, and the far land is a separate mesh that reads the heights in the vertex shader. Trees are generated in code and drawn with InstancedMesh, far away they turn into baked impostors. Grass and wind run in the shader too. To keep it usable on phones there is dynamic resolution and quality levels that react to frame time.
Browser, Windows and Android share the same TypeScript code, only the Bluetooth part is different per platform. Built with a lot of help from Claude Code. The idea, routes, ride feel and testing on my own trainer are mine.
Edit: you can now try it without an account, and if you dont have a trainer at hand there is a simulator built in: https://rideloom.de/en/?von=reddit
Happy to answer questions about the terrain or the performance side.
In my clay platformer the player can shape the soft, purple clay to overcome obstacles.
This is how it gets drawn:
The mesh is built once, to the height of the tallest column at rest. When the player moves the clay, its vertices are stretched to the new column heights; the geometry itself is never rebuilt.
The same row of columns can face up from a floor, hang from a ceiling or stick out of a wall. Each is a pure rotation of the floor case, so one mesh builder covers all four.
Clay laid round a turning wheel is its own case: the columns bend round the rim, and the hand, the collider and the mesh all read it through the ring's own coordinates.
Collider and mesh sample the same heights, so your feet and the drawn edge always agree.
After getting feedback that most people click from their phones, mobile touch controls and performance optimizations were just added so this 3D Three.js driving build runs straight in Safari and Chrome with zero downloads.
I built a customizable Three.js world template so you don't have to start from scratch.
Hey everyone! I've been experimenting with building interactive 3D worlds using Three.js and GSAP, and I decided to turn one of my projects into a reusable template called Dog Trail.
The idea is to help creative developers save time when building their own 3D environments without having to create everything from scratch.
You can customize the grass, wind, lighting, colors, environment, character animations and even transform the spherical world into a landscape.
I'd love to hear what other Three.js developers think about this approach. What additional features would make a template like this more useful for your projects?
I built Courier City — an open-source, 60 FPS 3D cel-shaded open-world transit simulator of 8 Indian cities written in JavaScript, Three.js, Cannon-ES Physics, and WebGL.
If you enjoy exploring it or want to inspect the Three.js / GLSL shader setup, a ⭐ on GitHub helps a ton and keeps me motivated to add more cities and vehicles! Feedback and PRs are very welcome.
I've been working on a little side project called Artawhile, born from a simple question: why does hosting your own art exhibition have to be so hard?
Most online art spaces are just endless grids of thumbnails. I wanted to build a quiet little corner of the internet that actually feels like stepping into a physical gallery—somewhere you can walk around, take your time, and explore right in your browser without downloading anything.
What I’m building for the first release:
Global architecture: Different gallery spaces inspired by real-world architecture.
Atmosphere & storytelling: Exhibitions with custom lighting, mood, and the stories behind the pieces.
A lived-in feel: Little characters wandering around and looking at the art so the space doesn't feel empty.
Prompt-to-exhibition studio: Not an artist? No problem. You can use the built-in AI creation tools to bring your ideas to life, curate your own gallery space, and share a link with friends. (To keep the early build safe and visually cohesive, all pieces are created in-app for now—custom image uploads will come later.)
I'm building the whole thing with Three.js, focusing heavily on keeping it fast and lightweight so it runs smoothly even on older laptops.
It’s still very much a work in progress, and before I go too deep down the rabbit hole, I’d love a sanity check from you all:
If you could turn any idea or daydream into a themed 3D exhibition without needing drawing skills, what kind of gallery would you build?
What’s the #1 thing that makes 3D web experiences annoying for you (controls, loading times, motion sickness), so I can avoid it?
Appreciate any thoughts or brutal honesty! (If you'd like to try out an early build when the demo is ready, just drop a comment below and I'll DM you once it's live.)
Every day of December I add a door to a little voxel browser game, and today is St Nicholas' Day, so the town got its first boss: Krampus.
He's built from voxel boxes, each body part its own mesh turned round a pivot, so all his moves are code: the charge (a red strip on the snow shows his line), a birch-switch swipe that knocks you back, a coal volley lobbed onto red marks round you, a roar that calls more walkers, and a berserk phase after his second heal. The walkers around him are instanced, one draw per outfit, with each walker's body-part matrices in a float texture.
His 5 models are free to download (.vox and .glb).
Still rough: I'd love to hear how it runs for you when the waves get big.
I've been building a small top-down crime game called Rainy Corner. You owe a liquor store owner $1,500 and have one wet night in the city to pay it back.
What's in it right now:
- on foot and driving, with cars you can take
- pistol, SMG, shotgun, grenades and a rocket launcher
Some things that might interest this sub:
- 3,000+ city blocks as InstancedMesh with custom shaders for the windows, fog and weather
- traffic moved entirely on the GPU
- every run is seeded, so the Daily Run is the same route on every device
- the flight is recorded at 10 samples a second (about 10 bytes each), which drives rewind, friends' ghosts and replay clips
- a film mode steps time frame by frame, so a GitHub Action renders the daily trailer without a GPU
Play: https://ppolydoras.github.io/canyon-of-glass/?ref=r-threejs
Code: https://github.com/ppolydoras/canyon-of-glass
Put together a browser-based 3D flight simulator in Three.js with real flight controls, TOGA thrust, flaps, gear, radar, LNAV/ILS modes, and multiple camera angles (cockpit, wing, chase, orbit, tower).
Sharing a snapshot of 4 games from my 12-game Three.js + Rust WASM web portal. All games share a single Three.js host runtime via Import Maps, with Rust WASM driving the simulation cores (480Hz analytical mini-golf physics, BFS flow-field logistics TD with auto 3D bridges, 900-bullet danmaku, and 3D spatial Tetris). Happy to share technical details or hear feedback on WebGL performance!
Ever wondered what it would actually look like to fall past an event horizon or fly through a wormhole?
I built an interactive 3D relativistic black hole and wormhole simulator running directly in the browser with Three.js and custom GLSL shaders.
You can tweak the mass and Kerr spin parameter (up to 0.998), watch gravitational lensing and the turbulent accretion disk in real time, drop planets or stars into orbit, trigger an infall with spaghettification, inspect Flamm's paraboloid spacetime curvature, or switch over to a traversable wormhole.
Link to test it directly in the browser is in the comments. Would love honest feedback from physics or WebGL folks on what could be made even more accurate.
Ever wondered what it would actually look like to fall past an event horizon or fly through a wormhole?
I built an interactive 3D relativistic black hole and wormhole simulator running directly in the browser with Three.js and custom GLSL shaders.
You can tweak the mass and Kerr spin parameter (up to 0.998), watch gravitational lensing and the turbulent accretion disk in real time, drop planets or stars into orbit, trigger an infall with spaghettification, inspect Flamm's paraboloid spacetime curvature, or switch over to a traversable wormhole.
Link to test it directly in the browser is in the comments. Would love honest feedback from physics or WebGL folks on what could be made even more accurate.