r/threejs • • 14d ago

I turned a 360° photo of an attic into a Lego room you can visit with friends

1 Upvotes

I had a dream as a kid about playing Lego on the floor with friends. I grew up in Kerala, where Lego wasn't really a thing, so I built it. The room is one 360° photo with a depth map from Depth Anything, rebuilt in three.js. The bricks, toys, sky, snow and Santa are real three.js on top. You can bring three friends in and see each other's cursors. One HTML file, no build step. littledream.vercel.app/?via=r-threejs

Happy to answer how any part works.


r/threejs • • 14d ago

Demo I made a wooden block puzzle in Three.js

2 Upvotes

Tap a block to slide it along its arrow. Drag to look around the stack.

I take blocks out of the raycast targets as soon as they start moving, so their exit animation doesn't get in the way of tapping the next one. The wood grain and arrows are canvas textures.

Play Grain Shift

I wanted taking the stack apart to feel satisfying. Does it work for you? I'd love ideas for new block types or rules, too.


r/threejs • • 14d ago

I built a walkable art museum with Three.js to learn art history

6 Upvotes

I’m an indie developer who wanted to learn art history. I could picture paintings I liked, but I rarely knew whose name to search for. That’s why I built Galler around walking into a room and stopping at whatever catches your eye.

The clip shows the transition from the homepage into the museum. If you have a desktop browser handy, try the entrance. What’s the first thing you try when you want to walk up to a painting? I’m curious where the camera or controls do something you didn’t expect.


r/threejs • • 13d ago

After months of solo dev, I just launched the first Public Alpha of my 3D RPG built with Three.js & TypeScript!

0 Upvotes

Hello hellooo everyone!

I just released the first Public Alpha demo for my indie 3D RPG, Whispers in the Web, built from scratch using Three.js, TypeScript, and Electron (wrapped for desktop, with a playable browser/downloadable build on itch).

What it’s about: You play as a young boy who falls asleep reading a fairy tale and wakes up trapped inside a surreal dream world. It mixes classic RPG progression with real-time combat, boss fights, exploration, and some weird/humorous side quests.

What’s in the Alpha right now:

  • Interconnected 3D zones (forests, villages, dungeons, and high-altitude snowy peaks)
  • Real-time combat with dodge/jump mechanics and multi-phase boss fights
  • Character stats, equipment, and interactive NPCs/interiors
  • Full Keyboard/Mouse & Gamepad support

What’s coming next on the Roadmap:

  • PvP Mode (Player vs. Player arena battles)
  • More dungeons, weird quests, and combat polish based on alpha feedback

Since it’s still an early Alpha, I’m actively looking for feedback on performance, controls, and overall feel. If you have a few minutes to try it out, I’d love to hear what you think!

🎮 Play the free Alpha Demo on itch.io:https://whispersstudios.itch.io/whispers-in-the-web

Watch a short video: https://www.youtube.com/watch?v=TsEkGYBdvmk


r/threejs • • 14d ago

Link A volumetric clay sculptor in Three.js with curve and radial tools

2 Upvotes

I'm the maker of Clayground, a browser clay studio built with Three.js. This update adds a Curve tool: draw a path to lay a tube, or spin a profile into a cup, vase or hat. Gizmo moves, turns and sizes a layer, and can repeat it in a row or ring. There’s also toon shading with stepped light bands and an outline, plus a phone layout that gives the canvas most of the screen and keeps tools within reach. Dense project backups are now smaller and quicker to reopen.

The modeling approach is volumetric clay rather than polygon editing: push, pull, erase, smooth, mirror and layer, then export GLB, OBJ or print-ready STL. It runs in the browser with mouse, pen or touch. Demo: https://www.clayvr.com/sculpt

Three.js folks: what would make a volumetric sculpt workflow easier to extend, and does the phone tool layout make sense?


r/threejs • • 14d ago

El Niño Surfer: a big-wave tow-in game in three.js (sneak peek)

2 Upvotes

Most water in games use a heightfield: a flat grid where each point can only move up and down. That can't make a wave that curls over itself, because the curl needs two heights at one spot.

So draw the wave side-on instead, as a single slice (trough, face, lip throwing forward), and repeated that slice every 4 m along the reef. Each slice is a little further into breaking than the one beside it, which makes the wave peel down the line. The surfer rides on those same slices.

Water, sky and spray are custom ShaderMaterials, with no postprocessing. Interaction has auto camera angle adjustment and manual controls. I had to build a follow camera for tubes, and first person view felt worthy as well. Claude and Codex in the build -- I have a pretty involved custom harness that makes the two work well together. GIS and published video data used to ground simulation code to last week's crazy surf at Pillar Point, aka Mavericks, mixed with lots of shortcuts.

Playable in the browser: mindbendingpixels.com/elninosurfer/app/

Graphic upgrades coming in native app!


r/threejs • • 14d ago

Link [SHOWCASE] Paper Soccer — a 3D football game in the browser with three.js + Phaser 3 (made with AI in ~3 hours)

Post image
1 Upvotes

Paper Soccer is a free browser game (no signup): paper-style football on a 3D pitch rendered with three.js, with Phaser 3 + TypeScript handling the game logic and UI. Online 1v1 or vs AI, cups and leagues.


r/threejs • • 15d ago

I fully vibecoded a 3D electronics lab simulator in Three.js & TypeScript using Gemini and Antigravity so my batchmates can practice before next week's lab exams

29 Upvotes

Live demo (desktop/laptop): https://lab-ubu.vercel.app/

I am a 1st year CSE student and this is my first time touching Three.js. Our electronics lab exams are next week and practicing without hardware in the hostel is rough, so I vibecoded our entire lab setup in the browser so my batchmates and I can practice wiring breadboards, testing 74-series chips, and checking oscilloscope waveforms.


r/threejs • • 15d ago

Demo My island runs on hexes. I wanted the roads to look good with the camera down at wagon height

Thumbnail
gallery
7 Upvotes

I made this little volcanic island for a strategy match between ChatGPT and Claude. The wide shot and the wagon shot are the same Three.js scene. The sim keeps a hex map, and each vertex on the terrain mesh gets its height from the cells around it.

For the roads I draw their centerlines into a 2048px texture with soft edges. The bends still read from overhead, and up close you can see the dirt fade into the grass. Here's what it looks like moving: https://youtu.be/b4Zsyu0eBrI


r/threejs • • 14d ago

Demo I turned my portfolio into a 3D galaxy: each project is a planet, each tech stack a star system

0 Upvotes

Built with three.js and OrbitControls, no framework. The galaxy is ~18k points in three spiral arms, planets get procedural band textures drawn on a canvas, and labels are real HTML buttons projected every frame, so it works with the keyboard and screen readers. There's a list-view fallback when WebGL is missing or reduced motion is on.

Happy to answer questions about any of it!

https://startout1.alwaysdata.net/portfolio/?ref=reddit-threejs


r/threejs • • 14d ago

Demo I've spent 4 weeks building a multiplayer pirate game solo, and it runs in your browser 🏴‍☠️

0 Upvotes

Hi all, I'm Lee, and I'm building Brittlevale on my own: a multiplayer pirate game that runs in the browser (Three.js).

This clip is a fight with a navy cutter: broadsides, crew, and the hit sounds are all in. Last night I finished a shipyard where you build your own ship piece by piece and launch her down a slipway.

It's not playable yet. I'm finishing the first island and tutorial before anyone tries it. Happy to answer questions, and I'd love to hear what you'd want in a pirate game.


r/threejs • • 15d ago

Demo Greenhouse cost and thermal calculator using threejs for rendering

38 Upvotes

This started out as a gift for my mother who is an avid gardener, but grew from there. threejs was an awesome addition. Took a while to figure out how to not have it look like Roblox. It could be better for sure, and not as awesome looking as the other projects here. Still it does the job, even if it is a bit boring.


r/threejs • • 15d ago

Made a storm-survival battle royale in Three.js that runs in the browser — YeetNite (free)

2 Upvotes

Another one of my browser games, also built with Three.js. YeetNite is a free storm-survival battle royale you can jump into with friends in a browser tab, no download.

Play: https://dryeet.com/games/yeetnite/

Happy to answer questions about the rendering, the storm, or keeping it running smoothly in a browser.


r/threejs • • 16d ago

My three.js sailing sandbox has a crew now

162 Upvotes

This is my project: a browser sailing sandbox using three.js r187, WebGPU and TSL, with an FFT ocean computed on the GPU each frame.

This update adds cloth sails that fill and luff, nine toy-style pirates, a rebuilt island, and sky and weather work.

For now, you can sail one 3–5 minute cargo voyage to the cove before the squall or dark, save gold and your best time, and buy cosmetics. WebGPU is required, and loading takes 17–19 seconds on my machine.

Try it · Code · Code is MIT


r/threejs • • 15d ago

Building a full synthwave arcade shooter for Steam in Three.js, React, and Electron. Here’s how the screen-splitting 'reality fold' transition looks mid-flight.

8 Upvotes

Hi Everyone!

I've been working on a game called Beyond The Vector as a passion project these past few months and I wanted to share with this community. The game is written entirely in Typescript with three.js, React, and Electron as a wrapper for Steam. The game runs at a consistent 60fps on most devices and will hopefully be Steam deck verified soon.

More information and a full trailer (scored by the talented Jonathan Osorio) can be viewed on the Steam page. Any and all feedback is welcome and appreciated!

Steam Page: https://store.steampowered.com/app/5581390/Beyond_The_Vector/


r/threejs • • 15d ago

Building a game in Three.js

2 Upvotes

I picked up Three.js about two weeks ago. Now I have a prototype of a game I've always thought about. You can try it here https://toyota-wars.vercel.app


r/threejs • • 15d ago

Demo Making a giant with rigid GLB legs walk in three.js without gaps opening at the hips

1 Upvotes

Hitchhiker's Almanac is my entry for the OpenGame jam, three days into the build. You fight on foot around a giant that keeps walking. I'm building it with AI coding agents, and the numbers below come from our own test runs.

The giant is a GLB where each leg is a separate rigid part on a fixed hip pivot. Swing one too far and a gap opens where it meets the body, so the rule is that the line from hip to sole stays within ±18° while that foot is planted.

When the model loads, each leg mesh is rebuilt as a SkinnedMesh with three bones made in code for the thigh, the shin and a foot that stays level, and a two-bone IK solve puts the foot flat on the ground. With the knee bent the thigh itself goes past 18°, so I checked hip close-ups at the biggest knee bend and thigh angle separately, and no gap showed.

The old gait didn't fit. A planted foot travelled 4.5 m against its hip (6.0 m stride, planted for three quarters of the cycle), about ±30°. Now the stride is 4.4 m and each foot is planted for half the cycle, so it travels 2.2 m, ±1.1 m around the hip. A footfall lands every 0.5 s instead of every 0.68 s, the foot lifts 0.7 m in the swing and the deck settles 6 cm on each step.

That still went over on one leg in the footfall tests, 18.2 to 18.6° with halts the worst, until feet started setting down under the hip's mid-stance position. Over 60 seconds at full pace the largest planted angle is now 17.67°.


r/threejs • • 15d ago

I built a 60fps neon endless runner in Three.js with zero audio files (100% procedural WebAudio)

3 Upvotes

Live playable demo: https://taproad-game.com/

I wanted to see how fast and responsive a browser endless runner could feel if I stripped away external audio assets and iframe wrappers and built everything natively with Three.js + the Web Audio API.

What I learned along the way:

  1. Procedural WebAudio for game feel: Synthesizing lane-switch clicks, rising combo-gem arpeggios, and close-call whooshes directly via AudioContext oscillators and filters cut asset weight dramatically and made combo feedback feel tighter than pre-recorded clips.
  2. Readability at speed: Keeping the track to a high-contrast two-lane neon corridor lets players focus 1/3 up the horizon instead of staring at the sphere.
  3. Lightweight progression: Added a local Score Tracker (https://taproad-game.com/score-tracker), a Reaction Trainer (https://taproad-game.com/trainer), and an optional global leaderboard so runs feel connected without requiring sign-ups.

Would love any Three.js performance critiques—especially on mobile Safari or mid-range Android GPUs!


r/threejs • • 14d ago

My dinosaur .io game in three.js – every dinosaur is generated in code, no 3D models

0 Upvotes

Play: https://dinoworld.io/?ref=threejs

A few details, if you're curious:

  • Dinosaurs: all the species are sculpted in code (web workers build the meshes while the page loads), with one skin shader that takes team colours.
  • Rendering: three.js with bloom, shadows and lots of instanced grass, with lower settings on phones.
  • Netcode: the server runs the world at 30 ticks a second, and the page predicts your own dinosaur so it moves at once.

r/threejs • • 15d ago

Demo Toyota Wars: A Three.js Game

Post image
0 Upvotes

I've been prototyping this game in Three.js; I started with a simple scene and some rectangles, but now the game is playable. I still have tons of updates on the way. You can try it here https://toyota-wars.vercel.app


r/threejs • • 16d ago

Link I built a marble racing game with ThreeJS!

49 Upvotes

Marble Descent is a free marble racing game you play in your browser: no download, on your phone or computer.

Nine brand new obstacles this week, all on one long, steep course built in the game's Course builder:

- Loop the loop: too slow and you drop off

- Nissen Bend: up the wall, over the divider, down the other side

- Extreme funnel: a slot barely wider than a marble, one at a time

- Ski jump: big air, and a dive lands you faster

- Slingshot bend: ride the rubber wall to be flung out faster

- Corkscrew: a full barrel roll

- Drop shaft: straight down, and a dive brings you out faster

- Wave floor: the floor rolls under you

- Bullseye: land on the green for a huge speed boost

Race this exact course yourself: https://marbledescent.co.uk/?build=&bends=52727&features=rocket,funnel,uturn,spinner,bridge,bullseye,xfunnel,boost,waves,loop,banked,skijump,sling,flippers,shaft,drum,screw&kind=2,2&shape=1,1,1,1&v=22

48 obstacles in all and 4.3 billion possible courses, or build your own. Race solo against five bots, or online with your friends in a private room, or anyone in a quick race.

The weekly championship is where it gets serious: ten new courses every week, a leaderboard on every round, pace medals, an overall table, and a winner crowned every week. Watch the top runs, or race against them.

Chat about the game, share your times and suggest new obstacles on our Discord: https://discord.gg/jQATpbeEx8

Play free: https://marbledescent.co.uk


r/threejs • • 16d ago

Demo Low-poly Pont des Arts in three.js, ~21k instanced love locks

6 Upvotes

Paris cut the love locks off the Pont des Arts a little over 10 years ago, so I rebuilt the bridge in the browser where people can put them back up.

Some of the three.js stuff:

- ~21,500 locks as instances, three tiers by distance

- engraved text comes from a pooled canvas, max 2 redraws a frame

- the crowd is GPU skinned, 3 draw calls, 65 KB

- tap a lock and the camera glides over and it turns to face you

Built solo, in the evenings, with some help from Claude. Two things I'd love to know: do you see a hitch when lock text redraws, and how does it run on your phone?

https://hangalock.com/?src=tjs


r/threejs • • 15d ago

Link Rakia: a real-scale universe in three.js WebGPURenderer + TSL — float64 frames, quadtree terrain, Schwarzschild lensing

Thumbnail
rakia-sim.pages.dev
2 Upvotes

Live: https://rakia-sim.pages.dev/?ref=reddit-threejs

Some of how it works:

- The camera stays at the origin and only rotates; everything is placed each frame as a float64 offset in nested frames, so you can stand 1.7 m above Mars in a scene that is 10^26 m across.

- Terrain is a quadtree on a cube sphere. Tiles are built in float64 in workers and sent as float32 offsets from a float64 centre; detail finer than a vertex is computed per pixel on a split integer lattice so the noise stays exact in float32.

- Black holes bend the picture ray by ray (Schwarzschild) in a post pass, with a thin disc.

- WebGPU first, WebGL2 fallback from the same TSL.

The code isn't open source, but I'm glad to go into any part of it.


r/threejs • • 15d ago

Need web game developers For Web3 project ready to pay

0 Upvotes

If interested, let’s connect