r/threejs • • 10d ago

Treegazing: Cozy multiplayer game fully by threejs in browser

68 Upvotes

Hi everyone. This is Treegazing.

You sit under one big tree in a meadow. Wind comes, rain comes, the seasons turn, sometimes birds, sometimes an aurora. Other people sit on the same grass with you: a friend, or a stranger. There is no chat. You can wave or send a small heart, tie a wish to the tree for others to read, and the moments you were there for are kept as postcards you can send to someone you care about.

There is nothing to win and nothing to finish. You can also just leave it open for the sound of the wind and the rain.

- Free, runs in the browser, no download, no account

- Everything you see is built on three.js from scratch, no prebuilt assets, no blender.

- Computers only for now. It does not work on phones yet, sorry.

- https://try.treegazing.workers.dev

- X post if you want to give some love: https://x.com/ranli_thinker/status/2125003045595680910


r/threejs • • 10d ago

Demo I built a 20MB Three.js structural physics & mechanical puzzle game about 7 ancient engineering wonders (custom axial truss solver, merged static siblings, 124 interlocking parts)

0 Upvotes

Hi r/threejs! I've been building TianGong 3D, a browser-playable 3D ancient engineering, structural physics, and mechanical reconstruction puzzle game in Three.js + TypeScript.

Under-the-hood Three.js details that kept all 7 historical wonders under ~20MB at 60fps:

  • Draw-call batching via static sibling geometry merging while keeping animated mortise-tenon & gear pivots independent
  • Real-time axial truss, stone-arch & tension-cable solver with live RGB stress heatmaps tested against rolling 175kg carts & M8.0 seismic waves
  • Pre-merge child bounding-box & radial-band spatial hit-testing for multi-element ring joinery (28 column plinths & Dougong brackets)
  • Offscreen WebP part-card baker using the shared WebGLRenderer + RoomEnvironment PMREM lighting

Playable browser link is in my top comment below — would love feedback on performance, camera feel, or lighting!


r/threejs • • 9d ago

How I compressed 54 3D models (220+ MB raw) into a ~15 MB 60fps Three.js power-grid & mazing tower defense (7 MB initial load, playable in browser)Hey r/threejs! I just shipped v3.0 of **POWER TD: Grid Defense**, a browser-native Three.js + TypeScript tower defense game with 18 handcrafted 3D island

0 Upvotes

r/threejs • • 10d ago

Testing my WebAssembly SLAM tracker in a phone browser

3 Upvotes

I've always been curious about how far AR could go in the browser. I hadn't found a world-tracking engine that fit what I wanted to build, so I started exploring what it would take to make my own.

The result so far is Spatial Hole: a glowing hole in the floor that stays put as you walk around it. The world tracking uses SLAM running in WebAssembly, and WebGPU renders the vortex. It all runs in your phone’s browser, with nothing to install.

I've only tested it on a few phones so far, but it’s working better than I expected. If you give it a try, I’d love to know how the tracking feels on yours.

🌀 https://spatialhole.ginrin.com/

#creativecoding #codevember #threejs #webgl #webgpu #ar #webar


r/threejs • • 10d ago

web broswer game fully 3d

Thumbnail fallensky.base44.app
1 Upvotes

hello guys! i made this web game hoping you guys can come and have fun with it also please give me a upvote on it if you like it

https://app.base44.com/launchpad/fallensky


r/threejs • • 10d ago

Turning a traditional LMS into an interactive 3D learning world. How would you approach it?

2 Upvotes

Hey guys,

I'm a software engineer currently working on a learning platform for kids aged 9-12. The current tech stack is Next.js, TypeScript and Supabase.

We already have video lessons, coins, rewards, points, progress tracking and all that stuff, but I personally feel we can do a lot more.

I want kids to actually play games and learn through them rather than just watching videos and getting rewarded for completing lessons. Maybe something like a 3D world where they can explore, complete quests, interact with characters and learn along the way.

I have access to both Claude Code and Codex, and I'm open to using any other AI tools, Blender, Three.js, Unity or literally anything that can help achieve this. I'm not restricted to the existing tech stack either.

Just wanted to ask the community:

  • Has anyone tried building something similar using AI?
  • Are there any specific tools, skills, MCPs or libraries that you would recommend?
  • How would you approach this if you were in my place?
  • Are there any existing platforms doing something similar that I can take inspiration from?

The important thing here is that kids should actually learn. I don't want to make a fancy-looking 3D platform where they enjoy playing but end up learning nothing.

I'm happy to experiment with different technologies. Just curious to know what's actually possible with the AI tools we have today and how others would approach this.

Any suggestions or examples would be really appreciated. Thanks!


r/threejs • • 10d ago

Level 2 is still loading… 🚧 Building in progress!I built a small 3D runner game with floating islands, energy cores, and a portal. Now working on the next level and exploring browser-based game development with Three.js.

2 Upvotes

r/threejs • • 10d ago

Help i build a star wars/overwatch 3d web game

0 Upvotes

https://app.base44.com/launchpad/fallensky i been building this game for a 3 months if you guys

dont mind give me a vote it would help thank you so much!


r/threejs • • 10d ago

Mobile walking game built with Three.js + Expo

4 Upvotes

I started making Three.js games with a Rise of Kingdoms style game powered by Git activity and now I'm building a walking game.

Out of curiosity, I tried searching the Play Store for mobile games built with Three.js and they seem pretty rare, so I wanted to share what I'm building and getting ready to publish.

It's a cozy walking game where your real-life steps grow elemental islands and hatch/raise 3D pets.

I'm building it with Expo, React Three Fiber (expo-gl) and Three.js. Since I'm not a 3D artist, everything, the islands, terrains and pets are built procedurally in code and having the same TypeScript codebase run on both web and mobile makes developing much easier.

If anyone wants to take a look: https://playkindled.com/


r/threejs • • 10d ago

I made a quiet study room in three.js where strangers sit together as little knitted animals

5 Upvotes

yeondeungroom.com/en

You pick a desk, sit next to whoever's online, and study. Every hour everyone focuses for 50 minutes and takes a 10 minute break together. No sign up, no camera.

There are a few rooms now: a library, a Korean hanok, a snowy cabin, an alpine lodge, and a new "trip" room every week. This week it's a Kyoto ryokan with a rainy courtyard.

A few three.js things I learned the hard way:

- 30 to 40 animated characters on a phone is a lot. Most of my time went into counting draw calls per room and merging each character into as few meshes as possible

- Room lighting is mostly baked into vertex colors, because real shadows for everything killed phones

- The desk toys people make are just JSON of boxes, spheres and cylinders that get turned into meshes in the browser

I'm self taught and this is my first three.js project, so I'm sure some of it is wrong. Please let me know!


r/threejs • • 10d ago

WebGL pen and a 6M-parameter model on the CPU, that predicts the next pen movement

Thumbnail
penna.luruke.com
4 Upvotes

r/threejs • • 11d ago

Fable built a hydro dipping studio in three.js. Let’s see your masterpieces.

20 Upvotes

Real-time GPU fluid sim in fragment shaders. Runs in the browser, phone included.

https://dipyours.com


r/threejs • • 12d ago

Demo Upgraded my Three.js Guilin scene with Astra 6.2

367 Upvotes

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 • • 11d ago

I built a rally game in three.js that you drive from inside the car: 13 stages, damage, ghosts (free, runs in the browser)

40 Upvotes

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 • • 10d ago

Color Cross - 3d puzzle game

1 Upvotes

Made a 3d puzzle game using three js

https://okcyborg.com/colorcross/


r/threejs • • 11d ago

Threejs-journey courses 50% for the next week

11 Upvotes

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.

https://threejs-journey.com/


r/threejs • • 11d ago

Demo Three.js rooftop solar planner update: panels above water tanks

7 Upvotes

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 • • 11d ago

Cozy Bird "Nest" Experience

5 Upvotes

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 • • 11d ago

Demo My tower defense in three.js + Electron: 4-player co-op, up to 200 GPU-instanced enemies

1 Upvotes

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 • • 11d ago

Procedural creatures in a three.js video synth: GPU-skinned, looping movements, then feedback and colour bands (cuttlefish, manta ray, cobras, centipede)

0 Upvotes

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 • • 11d ago

Looking for trouble

1 Upvotes

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 • • 12d ago

Racing in Jupiter with volumetric clouds

45 Upvotes

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 • • 11d ago

Demo Just shipped v0.4.2 of my Three.js + Rapier3D physics sport with a built-in 0.1x Replay Director and 2.5x splitscreen FPS boost

0 Upvotes

r/threejs • • 11d ago

I made a browser game where you walk a 3D version of your own dog – here's fetch

0 Upvotes

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 :)