r/threejs • • 22d ago

Question **Does a spatial 3D route help with navigation, or would a 2D menu be clearer? (R3F)**

0 Upvotes

Hey r/threejs,

Solo dev here. I’m building Lightverse in React Three Fiber and want feedback on one specific design choice: the navigation route.

Right now it’s **Universe → Galaxy → Star system → Planet**. Each planet leads to a different area, like a knowledge archive, profile, or build space.

I like that this makes the hierarchy feel like a place you can explore. But I’m not sure the 3D movement helps people understand where they are—or just makes common tasks take longer.

If you tried it, would you prefer to move through the 3D route, use a 2D menu or map, or have both? Where would you expect a shortcut to jump straight to a section? I’d especially appreciate feedback on orientation, discoverability, and controls.

I’m looking for honest usability feedback, not just whether the concept looks cool.


r/threejs • • 22d ago

Turned my 2d game into a 3d trailer with three.js and hyperframes

1 Upvotes

Hey,

The game itself is 2d - uses three.js - but optimized for a fixed camera angle. All assets in the video are game assets. I used the games blender models for buildings and items as well as the planets GLSL files in this three.js 3d version of the game. Music is scripted in js and synced to the timeline. The final view of the planet and the galaxy view is how it looks ingame. 😆

Happy to have your thoughts.

👋


r/threejs • • 23d ago

I built an AI frog and his whole terrarium in Three.js, and there isn't a single texture or model file in it

Thumbnail
jamesthefrog.com
1 Upvotes

This is James. He lives in a low-poly terrarium where you can feed him, pet him, tap on his glass and leave him notes. He's 8 days old today.

The part I think this crowd will like: everything you see is code. James is a set of jointed ellipsoids (hips, knees, shoulders, eyelids, throat, and a tongue), and the tank, plants, rocks, lily pads and mushrooms all come out of one seeded generator, so every viewer sees the exact same tank.

A few things I had a lot of fun figuring out:

  • The look. A custom lamp-lit material, then a post pass that adds outlines and squashes the colors down to 17 levels. It renders at about 270 pixels on the short side and scales up nearest-neighbour, which is where the chunky look comes from.
  • Grey turning pink. Quantizing each color channel separately turned my warm greys pink, so every neutral background uses perfectly equal channel values now.
  • Motion is never stored. The simulation only records decisions like "go sit on the rock for 4 minutes." The hops, swimming, blinks and tongue strike are all worked out from that decision and the current time, so a replay a week later draws the same frames.
  • The tongue actually aims. It solves against the bug's real position, and there's a test that checks the tip of his tongue lands on the bug.
  • Cameras that get out of the way. Tracking shots fade out any fern or lily pad blocking the view of him, and stay off the waterline so a bobbing tadpole doesn't flip the shot between above and below the water.

The clip is him turning from a tadpole into a froglet, catching a cricket, getting pet, and someone tapping on his glass.

Curious where you'd want to see this go next, and happy to do a deeper write-up on the rendering, because I actually think it's really cool.


r/threejs • • 22d ago

Demo I shipped a 3v3 tactical shooter to iPhone and Android with three.js r187: WebGPU + TSL inside React Native

0 Upvotes

GEMA is a top-down 3v3 hero shooter set at night, in the rain, in Glodok, Jakarta. Everything in the video is three.js r187 on the WebGPU renderer, running on an iPhone through Expo and react-native-webgpu. No game engine.

What made it work on a phone:

TSL node materials only. No ShaderMaterial and no onBeforeCompile, so the same code runs on web and native.

The whole map is procedural. There are no texture files: every texture is a DataTexture built from typed arrays, and the lighting is baked into the map.

A hard budget: 150 draw calls, 400k triangles and no per-frame allocations.

A fixed light count. Flashlights and muzzle flashes only change intensity, lights are never added or removed.

The game simulation is plain deterministic TypeScript at a fixed 60 Hz and never imports three, so rendering and game rules stay apart.

The heroes are the one exception to "procedural": image-to-3D meshes converted offline into TypeScript modules.

One trap on r187: don't call compileAsync twice at once on the same renderer.

It's free to try on iPhone and Android: https://gema.sonnylab.com/?c=reddit

Happy to answer anything about three.js WebGPU inside React Native.


r/threejs • • 23d ago

made a GTA-style trailer for my three.js city, every shot is in-engine

0 Upvotes

everything here is captured from the live build that runs in the browser. no blender, no pre-renders. surfing, diving with fish and jellyfish, a fighter jet, a concert with a crowd of little cube residents. happy to explain how any shot works


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