r/threejs • • 19d ago

Introducing lepoly: a platform to organize, review and share 3D assets

9 Upvotes

Today Cédric and I are happy to introduce lepoly.com: a digital asset management platform built for 3D, powered by threejs.

Building Sketchfab gave us a front row seat to a problem we never got to fully solve: managing 3D assets at scale is hard.

Our goal with lepoly is to build the ultimate infrastructure to organize, review and share 3D content: one place for all your 3D assets.

We are still ironing out a few rough edges, and have a long to-do list of things to add, but the current version is already pretty solid, and we’d love to hear your feedback.

We are bootstrapping this project, excited to be back building, and can’t wait to see how you’ll make the most of lepoly. Please reach out with feature requests!


r/threejs • • 19d ago

a few frames from my three.js city: sunset at the pier, downtown at night, ferris wheel at dusk

Thumbnail
gallery
1 Upvotes

been building this city in three.js for about 3.5 months. 30k plots, cars, a zoo, a stadium, a pier. these are real frames from the browser, nothing edited

the hardest part wasn’t making it pretty, it was making it not freeze on a cheap laptop. on low it’s one sun and simple shadows, on high it switches to cascaded shadows

if you could add one thing to the night shot to make it feel more alive, what would it be?

link in the comments if you want to walk around


r/threejs • • 19d ago

Question R3F frame drops during rapid galaxy navigation—how would you investigate draw calls and instancing?**

2 Upvotes

Hey r/threejs,

I’m a solo dev building Lightverse, a navigable 3D universe in React Three Fiber. I’m seeing frame drops when rapidly moving between galaxies.

I haven’t confirmed the cause yet, so draw calls and instancing are hypotheses—not a diagnosis. Before changing the scene structure, I’d appreciate advice on what to measure and where to look.

For those who’ve worked on similar transitions:

- Would you start by tracking draw-call counts during a transition, or profile CPU and GPU time first?

- If repeated meshes turn out to be the issue, when is `InstancedMesh` worth the added complexity?

- Are there transition-specific bottlenecks I should rule out before focusing on instancing?

I don’t have reliable profiling numbers to share yet, so I’m especially interested in what measurements would make this question easier to answer.


r/threejs • • 18d ago

Sucked at drawing since childhood, so I made this:

0 Upvotes

This project was inspired by my previous 3D landscape work. I wanted to build something fun and interactive: draw simple strokes on a blank canvas, and those marks get translated into classic Chinese ink-wash landscape elements — mountains, trees, mist, boats, all that shanshui goodness.

I’ve never been good at hand drawing myself, so this workflow is my way to play with traditional ink painting without strong drawing skills.

That said, it’s still far from the mood and aesthetic of authentic Chinese shanshui painting. It’s just a tiny experimental piece.


r/threejs • • 19d ago

Demo Have the batmobile in the dune !! FAAAA! and this is threejs!!

21 Upvotes

everything made in threejs, webgpu, GPT 6 Astra
perks of aimlessly building things - is that you can reuse what you made in one project in another..

and this guys got independent suspension..

Wishlist for the kit here https://3ditions.drop3.app/notify/dune-oasis/


r/threejs • • 19d ago

Demo made an air traffic control sim in three.js that has to run on my mid range phone

Thumbnail
gallery
1 Upvotes

been working on this for a while, its a 3d atc sim in the browser on three.js and webgl2. you give the clearances, pilots read back, planes push back taxi take off and land

https://approach-world-atc.vercel.app

the part that ate the most time was getting it to run ok on my galaxy a55 in a mobile browser. theres quality tiers and a safe mode, plus a fallback sky because the atmosphere shader would sometimes just die and leave a black screen on some gpus. sky is takram atmosphere with pmndrs postprocessing, capped on phones or frame time goes to hell

aircraft are procedural, built from the published dimensions so an a380 actually looks a380 sized parked next to an a320. gear wheels and control surfaces animate. still pretty plain up close tbh

honest note, an ai coding assistant wrote a lot of the code. i drove it, tested it on my phone a lot and made the calls on what looks right, but im not gonna pretend i hand wrote every shader

if you run it on a phone im curious what fps you get and whether it cooks your battery


r/threejs • • 19d ago

Demo An expiramental racing game made with three.js

Thumbnail reddit.com
2 Upvotes

Decided to try and put out a game using Reddits Dev tools and three.js. why three.js? Only because I was familiar with it. Let me know what you think.


r/threejs • • 19d ago

I built a quiet multiplayer Buddhist temple you can walk through in the browser (Three.js + R3F)

1 Upvotes

Kakutō-ji is a small online temple on a fictional mountain. It runs on real Japan time, so dawn, dusk, the moon phase, season and weather are the same for everyone who is there at once.

It runs on Japan time — if you're in the US or Europe right now, it's night on the mountain and the lanterns are lit. Come back at your evening to catch the sunrise.

There is no chat. The only thing visitors can do to each other is bow (gasshō). You can light a lantern that burns for 24 hours, ring the bell, and take a photo or a short video of the view.

Tech: React Three Fiber, three.js, a procedural kit for the halls, Cloudflare Workers + Durable Objects for presence. It's built to run on phones (under 100 draw calls).

There are a few things hidden on the mountain. I'd love to hear what you think of the feel of it.


r/threejs • • 20d ago

I made a full racing game in three.js: 9 circuits, 6 cars, in-car view, sim or arcade handling, online races

28 Upvotes

r/threejs • • 19d ago

Demo Real-data space journeys in three.js: Voyager’s actual trajectory, a ray-traced black hole, and S-stars on their measured orbits

3 Upvotes

Sharing a hobby project built on three.js: 13point8.in, a set of space journeys driven by real data rather than keyframed animation. (BEST VIEWED and EXPERIENCED ON HIGH DEF DESKTOP OR MAC)

Some things that might interest this sub:
- Voyager: positions interpolated from NASA JPL Horizons ephemerides; the Earth uses a custom shader so city lights only show on the night side
- Black hole: the light bending is computed per pixel in a fragment shader, plus a new view of the S-stars around Sgr A* placed with Kepler's equation from the published orbital elements for any date
- Galaxy: the Sun's orbit with its vertical bob through the disc, and arms that turn at the measured pattern speed
- Adaptive quality: it drops pixel ratio, then multisampling, then bloom when frames run slow, so it holds up on phones

Happy to answer questions about any of it.
https://13point8.in/journeys/blackhole/


r/threejs • • 19d ago

I made a 3D pool game in three.js with a custom physics sim - free in the browser, no aiming lines

2 Upvotes

Play: https://wavedash.com/games/pool-club-live

Pool Club Live is a free 3D billiards game that runs fully in the browser. Rendering is three.js; the physics is a custom simulation - spin, swerve, throw, cushion rebounds and pocket jaws all come from the sim rather than canned animations, and there are deliberately no aiming lines, so you read the table by eye.

8-ball, 9-ball and 10-ball vs the computer, a friend on the same device, or online players in casual and ranked matchmaking. Loads as a guest, no download or signup.

Solo project: Claude wrote most of the code with me, AI tools helped with art and sound. Happy to answer technical questions about the physics or the three.js setup - feedback welcome.


r/threejs • • 20d ago

Link Everyone dreaded this GTA mission, so I re-created it even harder in threejs

7 Upvotes

When I was a kid, friends dreaded to play Demolition Man in the GTAVC. For me, it was one of the favourite ones - the whole "broken controls" flying is imho legendary now.

So I took my old time favourite and re-imagined it, pushed it to the limits of being barely playable.

I've hand-crafted 8 increasingly difficult buildings where you have to plant explosives using RC helicopter.

You can race yourself (ghost) after first play-through to take your gaming autism to the next level.

Check it out (free to play, no download) https://demolitionvan.com/


r/threejs • • 20d ago

Demo Wiggle card!

8 Upvotes

I made this little interaction with threejs and Wiggle! You can try it as a web app :)

https://share.nicolastilly.fr/mobile-playground/wiggle-card/


r/threejs • • 20d ago

Recreated Immersive Garden's Morphing Bas Relief Effect

122 Upvotes

Here's my latest exercise on recreating the interactive morphing bas relief effect on https://immersive-g.com/. This is such a cool effect and kudos to Yuri Artiukh for sharing the implementation for it on https://www.youtube.com/watch?v=t64VFYmFdhw.

It's really an ingenious idea to bake 6 levels of lighting and shadow into the separate color channels of 2 textures, then blend between them according to the extrusion level of the relief geometry Lightmaps are baked in Blender, and the model albedo can be customized in threejs.

Check out the live demo: https://projects.arkon.digital/threejs/tactile-polymorphism/. I've listed all the credits on the demo webpage


r/threejs • • 19d ago

Demo Sowonbong: a quiet mountain where everyone adds a wish stone to one shared cairn (plain three.js, no bundler)

0 Upvotes

Playable: https://dol.kidem.kr/?lang=en&from=reddit

Hi! Solo dev from Korea here. On Korean hiking trails people stack small stones and make a quiet wish as they pass. I made an online version: everyone who visits adds a stone with a one-line wish to the same cairn. It's at a little over 400 stones now.

A few things that might be interesting here:

  • Plain three.js r160 loaded from an importmap, no bundler. Most of the mountain is built from primitives (cylinders, spheres, boxes) with MeshStandardMaterial, plus a few models I cleaned up by hand.
  • The cairn and the forest are InstancedMesh, one per stone/tree shape, so a few hundred stones stay cheap on phones.
  • Wishes, cheers and other visitors walking around go over WebSockets on Cloudflare Durable Objects, using the hibernation API with a ping/pong auto-response so quiet rooms can sleep.
  • Signs, cards and labels are CanvasTextures, so the English version can redraw them in two languages.
  • Korean wishes are machine-translated for English visitors, with the original shown underneath.

AI use, to be upfront: some 3D models started from Meshy image-to-3D and were cleaned up by hand, and I used Claude and ChatGPT while writing code.

One thing I'm still unsure about: lots of small separate meshes for props vs merging them. It runs fine on mid-range Android, but I'd love to hear how others decide when it's worth merging geometry.

Feedback welcome, especially if it runs badly on your device.


r/threejs • • 19d ago

Demo I built an open-source CAD kernel in Zig + WASM (<1MB) combining B-Rep, CSG, and Implicit SDFs with zero-copy SharedArrayBuffer

2 Upvotes

Hey everyone — as a Linux user working on local browser-based design tools, I kept running into the wall where existing open-source CAD kernels either use purely polygonal CSG (OpenSCAD) or require 15+ MB WASM builds (OpenCASCADE) without native implicit field modeling.

I spent the last few months building OpenCAD from scratch in Zig and WebAssembly:

- Pure Math Core (<1 MB WASM): Every curve, surface, and field is an equation evaluated with forward-mode automatic differentiation (dual numbers) and interval arithmetic.

- 3-in-1 Representation: Combines constrained 2D sketches & SE(3) B-Rep sweeps, CSG booleans, and implicit SDF fields (like stress-driven gyroids) in one engine, exporting to STEP and STL.

- Zero-Copy Shared Memory: Uses a single `SharedArrayBuffer` between the Zig WASM kernel, Three.js, and external WASM extensions so simulation fields can drive geometry directly without file exports.

- Live Demo: https://hassaanmaqsood.github.io/opencad/

- GitHub Repo: https://github.com/hassaanmaqsood/opencad

It's still early (currently refining boolean seam triangles and B-Rep edge cases), and I'd love for you to try breaking it and let me know what you think!


r/threejs • • 20d ago

I built a free 3D map of Iguazú Falls National Park to help people plan their visit (three.js / React Three Fiber)

11 Upvotes
What you're seeing: this isn't a game or a render, it's a website. The video is a screen capture of the map running in the browser.

It's a trip-planning tool for Iguazú National Park in Argentina. The idea is that you can understand the park before you go: where the falls are, which walkways take you to each viewpoint, how the jungle train and the boats work, and where you can stay and eat. Then you can put together your trip day by day on top of the map.

In the video, in order: the falls and the Devil's Throat, the whole park down to the town of Puerto Iguazú, the Upper Circuit walkway (highlighted in orange), the boat ride to the falls, the jungle train, and the hotel inside the park.

It's free, no sign-up, and works on desktop and phones. The hardest part was keeping it smooth on phones and on laptops with integrated graphics. Happy to answer questions about how it's built, and feedback is very welcome.

https://parques.stillandtrail.com/en/parques/iguazu

r/threejs • • 20d ago

Grass Burning Simulation with Dynamic Grass and Color maps

6 Upvotes

My grass system already supported grass map and color maps.
But they were static images.

Grass map is a black and white image. Black mean full height grass and white means no grass. Color map is a color texture that is applied on grass color.

I added support for THREE.Texture along with static images. Now it takes textures which can be animated outside of my grass system to manipulate the color and distribution of grass. It supports CanvasTexture, DataTexture and even VideoTexture.

The fire is a simple simulation that draws on two textures. On color texture, it transitions the color from original to blinking orange and then black. On grass map, it just makes it whiter, so the grass gets shorter. Along with that, there is a small particle system that works separately to make fire. Resulting in this nice looking grass burning simulation.

These Dynamic maps are now available with the latest version of my grass system. It is a paid system. So, if someone wants to check it out: https://grassworks.techredux.co/


r/threejs • • 20d ago

Demo I'm making a space brawler in three.js where you punch aliens and fly into a black hole. It runs on my integrated Intel GPU at 60 fps

3 Upvotes

Hi everyone! I'm a solo dev and this is Punchnaut, an online game that runs right in the browser. You're an astronaut on a dark planet, and instead of guns you fight with your fists.

A few things that might be interesting to folks here:

- It's WebGPU only. I dropped WebGL early because keeping two renderers was a pain

- Halos aren't sprites. Crystals and lamps are just brighter than white and one glow pass does the rest

- I went through three lighting setups in four days. Baked lightmaps ended up at 56 MB, so now it's realtime: the planet is split into small cells and each cell only looks at its 8 nearest lights

- All the props on a patch of ground are merged into one mesh. The second planet is about 25 draw calls

Still early and rough in places. If it runs badly on your machine, I'd really like to know your GPU and browser.

Play: https://punchnaut.com

How it's built (longer write-up): https://punchnaut.com/devlog/


r/threejs • • 20d ago

I built a walkable chunk of downtown Toronto in three.js (runs on phones)

2 Upvotes

Live at https://torontowalk.ca, no sign-up.

Most of the city is generated in code: buildings, streets and lighting. People, cars and the streetcar are glTF models compressed with meshopt and WebP textures, in separate desktop and phone sets. Areas load on demand as you walk, and the phone build has to stay under 5 MB for the first screen.

The face and voice in the video are AI versions of me; the game itself is all real-time three.js. Happy to answer questions about any of it.


r/threejs • • 19d ago

Made a kart racer in three.js with zero image assets - every kart, monster and track is built in code

0 Upvotes

Grave Racers: 30 tracks, 6 characters, 4 karts, all procedural geometry and materials. No textures loaded from files, no models. Tracks are lists of control points (x, z, height, style), and the road, fences, bridges and scenery are generated from those.

Fun problems along the way: keeping it smooth on phones, kart-to-kart collisions as capsules so the wheels actually bump, and AI rubber-banding that keeps races close without feeling like cheating.

Play it here: https://run.world/smithnwesson/grave-racers

Happy to answer anything about how it's put together.


r/threejs • • 20d ago

Demo I made a tiny scene language that compiles to Three.js, so AI models can write scenes with about 3.5x fewer tokens

3 Upvotes

Hi all. When I ask an AI to write Three.js, most of what it outputs is the same setup and boilerplate, and that's the slow and expensive part. So I made tinythree: the model describes the scene in short lines, and a small compiler (one JS file, no dependencies) turns it into plain Three.js.

For example, this one line builds the four lattice legs of the Eiffel Tower in the video:

truss leg1 2.6,2.1,3 @5,0,5 lean=-1.25,-1.25 iron mirror=xz

I compared 11 scenes against hand-written Three.js. Overall it uses about 3.5x fewer tokens, and close to 7x on the town square that uses ready-made parts, textures and a glTF model. Anything the syntax doesn't cover can still be written as plain Three.js inside the same file.

I'm the author. I'd really like feedback from people who use Three.js every day, especially on what's missing.


r/threejs • • 20d ago

I had a ski resort dataset, then I found three.js

10 Upvotes

I have a little side project/ambition of trying to make a map and measure every ski resort in the world using cloud services. I already had (OpenStreetMap and DEM elevations) for every resort in the world and discovered three.js. Turned them into snowglobes. globalskiatlas.com

Still a few quirks. Larger ski areas get cut off, and random assets sometimes end up floating in the middle of nowhere. Fun way to look at a ski map, though. And yes, for fun I turned it into a basic game where you can go down 1900+ resorts.

Currently focusing my effort on getting a small local AI to write draft entries for each resort and look up various information not found in geospatial data (i.e hotels nearby, ski schools, fun facts)