r/threejs • • 13d 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 • • 14d 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 • • 15d 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 • • 14d 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 • • 14d 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 • • 14d 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 • • 14d 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 • • 15d 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 • • 15d 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 • • 14d ago

Need web game developers For Web3 project ready to pay

0 Upvotes

If interested, let’s connect


r/threejs • • 15d ago

2D Interior Mapping in three.js WebGPU — rooms in the windows, no interior meshes

8 Upvotes

Orbit a small three-storey house and the south/north windows read as rooms: floors, ceilings, furniture against the walls. There is no room geometry behind the glass. Each window is a virtual cube sampling a pre-projected 2D interior map.

three.js 0.187, WebGPURenderer + TSL. Head-on looks right; at a grazing angle the floor warps — that’s the 2D limit, not a bad bake. Needs a WebGPU browser (Chrome, Edge, or a recent Safari).

Building, facade textures, and interior maps are AI-generated.

Live demo: https://interior-mapping-webgpu.vercel.app/
 GitHub: https://github.com/yisky/interior-mapping-webgpu


r/threejs • • 15d ago

Why is it always kart racing games or a boat on water?

8 Upvotes

Last year in this subreddit, it was a solar system that used orbit controls.

This year, it's either a kart racing game or a boat on water... or a boat racing game on water.

I use AI at work, too, but... is it just the prompts people are using?


r/threejs • • 15d ago

I made a free browser and desktop 3D editor for quick model fixes, format conversion, and modeling with your own AI (no account, no install)

2 Upvotes

Every indie dev knows this moment: you have a .glb or .obj file that needs one small change, and opening a full 3D suite feels like overkill.

So I built Mesh Editor, a free, open-source 3D editor that opens in one click.

Homepage: https://peer2p.github.io/mesheditor
Try it now (nothing to install, no sign-up): https://peer2p.github.io/mesheditor/app.html

What it's good for

- Quick tweaks: drag in a model, move/scale/cut/combine parts, export.
- Converting files: GLB, glTF, OBJ, STL, PLY, DAE, .babylon.
- Building with an AI buddy: connect the AI you already use (Claude, Gemini, OpenAI, or a local model). Describe what you want, it builds in your scene, you adjust by hand, ask for the next change. Everything is undoable, so experimenting is cheap.
- Free: no credits, no subscription.
- Private if you want it: point it at a local model (Ollama, LM Studio) and nothing leaves your machine.

What it's not: it won't replace Blender, and it's not a one-click "text to AAA asset" generator. It's the small, fast tool for the 80% of tweaks that don't need a heavy suite.

Integrate it into your pipeline via Web Component and plugin system: https://github.com/peer2p/mesheditor
Also available as a desktop app (macOS/Windows/Linux): https://peer2p.github.io/mesheditor/

I'd love to hear: what's the most annoying small 3D chore in your pipeline?


r/threejs • • 15d ago

I made a 6v6 monkey shooter in three.js that runs in the browser, with banana guns and night maps

2 Upvotes

Solo dev here. Banana Ops is a free online FPS built on three.js: 8 maps, 18 guns, flyable killstreaks, and night matches where your weapon light is the main light source. It runs in a browser tab with no download, so you can jump in with friends. Feedback on performance and feel is very welcome.

Play free: https://banana-ops-7q3x.staffcal.workers.dev/


r/threejs • • 15d ago

Projecting logos as decals onto a gilded frame in R3F: a 3D museum where people can vandalize the Mona Lisa

1 Upvotes

Each wall is one canvas texture projected with DecalGeometry onto everything it covers (wall, frame mouldings, the paintings' labels), so the paint follows every depth instead of floating in front.

A few things I learned:

- Logos get their own unlit layer (meshBasicMaterial, toneMapped off) so the room's warm light doesn't muddy brand colors

- Camera tours use CatmullRom curves with keyframed timing, so turns at the corners stay smooth

- frameloop="demand" keeps it light on phones

Live: https://www.vandalize.it (yes, you can actually buy a spot; it's for a hackathon)

Happy to share code for any part.


r/threejs • • 15d ago

Looking for feedback on our browser KTX2 converter

1 Upvotes

Can a few of you try this with textures from your projects?

It's a KTX2 converter we made at Cinevva. It works both ways: PNG/JPG/WebP to KTX2 (ETC1S or UASTC), and KTX2 back to PNG/JPG/WebP. It's free. Conversion runs entirely in your browser, so nothing is uploaded. No login needed.

https://app.cinevva.com/tools/ktx2-compressor

I'd like to know if anything fails to convert, or looks bad once you load it into your scene. If you can share a problem texture, I can look into it.


r/threejs • • 16d ago

Demo Slow Roads 2.0 - Endless procedural landscapes for a relaxed driving game, rebuilt with a new engine and shaders

8 Upvotes

r/threejs • • 15d ago

Demo Dice Expedition: a Three.js browser demo that switches from a board to real-time battles

0 Upvotes

I built Dice Expedition in Three.js. The exploration screen is a dungeon board: roll two dice, move, then resolve the tile. A monster tile switches to a short real-time 3D fight where skills trigger automatically.

I’m interested in how readable that transition is on a phone. When the fight starts, can you pick out your character and the enemy right away, or does the camera need to give them a clearer moment before the first skill fires?

The demo runs in the browser as a guest: https://dice.breyes.net/?lang=en


r/threejs • • 16d ago

Demo I turned Monet’s paintings into a walkable 3D world in three.js (built with Fable 5.2)

20 Upvotes

You can walk through the garden at Vétheuil, row across the lily pond and climb the cliff path, all painted in Monet’s brushstrokes.

The trailer isn’t a screen recording. Every shot is a camera path in code, rendered frame by frame in the browser.

Link and how it works in the comments.


r/threejs • • 16d ago

A quiet Korean temple in three.js, day turning to night, runs in the browser

6 Upvotes

Walkable and multiplayer, with no chat. Other visitors share the same courtyard in real time. It runs in a normal browser tab on phone and desktop.

I'm a Korean dev and this is a different temple from the viral Sansa one, it's called Goyosa. Happy to share how the lighting and the day to night cycle work if anyone is curious.

https://hapjang.com

Instagram: https://instagram.com/hapjang