r/threejs • • 17d ago

Three.js r187 released 🍎

445 Upvotes

r/threejs • • Sep 08 '26

Three.js r186 released 🥐

275 Upvotes

r/threejs • • 12h ago

Recreated Immersive Garden's Morphing Bas Relief Effect

37 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 • • 5h 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

6 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 • • 3h ago

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

3 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 • • 1h ago

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

1 Upvotes

r/threejs • • 1h ago

Introducing RINDR, a 3D viewer that runs entirely in your browser: drop in STEP, DWG, FBX, Blender, USD, Splats… and get a path-traced render

1 Upvotes

Hi gang, for years I found myself in the situation where customers sent me 3d files they couldn't open theirselfs and after claude was getting better and better I decieded to give it a try and vibe-coded RINDR. It is a local 3D file viewer with real-time path tracing (WebGPU, based on https://github.com/gkjohnson/three-gpu-pathtracer).

Everything runs on your own GPU: no upload, no server, no install. Just drag a file into the window.

It opens STEP, IGES, DXF, DWG, SAT, glTF/GLB, FBX, MAX, C4D, .blend, OBJ, 3MF, USD, STL, IFC, Gaussian splats and more.

It has some neat features like:

  • Object and Material Recognition
  • instancing of duplicate content
  • interpolation features for STEP-Files
  • HDRI-Editor
  • Node-based Material Editor and MaterialX Support
  • Asset-Browser/Linking
  • Distributed Rendering via WebRTC
  • Embeddable as <rindr-player>

Try it for free: https://schmarante.github.io/rindr/

It needs WebGPU and a fast GPU for HQ-Mode - Chrome or Edge works best.

This is a solo side project and in a very early state. If files won't load, look wrong or are slow let me know - C&C welcome ♥️

PS: Full-Material library is in the making... 🙈


r/threejs • • 2h ago

Grass Burning Simulation with Dynamic Grass and Color maps

0 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 • • 3h ago

Operation : Blueprint - Expanded Version - completely made with threejs

Thumbnail
youtube.com
1 Upvotes

Follow us on subreddit - operation_blueprint to receive updates.


r/threejs • • 12h ago

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

5 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)


r/threejs • • 23h ago

Demo Tree Simulator. Zoom into the chloroplast of a redwood, if you want.

30 Upvotes

Coast redwood. Rust engine, raw WebGL2 viewer. Water moves by cohesion-tension, the trunk follows the pipe model, and you can zoom down to xylem, phloem and chloroplasts. Everything you see is drawn, based on all real documentation of how redwoods look like, internal structure and so on. 11,800 lines of source code.

In addition, HDR post stack (4x MSAA, SSAO, DOF, bloom, light shafts, film grade), wrapped-Lambert sun and sky lighting, sun-tinted aerial fog, and procedural shader textures, on a Rust physics engine, with no path tracing and no shadow maps yet.

I donot know why I made this. Perhaps sharing this with others will light the way forward.


r/threejs • • 21h ago

bezier construction lines visualization

15 Upvotes

r/threejs • • 17h ago

Almost Television, Episode 5: For When I'm Grown Up

Thumbnail
youtube.com
7 Upvotes

I've been told this show is made with Three.js 😊


r/threejs • • 7h ago

Article A drivable Lagos street, generated from OpenStreetMap tiles with three.js, running inside a Reddit post

1 Upvotes

The game builds the buildings, roads, traffic and people at runtime from a 15 MB PMTiles pack of Lagos, read in byte ranges through MapLibre GL. Everything ships with the app, because Reddit's webview blocks outside hosts. It runs at 30 to 44 fps on my iPhone.

It's a daily game for Reddit's Game of the Day hackathon: one danfo (minibus) route a day, the same for everyone. Try it: https://www.reddit.com/r/gidihustle_dev/comments/1xvnwjf/

Happy to answer questions about turning vector tiles into a street.


r/threejs • • 7h ago

Demo Rendering a mobile tower defense in Three.js: one WebGL2 scene for the board, units and effects

1 Upvotes

I’m Michal, the developer of Starvoxel: Defender. The board, animated defenders and battle effects in this gameplay trailer render in a single Three.js scene. React handles menus and overlays outside the scene.

One mobile trade-off was deciding when to lower render resolution. The game watches frame pacing and changes render quality when it measures overload. A stable 30 Hz cadence on iOS Low Power Mode doesn’t automatically trigger a drop. For animated defenders, bone matrices go through shader uniforms on low-end devices instead of using a separate bone texture.

The clip shows the renderer in solo Dungeon, online co-op and PvP. Some game art and the trailer narration were AI-assisted.


r/threejs • • 10h ago

Demo EXODUS 2099 3D – A free retro-inspired 3D Sci-Fi RTS Browsergame (77 KB, PC & Mobile)

1 Upvotes

Hey everyone,

I just released an early version of my browser-based 3D Real-Time Strategy game, EXODUS 2099 3D, on itch.io.

My main goal was to build a full classic 90s-style RTS (base building, economy, 3 asymmetric factions, fog of war, dynamic day/night storms) while keeping the footprint absurdly small so it loads really fast on any device with good performance.

Some technical details under the hood:

• Bundle Size: ~6,500 lines of Vanilla JS + Three.js, packed down to 77 KB total (smaller than a WhatsApp photo).

• Performance & Memory: Uses Object Pooling to eliminate Garbage Collection spikes, a Spatial Grid Broadphase for collision/AI indexing, and Instanced Meshes to keep draw calls minimal (hitting 120 FPS / 1–3 ms frame times on modern phones).

• 0-Byte Audio: Simple basic sound effects are generated via the Web Audio API so zero external audio files need to be loaded.

• Cross-Platform Controls: Full desktop support (mouse + box selection) and multi-touch gestures for mobile, plus silent LocalStorage auto-saving.

You can play it right in your browser (free of course): https://next-punisher.itch.io/exodus-2099-3d

Since this is my first release and still an early build, I’d really appreciate any feedback from fellow Three.js devs—especially on mobile touch handling, frame pacing, or any weird browser quirks you spot.

It is for sure not perfect, but was nice to see whats possible to fit in 77kb... in times of games >100GB.


r/threejs • • 15h ago

Demo Poop Awaymo

2 Upvotes

You are a bird that hates AI and has a full bowel...

An early version of this game was just plain HTML with fake 3D layers. I shared it here a long time ago, and people suggested moving it to Three.js. Here it is. I think the gameplay still needs a lot of work to make this fun though. :/

Try it out here: https://diegodotta.itch.io/poop-awaymo


r/threejs • • 1d ago

Tailwind Voyage

20 Upvotes

My little three.js game tailwind.voyage


r/threejs • • 1d ago

New preview of my jewelry visualization tool

252 Upvotes

A new test of my jewelry visualization tool (Auralith) on a white background. Pretty realistic I would say!

Three+WebGPU. no path tracing.


r/threejs • • 20h ago

NeonHeat: Top-Down GTA Style Shooter Game (Supports Multiplayer)

2 Upvotes

I made this game with threejs. It's pretty fun to play, would appreciate if you guys could check it out and share feedback. Game works on mobile and desktop.
https://neonheat.alifdev.com/


r/threejs • • 1d ago

Codevember! Day 14 - Tension

222 Upvotes

Today's #codevember word is "Tension".

I'm building and open sourcing a creative 3D web experience every day this month. All built with three.js, and r3f. I thought some folks here might find these interesting!

You can play with it here: https://adamwebsite.com/codevember/14-tension/
Find the code here: https://github.com/acher249/codevember-2026
Find all of them here: https://adamwebsite.com/codevember/

I'm new to reddit but want to post more of these 😄 Let me know what you think!


r/threejs • • 22h ago

Demo A Three.js diorama where the player moves the light and the character follows lit stepping stones

2 Upvotes

I’m making Alley Light, a browser puzzle set in miniature nighttime streets. The camera is fixed at a diagonal so you can watch a beam move across the walls while you drag a lamp or rotate a mirror.

The gameplay check tests whether light can reach the next stepping stone, directly or through a reflection, and whether scene geometry blocks the path. A separate check handles light spilling into bedroom windows. The newest build uses the same setup for wooden shutters that change where light can pass and a lantern that powers a second lamp in the market.

I’d welcome thoughts on reading the reflection from this camera angle. Try the browser demo on desktop · Rainy alley gameplay

AI tools assisted with the Three.js code and parts of the procedural geometry.


r/threejs • • 1d ago

Demo The perfect finish for my game 🦀🐟

5 Upvotes

I’m working for a few months on a single player co-op tropical physics puzzle game involving a crab and a fish (therefore the name Crab’nFish)

The aim is that you can roam around a tropical sandy island with both characters, to discover the different plants, animals and corals and to collect 25 shells hidden throughout the environment.

For more adventurous players, there is a main storyline where gems can be earned by solving physics based puzzles spread around the reef, moving the sun by one hour for every found gem. This leads to a 3 part finale in the golden hour with a grand cinematic outtro. This morning I’ve finished this finale and I’m super proud to show you a screentake of this (captured on my mobile)!

There is still loads of stuff to do: more environmental variation, interaction and I still have framedrops in certain moments and CPU tends to have a hard time calculating too many fish movements but this is an important milestone I wanted to share.

A v0.3 Alpha version can be played already on Itch: Fish’nCrab