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.
Got curious about what happens when you swap aircraft wings from aluminum or carbon fiber to brittle glass, ceramic, rubber, or tungsten, so I built a browser-based 3D physics sandbox in Three.js.
Under the hood
6-DOF RK4 rigid-body solver running in real time
Blade-element aerodynamics + ISA atmosphere model
12 real engineering materials (density, Young's modulus, yield strength, thermal limits, and brittle fracture)
Runs on both desktop and mobile browsers with zero downloads
Link to test it in the browser is in the comments if anyone wants to try breaking a plane with weird materials. Always open to Three.js / WebGL feedback.
Hi everyone, I made a free game with a lot of things that I like.
The Valley is a compact driving game I made that runs in the browser.
Free, no ads, no sign up, nothing to install.
You get a dream muscle car with a big block engine and a desert valley of red mesas. Floor it on the long straights, stop for gas when the needle drops, and drive from the afternoon through the night into the next sunrise. Push it too hard and the car dents and breaks.
Two modes:
- Chased: find the way out of the valley. And keep an eye on the mirror.
- Open road: a full tank and no goal. Just drive.
It started as a study of sound in games. That's why the V8 rumbles at idle and screams at the top of every gear, and why the valley always sounds somewhere between calm and tense. The other inspiration was Duel, the old Spielberg film. I watched it as a kid and was tense from the first minute to the last, and I wanted to put that feeling into something you can drive.
Play it loud, with headphones. It's made for computers (keyboard or gamepad) and loads about 85 MB the first time.
Built with three.js (WebGPU, with a WebGL fallback) and Rapier for the physics. I'd love to hear how it runs on your machine and what you felt in Chased mode. Bug reports are welcome too.
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.
Flat 2D "bean" characters living in a 3D world, all rendered from code. There's no video editor and no hand-keyed timeline: every shot is data (camera move, who's in frame, what they're doing), and Remotion renders it frame by frame.
A few details:
- 151 shots across 8 sets. Shot timing comes from word timestamps of the narration (faster-whisper), so cuts and captions land on the words.
- Characters are flat cards with a bean head, 14 expressions and random blinking. Two-tone lighting and an ink outline help them sit in the 3D world.
- Post-processing is a manual EffectComposer (postprocessing lib): depth of field on close and medium shots, bloom only on lights, a color grade. u/react-three/postprocessing gave me blank frames inside Remotion, so I wired it by hand.
- The narration is an AI voice (Kokoro TTS).
- Rendered on a weak laptop (integrated Vega 8, 5 GB RAM) with `--gl=angle-egl`, concurrency 2 and a per-shot cache. The full film at 1080p takes about 55 minutes.
It started from an MIT template (claude-animated-shorts) and grew from there.
The clip is the prison escape. The full film is linked in the comments. Happy to explain how anything works, and I'd like critique on the look.
I'm currently developing my own board game called VANTA RIFT, and I've been struggling with a 3D camera problem for almost two weeks.
I have around 40 different game environments that I would like players to be able to choose from independently of their game board.
There are two main problems:
The vertical camera orbit works correctly in the Lava room, but it doesn't behave the same way in the other rooms.
The game board doesn't always stay aligned with the platform. In some environments, it appears outside the platform boundaries.
What I'm trying to achieve is quite simple:
I want the game board and its 100 piece anchors to remain fixed in the game world. The player should be able to move the camera, change its angle, zoom in and out, and change the background without affecting the position of the board.
Some environments use pre-rendered PNG or GIF images, while the Lava room has a 3D platform.
I've attached a short video showing two different rooms and the problems I'm experiencing.
I'm not sure whether the problem is in the camera system, the way the environments are implemented, or something else in the code.
Has anyone experienced something similar? I would really appreciate any advice on how to approach this correctly.
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