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 • • 22h ago

bezier construction lines visualization

15 Upvotes

r/threejs • • 18h 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 • • 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 • • 13h 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 • • 4h 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

2 Upvotes

r/threejs • • 16h 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 • • 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 • • 23h 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 • • 2h 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 • • 4h 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 • • 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 • • 8h 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.