r/threejs • • 2h ago

Demo Built a browser-based air combat game using three.js, WebGPU and real Himalayan terrain

14 Upvotes

Been experimenting with real-time graphics in the browser.

Some interesting bits:

- NASA SRTM terrain using GPU clipmaps

- Raymarched volumetric clouds

- Physically based sky

- GPU compute particles

- WebGL2 fallback

Built with AI coding agents over three months. All code is public.

Play: https://oss-web-3d.vercel.app

Code (MIT): https://github.com/2600th/oss-web-3d


r/threejs • • 12h ago

Demo Hell's Web - Working on a gothic 3D shooter in three js

23 Upvotes

Finally decided to work on my first 3D shooter game.

Decided to set up a camera system for creating clips from various angles, with the ability to also freely roam a fight that is already over, turned out great!

Can try it on hellsweb.com

Game is not fully out yet, it's just a little demo arena for now, although I have created the first layer and am already working on the second layer.


r/threejs • • 14h ago

Simulated knots with real physics using threejs

26 Upvotes

Knots, tied slowly enough to follow. I made in a way that you can watch each knot tie itself on a simulated rope with real physics and you can turn it's camera, pause it, drag through the steps, etc.

https://github.com/behnamazimi/knots

Thanks threejs ❤️


r/threejs • • 3h ago

Demo I built a 3D backyard home configurator with Three.js

2 Upvotes

Here’s an early look at Yard, a browser-based configurator I’m building with Three.js and React Three Fiber.

You can switch between six floor plans, change the roof and finishes, and add solar while a materials estimate updates alongside the model. The walkthrough also shows how shadows move as you scrub the time of day, plus wiring overlays, exposed wood framing, and an exploded view.

The part I enjoyed most was working out how the roof, openings, and framing fit together as you change the layout. In the video, the camera keeps orbiting while the layouts swap so you can compare them from the same view.

I’d love feedback on how clear the layout switches and exploded view are, especially if you’ve built a configurator yourself.

Demo: https://yard.itssudhir.com/


r/threejs • • 34m ago

Question Building a multi-category Three.js product viewer (Jewelry/Diamonds, Machinery/CAD, Furniture/AR, Electronics) — how would you structure per-category configs?

0 Upvotes

Hey r/threejs!

I'm building a unified web-based 3D product viewer system (Follow3D) that takes either product photos or CAD/STEP files and delivers lightweight (<5 MB) interactive 3D/AR models for different B2B & e-commerce categories.

Because each category has completely different visual and performance needs, I'd love your suggestions on how to architect a clean per-category configuration system in Three.js:

  1. Fine Jewelry & Diamonds (from photos or CAD): Needs realistic diamond refraction/dispersion, reflections, studio HDRI lighting, and crisp micro-facets without killing mobile FPS.
  2. Industrial Machinery, Valves & Motors (from heavy STEP/SolidWorks CAD): Needs aggressive mesh decimation + Draco/Meshopt compression, clean metallic/brushed shaders, crisp edges, and interactive spec hotspots.
  3. Furniture & Handicrafts (for Web + WebAR): Needs realistic wood grain & fabric PBR maps, soft ground contact shadows, and accurate real-world scale for AR placement.
  4. Electronics / IoT & Molded Packaging: Needs matte/glossy plastics, emissive screens/LEDs, and sharp label decals.

Questions for the community:

  • How would you structure category-specific presets (lighting rigs, PMREM/HDRI env maps, tone mapping, post-processing, and material overrides) in a single reusable Three.js viewer?
  • What key Three.js configuration details or pitfalls should I watch out for (e.g., MeshPhysicalMaterial transmission/IOR/dispersion for diamonds, KTX2 textures vs WebP, Draco vs Meshopt, DPR clamping on mobile)?

Would really appreciate any tips or architecture advice in the comments!


r/threejs • • 1h ago

Home Sweet Home, Claude Opus 5.5

1 Upvotes

r/threejs • • 13h ago

Article How I enhanced the lighting of "Slop New York"

4 Upvotes

r/threejs • • 7h ago

Built a 3D sci-fi/cyberpunk AI assistant in the browser with scene switching, an animated character, and spaceship mode — feedback welcome

1 Upvotes

I’ve been working on AstroNeo AI 3D, a browser-based interactive 3D project with a sci-fi/cyberpunk aesthetic that combines a 3D environment, space exploration, and AI tools. You can switch between a 3D Room and a Spaceship Bridge, complete with an animated 3D character (GLTFLoader), reactive animations for speaking, processing, and gyroscope input, plus space travel with WARP mode and planetary simulations.

​What’s running right now:

  • ​Switching between the 3D room and spaceship bridge with an animated character and visual effects
  • ​Backend chat routing (/api/chat) with multiple providers, response streaming, live search, and environment actions
  • ​Continuous voice input, text-to-speech (/api/tts), file/image analysis, and a holo-panel for image generation
  • ​Account login, persistent memory, and key management via Supabase, starting in text mode and unlocking voice based on user setup

​I’m still refining browser performance, cross-device stability, and overall 3D smoothness. I’d love any feedback, WebGL/Three.js optimization tips, or ideas on what to test next.


r/threejs • • 15h ago

Demo A bullet-hell where you only get one shot… and you have to recall it

4 Upvotes

I posted a few days ago, but I wanted to show more progress on it (i since added scripted movement patterns, sound design, a bossfight, and a second stage)

It plays like a regular shoot'em up, but your shot act more like a golf ball... and you need to bring it back after each shot.

There are power-ups to add variety to the gameplay, like one that makes your tether a laser that deals damage, and on that makes an explosion when interrupting recall.

For now, only the first stage is (nearly) done, but the second one should be ready in a short while. The gameplay still needs some polish and tweaking (especially the power-ups)

I’ll try to share a link to the game as soon as I can.

I used Opus 5.5 for the code, with Figma and Inkcape for the visuals (it still needs work though)


r/threejs • • 7h ago

Help [for hire] creative developer looking for his next opportunity

1 Upvotes

hoping this reaches someone who might be looking for a creative developer like me.

i work with three.js, webgl, 3d, shaders and interactive web experiences. i love experimenting with visuals, pushing creative boundaries and bringing ideas to life through code.

i'm still early in my career and just looking for an opportunity to keep doing what i genuinely love.

open to full-time, remote and freelance opportunities.

- portfolio: http://curllmooha.com

- sketchbook: http://sketchbook.curllmooha.com

- x: @curllmooha

if you know someone who's hiring or have something interesting to work on, please reach out. even a small lead would mean a lot to me right now.

thanks for reading :)


r/threejs • • 8h ago

Demo NoWalls V2

1 Upvotes

The game is simple, and the first version was built entirely with HTML. Adding Three.js made it much more fun, especially the collisions between the brick pieces.

You can play here: https://diegodotta.itch.io/no-walls


r/threejs • • 12h ago

Demo Product Configurator showcase - Guitar controller

2 Upvotes

Hiya, I've seen some posts asking if there is a use case for 3D on websites, so I'd like to share this particular project I've been building for the past year for a fellow redditor.

My client serves a very niche community, building custom-made guitar controllers, but before having this app he had a problem converting, simply because it was hard to visualise the end product, due to the fact that you can essentially customise every single part of the guitar.

With 49 guitar body options, 39 headstocks and 27 inlays, there are 51,597 possible combinations, and that is not including colour options.

Our main focus was making sure it's easy to use on mobile, loads fast and is responsive, while making sure it looks as close as it can to the actual product. Lots of time was also spent optimising the assets, compressing thousands of geometry into a single 20MB file. We also instance meshes wherever possible.

The app has been featured on Linus Tech Tips, and it's honestly pretty fun to play with, even for people who aren't into the game.

I've also made a guitar for Reddit if anyone is keen to have a look.

https://builder.hammeronguitars.com/?v=EYZgtAlgTJMBYEYDsZEoPZgO7bJgzjgfmMANa7mkUDGANgE7VgAuYAZmACbfNqwdBnfAjCMA5sDABXXlyA

Happy to hear what you guys think!


r/threejs • • 16h ago

Isometric Berlin update: now the whole city

Post image
4 Upvotes

New since launch: isometricberlin.com

  • Whole Berlin, not just inside the Ring
  • Live S-Bahn, U-Bahn, tram and bus on the real VBB timetable
  • New landmarks
  • Much faster and lighter, also on mobile

r/threejs • • 10h 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 • • 1d ago

Treegazing: Cozy multiplayer game fully by threejs in browser

43 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 • • 6h 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 • • 13h 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 • • 17h ago

Testing my WebAssembly SLAM tracker in a phone browser

2 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 • • 20h 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 • • 8h 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 • • 18h ago

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

0 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 • • 1d ago

Mobile walking game built with Three.js + Expo

3 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 • • 1d ago

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

2 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 • • 1d ago

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

14 Upvotes

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

https://dipyours.com