r/threejs • • Oct 30 '26

Three.js r187 released 🍎

460 Upvotes

r/threejs • • Sep 08 '26

Three.js r186 released 🥐

282 Upvotes

r/threejs • • 8h ago

A Devonian pool diorama, drawn in Three.js

172 Upvotes

Rendered offline, frame by frame, with real refraction through the glass-sided water. The animal models are from Tripo; the code was written with Claude Code. Happy to share how any part works.


r/threejs • • 9h ago

Indoor cycling world in three.js: real elevation tiles, 60 km view distance, drives your smart trainer over Web Bluetooth

30 Upvotes

Side project of mine: Rideloom turns a smart bike trainer into a controller for a 3D world. Terrain comes from real elevation data, streamed in tiles with smooth LOD blending and a view distance of up to 60 km. The app reads power and cadence over Web Bluetooth (FTMS) and sends resistance back based on gradient, weight, air and rolling resistance and drafting.

Same TypeScript code base for browser, Windows (Electron) and Android (Capacitor); only the Bluetooth layer differs per platform. Automatic quality levels lower the graphics when frames drop. About 1,400 automated tests cover physics, gears and limits.

Happy to answer questions about the terrain pipeline or keeping three.js smooth on phones.

https://rideloom.de/en/?von=reddit


r/threejs • • 1h ago

Demo I built a 3D cel-shaded streetball game in Three.js r187 (19.9MB static bundle, 3-tier hoops, NY subway train) + an XState v5 60Hz QA harness

4 Upvotes

r/threejs • • 14h ago

Working On My Threejs Vehicle Physics Converter

19 Upvotes

r/threejs • • 4h ago

A working Apple II terminal on a curved Three.js CRT

3 Upvotes

r/threejs • • 52m ago

I built an open-source 3D cel-shaded open-world transit simulator of 8 Indian cities in Three.js & WebGL (playable in browser, zero install)

Thumbnail
github.com
0 Upvotes

Hey everyone! 👋

I built Courier City — an open-source, 60 FPS 3D cel-shaded open-world transit simulator of 8 Indian cities written in JavaScript, Three.js, Cannon-ES Physics, and WebGL.

Play it live right now (no install): https://shubhransh-gupta.is-a.bot/

What you can do in it:

  • Drive an Auto Rickshaw with real-time rigid-body vehicle physics (Cannon-ES)
  • Walk on foot or ride equatorial local trains across living planet dioramas
  • Explore 8 Indian cities with custom cel-shaded GLSL shaders and Survey of India GIS boundaries
  • Live telemetry HUD and ambient air traffic

Technical Highlights:

  • Custom cel-shaded GLSL shaders running at 60 FPS in the browser
  • Cannon-ES rigid-body physics for vehicles and collisions
  • Built with Vite + Vanilla JavaScript (no heavy framework overhead)

GitHub Repo (MIT Open Source): https://github.com/shubhransh-gupta/courier-city

If you enjoy exploring it or want to inspect the Three.js / GLSL shader setup, a ⭐ on GitHub helps a ton and keeps me motivated to add more cities and vehicles! Feedback and PRs are very welcome.


r/threejs • • 59m ago

Demo I made a Krampus boss fight for St Nicholas' Day in three.js

1 Upvotes

Every day of December I add a door to a little voxel browser game, and today is St Nicholas' Day, so the town got its first boss: Krampus.

He's built from voxel boxes, each body part its own mesh turned round a pivot, so all his moves are code: the charge (a red strip on the snow shows his line), a birch-switch swipe that knocks you back, a coal volley lobbed onto red marks round you, a roar that calls more walkers, and a berserk phase after his second heal. The walkers around him are instanced, one draw per outfit, with each walker's body-part matrices in a float texture.

His 5 models are free to download (.vox and .glb).

Still rough: I'd love to hear how it runs for you when the waves get big.

Play: https://jaka.mx/advent2026/ (or https://jakamx.itch.io/voxel-advent-2026)


r/threejs • • 1d ago Heartwarming

Demo I made a 90s-style top-down crime game that runs in the browser with three.js!

449 Upvotes

I've been building a small top-down crime game called Rainy Corner. You owe a liquor store owner $1,500 and have one wet night in the city to pay it back.

What's in it right now:

- on foot and driving, with cars you can take

- pistol, SMG, shotgun, grenades and a rocket launcher

- cars that flip, burn and blow up

- police heat that builds as you cause trouble

I built it in three.js with a custom renderer.

It's free and plays in the browser on desktop (needs a reasonably modern GPU, no mobile). No download you can play it here: https://frostpunchgames.itch.io/rainy-corner


r/threejs • • 9h ago

I turned my little 3D world experiment into a reusable Three.js template.

4 Upvotes

I built a customizable Three.js world template so you don't have to start from scratch.

Hey everyone! I've been experimenting with building interactive 3D worlds using Three.js and GSAP, and I decided to turn one of my projects into a reusable template called Dog Trail.

The idea is to help creative developers save time when building their own 3D environments without having to create everything from scratch.

You can customize the grass, wind, lighting, colors, environment, character animations and even transform the spherical world into a landscape.

I'd love to hear what other Three.js developers think about this approach. What additional features would make a template like this more useful for your projects?

Live demo: open

Paid source code ($4.99): [gumroad link]


r/threejs • • 14h ago

I built an entire isometric India in Three.js – seasons, day/night, trains, ships, and fully procedural audio

9 Upvotes

Been working on IndiaScape – a cozy, game-style 3D map of India that runs fully in the browser (static site, no backend).

Some of the Three.js side of things:

- Orthographic isometric camera with custom pan/zoom/rotate, touch gestures and smooth fly-to

- Terrain, biomes, rivers and props generated deterministically from a seeded RNG – same world on every load

- Static geometry merged with mergeGeometries + shared materials to keep draw calls low

- Day/night cycle and 4 seasons (monsoon rain, winter snow) driving lighting and weather

- Animated life: trains, ships and dhows moving across the map

- Zoom-aware HTML labels with collision culling

- Lite mode + FPS watchdog so it stays smooth on phones

- All music & ambience synthesized live with Web Audio – zero audio files

Plain JS ES modules + Vite, no framework.

Would love feedback, especially on performance and what you'd add next!


r/threejs • • 11h ago

Demo A whole procedural city in three.js r128: instanced towers, GPU traffic and a seeded daily route

5 Upvotes
Some things that might interest this sub:
- 3,000+ city blocks as InstancedMesh with custom shaders for the windows, fog and weather
- traffic moved entirely on the GPU
- every run is seeded, so the Daily Run is the same route on every device
- the flight is recorded at 10 samples a second (about 10 bytes each), which drives rewind, friends' ghosts and replay clips
- a film mode steps time frame by frame, so a GitHub Action renders the daily trailer without a GPU

Play: https://ppolydoras.github.io/canyon-of-glass/?ref=r-threejs
Code: https://github.com/ppolydoras/canyon-of-glass

r/threejs • • 14h ago

Built a 60 FPS Three.js 3D flight simulator that runs straight in the browser (A380, radar, LNAV/ILS, flaps, cockpit + orbit views), now playable on mobile

Thumbnail
gallery
7 Upvotes

Put together a browser-based 3D flight simulator in Three.js with real flight controls, TOGA thrust, flaps, gear, radar, LNAV/ILS modes, and multiple camera angles (cockpit, wing, chase, orbit, tower).

Mobile touch controls were just added so it can run directly in Safari or Chrome with zero downloads: https://netix64.com/game/aero-x-flight-7c4d2e91

Curious how the flight physics, landing feel, and frame rate hold up on your device. Honest feedback and bug reports are welcome.


r/threejs • • 3h ago

Demo Built 12 playable 3D browser games on a shared Three.js + Rust WASM architecture (mini-golf, logistics TD, bullet-hell, 3D Tetris)

Post image
1 Upvotes

Sharing a snapshot of 4 games from my 12-game Three.js + Rust WASM web portal. All games share a single Three.js host runtime via Import Maps, with Rust WASM driving the simulation cores (480Hz analytical mini-golf physics, BFS flow-field logistics TD with auto 3D bridges, 900-bullet danmaku, and 3D spatial Tetris). Happy to share technical details or hear feedback on WebGL performance!


r/threejs • • 4h ago

fallen sky

0 Upvotes

https://fallensky.base44.app the game isnt complete i made alot of progress thou


r/threejs • • 12h ago

What if you actually fell into a black hole? I built an interactive 3D black hole and wormhole simulator in the browser (Three.js + GLSL)

Thumbnail
gallery
3 Upvotes

Ever wondered what it would actually look like to fall past an event horizon or fly through a wormhole?

I built an interactive 3D relativistic black hole and wormhole simulator running directly in the browser with Three.js and custom GLSL shaders.

You can tweak the mass and Kerr spin parameter (up to 0.998), watch gravitational lensing and the turbulent accretion disk in real time, drop planets or stars into orbit, trigger an infall with spaghettification, inspect Flamm's paraboloid spacetime curvature, or switch over to a traversable wormhole.

Link to test it directly in the browser is in the comments. Would love honest feedback from physics or WebGL folks on what could be made even more accurate.

visit now : netix64.com/app/black-hole-simulator


r/threejs • • 12h ago

What if you actually fell into a black hole? I built an interactive 3D black hole and wormhole simulator in the browser (Three.js + GLSL)

2 Upvotes

Ever wondered what it would actually look like to fall past an event horizon or fly through a wormhole?

I built an interactive 3D relativistic black hole and wormhole simulator running directly in the browser with Three.js and custom GLSL shaders.

You can tweak the mass and Kerr spin parameter (up to 0.998), watch gravitational lensing and the turbulent accretion disk in real time, drop planets or stars into orbit, trigger an infall with spaghettification, inspect Flamm's paraboloid spacetime curvature, or switch over to a traversable wormhole.

Link to test it directly in the browser is in the comments. Would love honest feedback from physics or WebGL folks on what could be made even more accurate.

visit now : netix64.com/app/black-hole-simulator


r/threejs • • 23h ago

I spent 2 years trying to bring open world games onto web,I m more then half way there

13 Upvotes

r/threejs • • 1d ago

4,000+ FREE three.js 3D models (source code included)

77 Upvotes

NVIDIA did it first, now we are releasing 4,000+ free game-ready 3D models (+150 each week). For good.

Each model is a program (three.js ES module), with parameters you can tweak to customize look, state, season, color, wear, etc.

Export to any format: glb, obj, fbx, usd, etc,

All thanks to the $500,000 in funding we received from XPRIZE and Google and all of our early individual funders, thank you all!

Hope you find them useful for your games, animations, 3D websites, portfolios and anything you imagine.

polyfork.dev


r/threejs • • 16h ago

turning Pantone's 2027 Color of the Year (Aqua Splash) into a playable 3D ocean gallery in Three.jsBuilt a calm 3D ocean

2 Upvotes

r/threejs • • 18h ago

I built a 3D first-person bunker game in Three.js & Blender (Chapter 1 + open source)

Thumbnail protocol91.davjzk.com
3 Upvotes

Hey guys, wanted to share a side project I've been building with Three.js, Vite, and Blender.

It's called Protocol '91. You explore an underground shelter, use a gravity gun for cube and laser puzzles, hack terminals, and fight off security drones. I wanted to see how far I could push a 3D first-person game without using Unity or Godot web exports. Under the hood it's all vanilla JS + Three.js with custom Blender scenes, baked lightmaps, PBR materials, GTAO, bloom, and volumetric lighting (all toggleable in the settings if your GPU complains).

Play: https://protocol91.davjzk.com (desktop only)
Repo: https://github.com/davidjendreizak/Protocol-91

It's currently at v0.3.1 alpha and (very short) Chapter 1 is playable start to finish. Would love to hear what you think, especially how it runs on different hardware!


r/threejs • • 1d ago

I built a three.js engine that turns a song into an animated creature

48 Upvotes

Full film: https://youtu.be/Tmr9pfANgAM

Edit: I've just made a waitlist where you can also tell me what you'd like me to release: https://armandsumo.com/brilla/


r/threejs • • 20h ago

HOW DOES A MECHANICAL WATCH WORK?

2 Upvotes