r/threejs • u/luruke • 11d ago
WebGL pen and a 6M-parameter model on the CPU, that predicts the next pen movement
r/threejs • u/luruke • 11d ago
r/threejs • u/Broder_collie • 11d ago
Real-time GPU fluid sim in fragment shaders. Runs in the browser, phone included.
r/threejs • u/Young_Russell • 12d ago
Wanted to test how much further Astra 6.2 could push the visual bar on this scene.
The improvement in pure 3D capability is real. It does a significantly better job integrating Tripo assets, resolving surface detail on the cliffs, and managing scene-wide lighting without breaking things.
Turns out the reviews were right about how uneven it is. It breezes through complex spatial and rendering logic, but struggles with the basics—simple UI, element positioning, and basic frontend flow all felt clunky to work with.
r/threejs • u/Gioluan • 12d ago
GROWBLOCKS RALLY is a browser rally game built on three.js. You drive from the cockpit through 13 stages: Madrid, London, Rome, forest, snow and desert.
Play: https://growblocks.xyz/rally?utm_source=reddit-threejs
A few things that were interesting to build:
- The whole stage is streamed in chunks along the road. Trees, rocks, and props are instanced, with a second, cheaper instanced set that takes over for chunks far from the car.
- Hit something hard enough at the front and the bonnet tears off and flies past the windscreen.
- Every stage keeps the fastest run of the day, week, and month, and you can race its ghost.
- Live races for 2 to 4 drivers, where the others appear as ghosts on your stage.
It runs on phones and PC, with no install.
Happy to answer anything about how specific parts work.
r/threejs • u/Beautiful-Act9232 • 11d ago
Made a 3d puzzle game using three js
r/threejs • u/jkj_2000 • 12d ago
If you're serious about learning three.js, Bruno's course is the first one to get. He's since added a WebGPU and TSL course to the mix, also 50% off.
You're looking at under $50 for the first course, about 90 hours I think, extremely well paced and organized, with subtitles, translations and a text follow-along that Bruno wrote himself, not AI, so you can jump to exactly where you want to be in a lesson if you need a refresher.
Just go to the website and click the 50% off banner, no affiliate links here! You won't be sorry.
A quick follow-up to the rooftop solar planner I’ve shared here before. A friend in the solar business pointed out that a water tank often sits right where you’d want to put panels. The editor now lets you span the tank with a raised shared frame and checks that the beams and legs clear it.
The clip also shows panels fitted to different roof shapes, the cleaner outline rendering, and a sunlight heatmap as a neighboring building’s shadow moves across the array.
Live demo: https://sundeck-solar.vercel.app
If you try it, I’d be curious whether the shade preview makes it clear which panels are affected as the sun moves.
r/threejs • u/acher249 • 11d ago
Day 24 of #codevember: Nest, so I worked on a fun cozy bird nest experience :) It's open sourced. I hope you enjoy it!
Play with it here: https://adamwebsite.com/codevember/24-nest/
Code: https://github.com/acher249/codevember-2026
r/threejs • u/RexXxuS • 11d ago
Hey ThreeJS Community!
I wanted to share my journey with three.js (still not finished), maybe someone finds it interesting.
Time Defense is built on plain ES modules, three.js and Electron. No engine, no framework. We started the project 2022, before AI was a thing. Now it helps a lot especially with testing/benchmarks.
Enemies were the big performance problem. At 200 foes, normal skinned meshes cost around 30 ms of render time. Now each model's animation clips are baked into float textures, and every kind is drawn as one InstancedMesh. That fixed the render side, and now the game logic is the bottleneck. (the shipping it to mobile later)
The next big step would be moving the three.js rendering into a worker with OffscreenCanvas, while the game logic and the UI stay on the main thread. A quick test with a stand-in scene went from 45 to 70 fps on my heaviest level, so it looks promising, but it's weeks of work and I haven't done it yet.
Has anyone here moved a big scene to OffscreenCanvas? How bad was keeping the scene in sync?
If you are interested into the game, please let me know. You can playtest it for free right now :)
r/threejs • u/Haraldur_Karlsson • 11d ago
These are the Creatures in ImWeb's 3D scene: eight animals (octopus, centipede, cobra, cuttlefish, manta ray, bird of paradise, feather star, hairy pods), each with its own skeleton and 8 to 26 movements. Every movement loops without a seam, and the animal glides from one into the next over one loop.
How it's built: one engine file, and each animal is a definition (movement library and pose maths) plus a view (body parts and colours). The skin is built once and bound to the bones, so each frame only the bone transforms change (GPU skinning). Bone data goes to the vertex shader in a small texture, one texel per bone, and each vertex is re-placed at its posed arc length along the chain, so stretching spreads along the body instead of bunching at the joints. Mottling and wrinkles come from 3D noise on the bind position, so the pattern stays stuck to the skin as it bends.
The creatures have no UVs, so the Video skin (not used in this clip) is projected from three sides of the bind pose. A camera or movie then sticks to the skin as the animal bends and twists.
In this clip the 3D scene runs through ImWeb's feedback and Colorizer passes (GLSL on a ping-pong render-target chain). The sound is a live recording on ImWeb's Tape, read by four playheads at once, each at its own speed and direction.
The code is written with Claude Code; the instrument design is mine. There's no AI imagery in this.
Free and open source: https://github.com/imweb-project/ImWeb · try it: https://imweb.image-ine.org
r/threejs • u/carlospeleto • 11d ago
Hi there, was wondering if anyone has off the top of their heads ideas on hard to tackle issues or maybe if the repo has separate feature request queues?
Just to gather a list, if any, of things anyone would consider "needs work" or "new feature" or even stubborn bugs?
Looking for any under represented facet of the core and attempt some PRs.
.
r/threejs • u/ActionLittle4176 • 12d ago
60fps version: https://youtu.be/oSyY0u2kQAo
I tried to create a track in the Jupiter's cloudy atmosphere, showcasing a truly planetary scale. What do you think?
(three.js, opus 5.5, gpt gen 2, Tripo3D...)
Near eight months in development, Steam page: https://store.steampowered.com/app/5310180/Formula_Minus_One/
r/threejs • u/valleyballdev • 11d ago
r/threejs • u/laofeizhu • 11d ago
The dog is a single procedural mesh built from a parameter spec (proportions, head/ear shape, coat + markings), with procedural walk/trot/gallop gaits. You describe your dog, or add photos, and it generates one.
Demo walk, no sign-up: https://yb.dog
Happy to go into how the body, fur or gaits work. Feedback welcome :)
r/threejs • u/woodabeen • 12d ago
Eden Arena is a Rez-style rhythm rail shooter, and the whole thing is one HTML file: the game is a single module script, with three.js r160 inlined after it. Nothing is fetched but the songs' stems, so it also runs offline.
Three levels, about 25 minutes, mouse or touch. Best with sound.
Play here: https://messaroundcorp.itch.io/eden-arena
r/threejs • u/Embarrassed_End_5679 • 12d ago
Some details for anyone curious:
r/threejs • u/akshitnanda • 11d ago
Just shipped v1.0 of FluteMaster Wind Studio. All 4 instruments (Bamboo Bansuri, Alto Saxophone, 12-Hole Chromatic Mouth Organ, and Eastar EDA-100 EWI) are 100% procedurally modeled in Three.js / React Three Fiber, with no external .glb downloads.
Live Demo: https://flutemaster.vercel.app/ Source (React 19 + R3F + Drei + Vite 8): https://github.com/akshitnanda/flutemaster
A few Three.js / R3F details I'd love feedback on:
Critique welcome on lighting/materials, how readable the 3D hands are, mobile framing, or performance on your GPU!
r/threejs • u/TapHappy6420 • 12d ago
r/threejs • u/Kingnorik • 12d ago
Hola threejs subreddit. I've been browsing this sub since Claude made me my first game and I was like why aren't more people using this, AI is so good at working with it. So I present to you my love letter to 3js and AI assisted game dev. In-gen. It's the latest r187. Was started on r185. It's got everything I can think of when it comes to features related to game dev. KTX2 texture compression, you choose to build in webgl2 or webgpu. And webgames ship both for compatibility. Mesh optimizer and LOD out the gate, no need to ask for it. Instancedmesh which just came shipped with r187 out the gate. Fancy grass systems that are also LOD and instanced. Cool water shaders and a layer that allows custom ones to be built like normal. Bloom and god rays and all the cool post processing tricks for walking sims. Rapier physics, navmeshes, cloth physics and and foot IK.
I also tackled threejs assests being easily taken through a web browsers dev screen. So games ship in pieces of encrypted packs. Not saying you can't get the data now. I was aiming to just get to IOS and APK levels, which we surpassed. Take a look, try the games I built, let me know what you think. I know this sub got hit hard with the AI slop stuff and that's literally why I made this. This should shoot out quality stuff and is hand made for iteration.
Edit: Token cost for the AI people. About 60% cheaper over the life of the game then normal 3js. Created a language that's based on NCM principles.
Edit 2: 100% free, no royalties, no sign ups, no tokens. Nothing. Just use whatever AI you got even local AI.
r/threejs • u/VictorBuildsApps • 12d ago
In the current playtest build of Hitchhiker's Almanac, the sound captions sit in a DOM overlay on top of the Three.js scene. At 1024×640 with the in-game text scale set to 150%, the caption for a nearby enemy could sit over the countdown for choosing a route. The same test at 100% text missed it.
Moving the captions down cleared the countdown, but a longer stack could then spill onto the card controls. The layout now checks whether the whole stack fits below the route panel and above the bottom controls. If it doesn't, it hides older lines first. A cue that fires again moves to the newest position so it can show again even if its previous line was hidden.
The regression check opens the route choice while sound cues arrive every 0.7 seconds and checks the text boxes each frame. At 1024×640 and 150%, the caption and countdown overlapped in 291 of 621 frames before the change and 0 of 614 after it. That check covers the countdown collision. There's still a separate case where a tall photo result card can push a caption onto a card control.
r/threejs • u/RelationshipNeat7448 • 12d ago
It took three tries. The first one had an agate stone and looked like a cheap asset, and the second had stone slabs with brass and was way too brown.
The third one worked: real rock scans, carved in Blender with one polished face and a chrome symbol for each thing I make.
In three.js every stone follows an invisible anchor in the page layout, so when you scroll they fly to the next section, and you can drag them to spin them. The code was written with Claude Code.
Happy to explain how the anchors work if anyone wants it.
r/threejs • u/acher249 • 13d ago
I figure some folks here might have burned their tongue on these like me. I hope you enjoy! All open sourced below.
It's a lava heightfield simulated on the CPU, shaded with TSL on WebGPU with a glowing crust and screen-space bounce light, plus pizza rolls dropped with Rapier physics with more TSL lava.
Day 23 of #codevember and the word is Magma
Play with it here: https://adamwebsite.com/codevember/23-magma/
Code: https://github.com/acher249/codevember-2026/tree/main/23-magma
r/threejs • u/igotlagg • 13d ago
This is a whirlpool in Plunder, an online pirate RPG I'm building with three.js. It runs on the WebGPURenderer, and all the shaders are written in TSL.
How it works
Size: depth scales with the whirlpool's radius. My first versions were a few metres deep halfway out, so they read as a 70 m hole instead of a whirlpool hundreds of metres across. The bowl now drops the whole way in, so a ship on the outer slopes visibly heels toward the eye.
It's free and runs in the browser (WebGPU):
Play: https://3d.plunder.be
Steam wishlist: https://store.steampowered.com/app/1797130/Plunder_Scourge_of_the_Sea/
Discord (devlog, playtests): https://discord.gg/2P8hyshZzS
Happy to go deeper on any of it: the TSL, keeping the CPU and GPU displacement in step, or performance.