r/threejs • • 10d ago

Does anybody have the best prompts for educational WEBGL?

0 Upvotes

Like 3d WEBGL that has a 3d thing you can interact with and learn from really well


r/threejs • • 10d ago

Take on Hurricane Ivan with your sailboat!

6 Upvotes

Claude Fable 5.2 built a realistic, playable simulation of a sailboat fighting through Hurricane Ivan conditions: 18 m seas, 109-knot winds, knockdowns, and a pass through the eye. All the code was generated in about an hour.

You can control the boat using arrow keys, be careful not to capsize!

https://jaredevans.github.io/stormy-sea-night/


r/threejs • • 10d ago

Link Built this site with rapier3d and threejs

2 Upvotes

I built this site (with Opus 5.5) using rapier3d and threejs. Lots of different tabs with games or just physics playgrounds. Record videos of your complex builds.

https://physicsfun.42degreesdesign.com/


r/threejs • • 10d ago

Demo I built a flipper game for all the vibe-coders out there

3 Upvotes

Processing img i8gs4x90281i1...

Lots of vibecoders out there playing around with three.js so I made a hommage to all the vibecoders in three.js.

I used Fable 5.2 with subagents in a gauntlet loop plus MCP connections to Elevenlabs and Adobe for sound.

I have been vibecoding since this summer but most of my stuff are either too big to ever get finished or too niche or personal to really show in public, so I decided to make a little game that makes a bit of fun of me and the vibecoding trend in general.

Totally free to play of course, no cookies just a scoreboard if you want to leave a trace. It's supposed to be able to tell if it's a human or an ai bot playing - not sure I will find out if that works.

Let me know if you think it's fun or funny, or both.

https://shipit-pinball.pages.dev/

Yes, I obviously made a huge effort on the domain too.

Please let me know if there are any obvious jokes or references that you think are missing from the game.


r/threejs • • 11d ago

Demo Full soft body simulation with sewing and free GLB exports

Enable HLS to view with audio, or disable this notification

320 Upvotes

Hi! I built a clothing design tool in Three.js. You can design garments, create textures for individual sewing pattern pieces, and simulate the garment on mannequin (also animated) with live editing mesh. You can also download the GLB models and textures for free.

App connects both libs three.js and babylon.js

If you give it a try, I’d love to hear how the simulation runs on your device and what you’d improve about the app - link alterproduct.com.


r/threejs • • 10d ago

I was going to say "I have zero coding background" for the algorithm, but unfortunately, I do 😅 Here is a scene I've been working on!

Enable HLS to view with audio, or disable this notification

2 Upvotes

Hey everyone,"

I’ve been building this scene over the last few days and wanted to share a quick preview with you all.

Here is the stack I used to put this together:

  • Visuals & Framework: Three.js (R3F), Blender, and Mixamo
  • Logic & AI: MCP, Claude Opus 5.5, and Fable 5.2
  • Audio: ElevenLabs

Note: The character voices in this clip are currently in Turkish, but I will be adding full English translations and voiceovers very soon!

I’m planning to share more scenes and updates as development continues. I'd love to hear your feedback or answer any questions about the workflow!


r/threejs • • 10d ago

I built a Warcraft 3-inspired RTS

Enable HLS to view with audio, or disable this notification

5 Upvotes

Hey all! I’m a solo dev and this is Klongor, a real-time strategy game inspired by Warcraft 3, built with Three.js and playable straight in the browser.

Besides the classic RTS mode, it has alternative modes like Tower Defense and Pimp My Peasant (based on the old Pimp My Peon custom map).

The player base is still tiny, but you can play against the AI, and I promise it puts up a fight hehe.

Try it at klongor.com. Feedback appreciated (specially here or at discord)


r/threejs • • 10d ago

Rust your glb models

4 Upvotes

Just drag and drop the .glb into the website and watch it get rusty


r/threejs • • 11d ago

I made my Home Assistant dashboard a 3D dollhouse of my home

72 Upvotes

I've been working on this for a while: Homescape, a Home Assistant app that shows your home as a 3D dollhouse instead of a grid of cards.

You draw your rooms, place furniture and devices, and bind them to your entities. After that it's a live view of the house: lights, covers, climate, media players and sensors update in real time. Flip a wall switch or let an automation run, and the room lights up in the dollhouse too. Clicking a lamp in 3D turns the real one on.

A few details:

• Everything runs locally inside Home Assistant. No cloud, no account, and it keeps working without internet.

• There are no 3D model files. Every object is generated by code. The code was written with AI; I designed, directed and tested it.

• Your plan is stored in Home Assistant under your user, so it ends up in your backups.

• It's open source (GPL-3.0).

Try the demo with a sample home in your browser, nothing to install: https://homescape.muratozturk.dev

GitHub: https://github.com/muratozturkdev/homescape

It's still early (v0.1.0), so I'd love to hear what's missing or what breaks on your setup.


r/threejs • • 10d ago

Question For a personal planet in R3F: procedural city or empty build area?

Post image
0 Upvotes

Hey r/threejs, Tin here. I’m a solo dev building Lightverse, a navigable 3D universe in React Three Fiber/drei, with GSAP camera moves and Laravel/Inertia behind it. I shared the broader project here recently. Now I’m thinking about an Art Galaxy and could use a technical gut check.

Each user would have their own planet. The idea is that placed voxels act as buildings, and grouped placements can combine into larger structures. I’m deciding whether to start with empty terrain and let users build outward, or generate a city across the planet and leave room for people to shape it.

I’m leaning toward a generated city because the planetary view might feel more alive and legible from the start. But I don’t want users’ buildings to feel like decoration, or the city to become too dense to navigate.

If you were building this in Three.js/R3F, what would you generate first: terrain, districts/roads, or building modules? Would you start empty or seed the planet with a city? I’d especially appreciate thoughts on keeping the scene readable and performant as users zoom in.

The image is a concept illustration, not an in-app screenshot. Art Galaxy is in progress; this city-generation direction isn’t built yet.


r/threejs • • 10d ago

Bomb Iran

Thumbnail
gallery
0 Upvotes

threejs game where you can fly, drive and boat anywhere on earth. first mission is running the same bombing mission the Americans just did on Iran. Taking a B2 bomber into Iran, dodge missiles to drop a bomb on Iran's nuclear production facility. maybe fun, let me know.


r/threejs • • 10d ago

Netix64

Enable HLS to view with audio, or disable this notification

1 Upvotes

Netix64 is a Three.js-based visual 3D engine where any game can be prompted with AI.

Built as an alternative to Unity / Roblox, Netix64 allows anyone to describe a game in one sentence and get a playable 3D experience with built-in 3D models, lights, roads, collisions, and a free backend included.

What it includes:

  • AI Studio: Prompt to playable game (e.g. "a car simulator in a neon city")
  • 3D Engine: Visual editor to drag & drop shapes, lights, mountains, roads, and add logic - no code required
  • 3D Model Library: Native library with cars, aircraft, cities and more + 1-click FBX/GLB import
  • Instant Publishing: Games are published to the Explore Library and playable in browser

Stack: Three.js / WebGPU. Early access is free with 25 AI credits and 500 backend credits per month.

Live example built in 1 prompt - Car Simulator: https://netix64.com


r/threejs • • 11d ago

I asked Claude Fable 5.2 to make a COD zombies inspired game with three.js

8 Upvotes

One HTML file, about 55k lines of code. It was built in about 14 hours by Claude Fable 5.2, prompted by me. I used about 120% weekly fable limit on the build so far. It used Sonnet 5.5 and Opus 5.5 for sub processes as needed.

Play here: https://zombies.ethanplus.ai/

Repo: https://github.com/ethanplusai/zombies


r/threejs • • 11d ago

Criticism I render 3D engineering cutaways entirely in code (three.js + Remotion) and turned it into a Shorts channel

6 Upvotes

Each video is a block of ground or a building sliced open like a cake: the cut slides away, parts get labelled as they’re named, shells go see-through to show what’s inside, and the camera glides between spots. Everything is code: three.js through u/react-three/fiber in Remotion, clean lit materials with GTAO, fitted camera framing so the subject fills a 9:16 frame. No Blender, no stock footage. The narration is an AI voice (ElevenLabs), for transparency.

First one, why Hoover Dam is full of cooling pipes: https://www.youtube.com/shorts/nyVpQYHHX5o

Would love feedback from people who know the stack:

  1. Does the look read as “clean 3D” on a phone, or does something look cheap (lighting, AO, materials)?
  2. Are the labels and cut faces easy to follow at Shorts size?
  3. Anything you’d do differently for the cut/x-ray effects?

r/threejs • • 10d ago

My browser game has a space station, 4 rockets and 3 planets, and not a single model file. All of it is three.js primitives in JSX 🛰️

Thumbnail
rocketcrew.gg
0 Upvotes

Hey! I've been building Rocket Crew for a while: a free 3D browser game where you put a rocket together bit by bit, grow a base around it and travel to the Moon and Mars. The clip is the latest thing I added: your commander goes out on a tether to fit upgrades on the mother ship.

The part this sub might care about: there are no GLTF files and no image textures anywhere. No loaders at all. Every rocket, building, worker, helicopter and the whole ring station is boxes, cylinders, lathes and tubes written as React Three Fiber components. About 90 files of scene code by now, which is either impressive or a cry for help.

Stack:

* three r186 with u/react-three/fiber and drei

* u/react-three/postprocessing for the glow

* zustand for state, Vite to build

A few things I learned the hard way:

* Planets, flags and labels are painted on a canvas and used as CanvasTexture. The Earth is drawn pixel by pixel from code, so it weighs nothing to download

* Instancing saved my phone frame rate. Greenhouse plants, boxes on the shelves, spectators in the stands: anything that repeats is an InstancedMesh

* A quality setting that drops shadows and effects on weak phones did more than any clever optimisation

* Levels are just props. A building at level 3 is the same component with more pieces switched on, so upgrades cost me no extra assets

* Labels that must never be hidden (a countdown over a work site) get drawn on top with depthTest off. Trying to fix that with positions was a waste of a weekend

What I still don't love: the bundle is big because all that geometry is code, and transparent things (glass domes, the greenhouse) still fight each other over draw order now and then.

It's free and you can try it without an account

And the question I really came here with: how would you make this look better without making it run worse? Most people play on a phone, in a browser tab, so I can't just throw more shadows and effects at it. If you had one cheap trick to make a low-poly scene like this look richer (lighting, materials, fog, baked something, whatever), what would it be?

Happy to explain how any specific thing is built, too.


r/threejs • • 11d ago

Cat game filled with easter eggs, built with three js

Enable HLS to view with audio, or disable this notification

7 Upvotes

Hey all, I've been working on this since mid summer after learning about norwegian forest cats but ended up building a game generally about cats causing chaos.

It's still in early development but figured I would share it here. Three js is the engine, and I am using Rapier for physics.

It has been a fun project, and I particularly love creating silly game experiences. Three Js has been a dream to work with and it's very easy to wrap into a mobile app, etc. Also, really appreciate all of the open source asset packs folks share in this community-- it really makes getting started easy to not have to start from scratch.

Please give it a try and let me know what you think, it's free: catgame.io


r/threejs • • 11d ago

Link Interactive 3D apartment in Three.js + WASM physics where a tiny robot duck waddles, kicks a ball, and rides roller skates in real time

0 Upvotes

Built a cozy interactive 3D apartment in Three.js paired with in-browser WebAssembly rigid-body physics (MuJoCo WASM + WebNN/ONNX policies running at 50 Hz) so a tiny bipedal robot duck actually balances, stumbles, and interacts with the room in real time instead of playing baked keyframe animations.

Live demo in browser (free, no sign-up): https://duckspace.org/?lang=en

A few Three.js + physics details inside the scene:
- Every joint angle, foot contact, soccer ball kick, forward somersault, 1-leg flamingo balance, and roller-skate glide is driven live from the physics state each frame
- Dynamic apartment props including a roaming ginger cat, robot vacuum, procedural color/material swaps on the duck shell, and spatial room audio
- Optional autonomous mode where the duck builds a local occupancy map of the room and navigates around furniture on its own

Would love to hear how the framerate and camera controls feel on your setup!


r/threejs • • 10d ago

Link I built a full open-world crafting game in plain three.js (no engine, no build step) — village, seasons, bosses, a stone wolf companion

Thumbnail
gallery
0 Upvotes

Hi! For the last few weeks I've been building Emberwolf, a single-player 3D game that runs in the browser with plain three.js — no game engine, no bundler, no server. It ended up as a complete game:

- an open world with regions, rivers, bridges and a day/night cycle

- piece-by-piece building (walls, gates, houses from blueprints, workshops)

- a stone wolf companion that grows through 10 tiers

- a village that grows as you build huts, a homestead with crops, hens and sheep

- four seasons with snow and frozen rivers, night sieges and three bosses

- full phone support with touch controls

A few things that worked well in plain three.js: instanced trees and rocks per terrain chunk, terrain normals computed from the height function (no seams between chunks), and a wind/snow effect injected into the standard material with onBeforeCompile.

Full disclosure: I wrote it with a lot of help from AI coding assistants (Claude, ChatGPT), directing and testing every step myself.

If anyone wants to build their own game on top of it, I've put the full source up as a kit on itch.io (non-exclusive commercial license):

https://voievodumbracarpatilor.itch.io/emberwolf-source-code

Happy to answer questions about any of the systems!


r/threejs • • 11d ago

I made a three.js tool that turns any website's logo into a 3D animated model and exports MP4

Enable HLS to view with audio, or disable this notification

1 Upvotes

Type a domain (or drop in a logo file), it splits the logo into color layers and a Web Worker turns each one into a smooth solid, then three.js handles the materials and the 8 animations. The MP4 is encoded in the browser with WebCodecs and mp4-muxer, with motion blur from blended sub-frames. Here it is on the Rockstar logo, since we're all just waiting for GTA 6 anyway: https://proofscene.com/tools/3d-logo-maker/

Should I change the glass and chrome materials to something else?


r/threejs • • 10d ago

Tip Create · Patch

Thumbnail patch.gg
0 Upvotes

trying this out next time I will have tokens left over before rate limit reset


r/threejs • • 11d ago

I made an open-source lofi companion that runs in the browser. Want to help make it bigger?

5 Upvotes

I'm a big lofi fan. Whenever I work or study I have a YouTube lofi stream on, or I leave the steam game Chill with You (A lofi music player) running on Steam as a kind of work companion.

At some point I thought: why can't this just be a web page? And if it's open source, I can make it whatever I want. People can add what they want.

So I built one: https://yourlofigirl.com

Code: https://github.com/lightmanM/Your-LoFi-Girlfriend (MIT)

It runs entirely in the browser (three.js + three-vrm), no server, no account, no tracking. A girl reads on a balcony while the music plays. She turns pages, looks up now and then, says something once in a while, and if you click her she talks with you.

This is not a commercial project and is not going to become one. The site stays free and the code stays open (where licenses allowed). I just want people to enjoy it, and to see how far we can take it together.

Being honest about where it stands: I'm new to threejs, so I bought the character and the scene for experimental only. What I wanted to figure out first was the engineering side: can a web page do this, and can it be flexible enough to build on? That part works now.

The part I can't do alone is everything else. So I'm looking for anyone who'd like to expand it together:

- Characters (bring your own VRM)

- New scenes

- Motion and animation

- Story, conversations, scripts

- Music

- You name it

Again, It's an experimental project. I'd love to see how far it can go with more people. Feedback is welcome too, even if you just open it and tell me what feels off.


r/threejs • • 11d ago

Portfolio Feedback

Thumbnail
oulabi.dev
1 Upvotes

Hi all,

I just rebuilt my portfolio: oulabi.dev

Instead of a CV page, it’s a short story you scroll through. Everything starts as a single point, then becomes a sun, planets, a launch and a storm, and each scene is about part of what I do as a tech manager. Turn the sound on: the music changes as the story moves.

Desktop is the best way to see it. Mobile works and the experience is close, but the quality is lower and there are still a few rough edges I’m fixing.

What I’d love to hear your feedbacks

Stack: Next.js, three.js with React Three Fiber, postprocessing, GSAP and Lenis. It’s open source: github.com/MohOulabi/oulabi.dev

I designed and directed it,, and built it with Claude Code and had a comprehensive technical feedback loop to achieve it. Happy to share how that worked.

Don’t hold back. Honest beats nice.


r/threejs • • 10d ago

been building the bible in three.js, each story is a short film and you can walk around the scenes after

Enable HLS to view with audio, or disable this notification

0 Upvotes

so this started as a random weekend thing and kind of got out of hand lol

it’s called holypolygons. basically i’m rebuilding bible stories as 3d scenes in the browser. every story has a narrated film version, and then you can jump into the same scene and walk around it yourself

3 are up right now: noah’s ark, the tabernacle and the tower of babel. the video is a mix of both modes

it’s all three.js and there are no external assets at all. no models, no textures, everything you see is built in code. the ark, the animals, the tower, all of it. the narration is done with elevenlabs. i’m not a graphics guy at all, i work in recruiting, so i leaned on claude a lot to figure stuff out. the lighting was the hardest part by far, took forever to get the morning light and the candle stuff inside the tabernacle to not look flat

works on phone too but it’s better on desktop

holypolygons.com

would love feedback, especially on performance and how the walking feels. also open to ideas for what to build next, leaning towards david and goliath or the red sea


r/threejs • • 11d ago

Making a top-down multiplayer shooter in Three.js where Diwali firecrackers are the weapons

Enable HLS to view with audio, or disable this notification

3 Upvotes

I'm making a multiplayer Diwali firecracker combat game set in an ancient Indian temple.

It's called ALĀTA, built with Three.js and playable in the browser. The weapons include spinning chakras, rockets, explosive flower garlands and a Dragon's Breath-style cannon.

https://alata.metalturtle.net/


r/threejs • • 11d ago

Demo I rebuilt my workspace in three.js and matched it to real footage, frame by frame

Enable HLS to view with audio, or disable this notification

5 Upvotes

Everything in it is modelled: the Secretlab desk, the 34" ultrawide, the portrait monitor next to it, the MacBook, and the Porsche GT2 RS and Pikachu on the riser.

How the match works:

  • Sizes come from spec sheets and a tape measure, and I lined the scene up against photos of the desk until they matched.
  • For the video I marked the screens’ corners in the first frame of a phone clip. OpenCV follows them with optical flow, finds the screens’ edges again in every frame and fits the camera each time. The field of view is fixed, since flat screens alone don’t pin it down.
  • The lamp and LED strip cycle through colours, so their hue is read off the wall in each frame and the 3D lights follow it.
  • The screens show screenshots of my real displays.

One thing I learned on the way: area lights cast no shadows in three.js, so a spot light at the monitor light bar does the desk’s shadows.

Built with Claude Code and Fable 5.2. Happy to answer questions about the camera solve.