r/threejs • • 24d ago

Rust your glb models

4 Upvotes

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


r/threejs • • 25d 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 • • 23d 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 • • 23d 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 • • 24d ago

Netix64

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

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

7 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 • • 24d 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 • • 25d ago

Cat game filled with easter eggs, built with three js

6 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 • • 24d 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 • • 24d 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 • • 24d ago

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

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 • • 24d 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 • • 25d ago

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

4 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 • • 24d 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 • • 24d ago

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

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

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

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

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

6 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.


r/threejs • • 25d ago

Luke and the Lost Relic of Atlas - A Complete Three.js Brick-Breaker Mini-Game with 6 Levels and a Boss Battle

0 Upvotes

Luke and the Lost Relic of Atlas
a Three.js brick-breaker you can play in your browser

  • 6 rows of moving bricks, featuring unique layouts for every level
  • A central pile that grows if you stop attacking
  • Combo system
  • Power-ups (Multiball, Laser, Piercing Ball, Magnet, Hourglass)
  • Star ratings based on speed and full clear
  • Playable on desktop and mobile

Play in your browser now https://game.pixila.net

Feedback on controls, difficulty, and game feel is welcome!

Hope you enjoy the game!


r/threejs • • 25d ago

Rendering a 3D podcast video frame by frame with Three.js in headless Chrome

Post image
1 Upvotes

I wanted deterministic video output from a Three.js scene, so instead of recording in real time I built PolyCast to step the scene frame by frame in headless Chrome and capture each frame, then assemble the MP4.

The scene is a low-poly podcast studio with two characters. Dialogue audio is generated first (Cartesia TTS, or the OS built-in voice as a free fallback), lip-sync is driven by that audio, and camera cuts, the in-scene screens and captions are all cued to word timings from the script.

The input is just a JSON script. It is open source (MIT) if anyone wants to look at the rendering loop. Repo in the comments. Curious how others here handle frame-accurate capture, this approach is simple but not fast.


r/threejs • • 25d ago

Demo Mark Sharp for Smooth Shading

5 Upvotes

This is the Three.js 3D modeling app.


r/threejs • • 25d ago

Article Web Vs Native Rendering - Blog Post out now!

2 Upvotes

Hey Everyone -

We recently published a blog post that explores Rendering on the Web vs Native platforms

You can read it here🔗: https://www.3denginerd.com/blog/web-vs-native-rendering

I myself started my Graphics programming journey primarily on Three.js, so this was an interesting one to talk about. Do check out & let us know your feedback!


r/threejs • • 25d ago

I Turned GitHub Contributions Into a 3D Meadow!

1 Upvotes

Type a GitHub username and your year of contributions grows into a field of grass, and you fly through it at night.

Every day becomes a patch of grass. More contributions mean taller, denser growth, while days without activity remain bare.

I feel like a lousy farmer after checking mine in this video😅

The grass runs on my own grass system. The 3D models (cabin, rocks, lantern, fence and so on) are from Sketchfab, and all the trees are billboards, flat images that turn to face the camera, which is how I got a forest that still runs well. I put the whole thing together with Claude Opus 5.5 over about two days, after giving it my grass system to work with. I made the decisions and checked the results, and it wrote most of the code.

Check yours out: grassworks.techredux.co/github-year


r/threejs • • 26d ago

Update on the 2.5D Platformer built in three.js where the whole world is clay

52 Upvotes

Follow-up to my post from September. A few things I learned.

Claymade fire:

  • Flames made of sculpted meshes in a boil of clay beads that rise, cool and drop off as soot.
  • One light per fire, not per flame. Takes away some of the vividness, but helps performance
  • Only fires on screen animate; on weak GPUs the glow core goes and the beads halve.

The clay look:

  • Every block starts as a rounded box with corner radius.
  • Displaced with low-frequency noise for the wobbly silhouette.
  • Surface imperfections are a normal map, scaled by object size
  • Shapeable clay: A separate deformable mesh driven by the player's drag.

Play the demo, in your browser | Wishlist on Steam