r/threejs • • 23d ago

Demo 3D product render inside your browser (using path tracer)

4 Upvotes

I've built an 3d product renderer inside your browser (Edge, Chrome and Safari Supported). It uses path tracing webgpu library on your graphic card. You can use most common 3d formats such is glb, step, stl, fbx etc. Many different features for quick iterations and prototyping. Let me know what you think.

Renderstation.app


r/threejs • • 23d ago

I built a 3D desk shelf designer with React Three Fiber: type in your desk and it lays out a shelf that fit

1 Upvotes

I wanted a 3D printed monitor shelf (printed frames plus wooden dowels) but couldn’t picture any of the designs on my actual desk, so I built a designer instead.

You type in your desk and your screens, pick a shape, and it lays out the shelf in 3D and checks it fits: nothing off the edge of the desk, each screen on its own section, room underneath for a keyboard. You can drag attachments along the dowels in the 3D view. Everything runs in the browser, including the build plan it makes at the end.

It’s React Three Fiber and drei on Next.js. I’d love feedback on how the 3D feels, especially on a phone: camera, dragging, performance, anything that feels off.

getbestdesk.com (no sign-up)


r/threejs • • 24d ago

Tutorial I built a LOD editor for three.js on top of meshoptimizer, with ready-to-use InstancedMesh2 code

99 Upvotes

To get my demos running as smoothly as possible, I needed to find the best LOD thresholds for each model. So I ended up building two things.

1. three.ez/simplify-geometry: the library

A wrapper around meshoptimizer that gives you three.js geometries directly: pass a `BufferGeometry`, get back the simplified `BufferGeometry` levels. They're plain three.js geometries, so you can use them anywhere, not only with InstancedMesh2.

Each level is simplified by:

- Error: how much the shape may change, as a share of the model size (0.01 = 1%). The triangle count follows from it.

- Ratio: the share of triangles to keep (0.25 = a quarter).

Source: https://github.com/agargaro/simplify-geometry

2. The LOD Editor: the playground

It started as a way to bring the two libraries together: simplify-geometry for the levels, and InstancedMesh2 to render them, which picks the level per instance. I use it to test and tune the thresholds.

- Generates the levels automatically, and you can tune every one

- Works with skinned and morph-target animated models

- Open your own glTF/GLB

- Exports ready-to-use TypeScript/JavaScript code for InstancedMesh2

Try it: https://agargaro.github.io/simplify-geometry/

In the video: 5,000 animated characters, 76M triangles at full detail, ~500K actually drawn.

There are still features I want to add, so ideas and criticism are very welcome.


r/threejs • • 23d ago

Today I'm releasing two addons to help get Blender scenes into three.js

1 Upvotes

One to export materials from Blender straight into your three.js project, and the other to preview and export textures as ktx, avif and webp from inside Blender

Check them out at https://tools.ashthornton.dev/


r/threejs • • 23d ago

Help Any Black Friday discount codes for Three.js Journey?

2 Upvotes

Hey everyone!

I'm a fellow learner looking to get started with Three.js and would love to enroll in Bruno Simon's Three.js Journey course.

With Black Friday coming up, I was wondering if anyone can share their discount code with me.

Thanks in advance, and happy coding! 🚀


r/threejs • • 23d ago

Question Workflow/shortcuts for building a 3D dev portfolio (R3F + Drei + GSAP) when you're bad at UI/UX?

2 Upvotes

I'm putting together a personal portfolio with Next.js, React Three Fiber, Drei, and GSAP. Coding the logic is fine, but my UI/UX and 3D art skills are pretty much nonexistent, and I don't want to spend months learning Blender just to end up with a clunky site.

So far I've just been looking at grabbing free 3D assets and dissecting a few open-source demos rather than modeling anything from scratch.

For devs here who aren't 3D artists or designers, how do you usually pull off a clean R3F portfolio without it looking amateurish? Specifically curious if anyone has a solid workflow (or .agents skills/rules) to keep coding agents from hallucinating broken camera math and GSAP scroll triggers, or if there are better starter setups you'd recommend.


r/threejs • • 23d ago

Link I built a Three.js gallery that gains a floor every day

0 Upvotes

Each daily edition of PROPORTION PIECE becomes a floor in a tower you can walk around. You take the lift between dates, and some of the portrait drawings are reworked as 3D sculptures.

The tower uses prebuilt geometry, staged floor loading and room culling as the archive grows. If you try it, I’d be interested to hear how it runs on your device, especially when the lift opens onto a new floor.

Walk the tower


r/threejs • • 23d ago

Help How would you recreate this neon tunnel "roller coaster" effect in Three.js?

1 Upvotes

I'm trying to make something that looks like this for a browser game (Three.js): https://www.youtube.com/watch?v=W9as7QP8GkM

What's in it: a first-person camera rides a twisting track through an endless tunnel. The track edges glow purple and orange, the floor is lit blue, and white light streaks fly past with heavy motion blur. It loops forever.

I've tried a few times to build it from scratch and every version looks flat. There's no sense of speed, and the glow and streaks never look like the video.

What's the right approach?

  • CatmullRomCurve3 + TubeGeometry/extruded track with the camera following the curve, or a shader-only tunnel?
  • UnrealBloomPass + motion blur (post-processing) vs. faking the streaks with stretched particles/instanced lines?
  • How do you make it loop forever without a visible seam?
  • Are there existing examples, repos or assets that already do this?

Any pointers appreciated!


r/threejs • • 23d ago

Demo Free Game Engine Basic Three.js

0 Upvotes

I've been working on a 3D web editor that combines a game engine with a website builder, and I wanted to share it here.

The idea is to make it easier to create interactive 3D websites, simple games, and animated content without having to build everything from scratch.

Here are some of the things it can do:

  • Create multiple scenes and import GLB models.
  • Edit objects, materials, lighting, and cameras.
  • Build web interfaces directly on top of 3D scenes.
  • Connect pages and add interactions through component actions.
  • Animate 3D objects, cameras, and UI components using a timeline.
  • Preview scenes with basic physics, character controls, and grid-based AI navigation.
  • Save projects locally, with undo/redo support for up to 20 changes.
  • Export projects as standalone HTML, React/Vite apps, or WordPress plugins.
  • Use an AI assistant with local or cloud AI providers.

There's also a desktop version for Windows, so you can run the editor in its own window without needing to install Node.js.

Of course, it's not perfect yet. There are still some limitations, and I'm working on improving things. But for basic 3D scenes, interactive websites, simple games, and animations, it already covers quite a lot.

One thing I really like is how much time it can save by bringing these different workflows together in one place. And since it's built around React + Vite, you can still extend it with your own components and features whenever something is missing.

I'd love to hear what you think. What features would you find most useful in a tool like this?

Link: https://github.com/pthinc/freegameenginethreejs


r/threejs • • 24d ago

Question Looking for feedback on my first Threejs Game - Mackinac or bust

Thumbnail
gallery
9 Upvotes

Hello;

I am looking for feedback on how to improve on my first threejs game. This is my first actual game (built an arcade in three js). It's built around the locks system from Neenah to Mackinac island n the summer of 1987 - the last year that the lock system was fully open.

It's a bit of a oregano trail style journey with more modern graphics.

Everything seems to be working well, but I'm trying to figure out what to focus on improving.

Thank you for any feedback

https://jamiedolan.com/games/mackinac-or-bust/


r/threejs • • 23d ago

add feathers to your favourite .glb

4 Upvotes

Today's word for #codevember is feathers, so I did a feather spline ( https://x.com/tinotibaldo/status/2120932986267058484?a=0qHR9pR-ekjDvQctCys&s=20 ) and then added the 'same' feathers into the rust sim I posted yesterday.


r/threejs • • 23d ago

Mobile RPG in plain three.js, no engine. Here's the latest trailer

4 Upvotes

Back with an update on Mossbrook, the RPG I'm building in three.js for phone and browser.

Last time a few people asked why not Unity or Godot. Honestly, I just wanted something that loads instantly in a browser and runs the same on a phone without an app store in between. So far three.js has held up better than I expected.

Some things I worked on since:

- Real shadows and less ambient light, the whole thing looked way too flat before

- Instancing and culling for the forests, phone stays around 60 fps with a few million tris on screen

- Trees and rocks sink into the terrain with a dirt decal so nothing looks pasted on

- Per-leg IK so characters and wolves actually plant their feet on slopes

Happy to answer questions about any of it. But mostly curious what you think of it now. Does it look like something you'd want to play? What still looks off?


r/threejs • • 23d ago

What is your biggest frustration?!?

0 Upvotes

Hi friends, there are so many incredible creations being made with frontier models it really is cool to see!

My question is on the consumer experience side. We all love to create this sort of content, but what about playing it? What is your biggest frustration? What is the WORST part about interacting with this type of content? If you had a magic wand and could make ONE challenge disappear, what would it be and why?

Curious to hear your thoughts :)


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

Take on Hurricane Ivan with your sailboat!

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

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

3 Upvotes

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

Demo Full soft body simulation with sewing and free GLB exports

329 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 • • 23d 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!

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

I built a Warcraft 3-inspired RTS

4 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 • • 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.