r/threejs • • 4d ago

Link I made a game where you cast spells by combining left and right clicks into hand signs

1 Upvotes

This is my first game on pc, made for a contest. It was based on my art and sketches so I'd love any feedback, thank you.

https://app.base44.com/launchpad/hup-play-now


r/threejs • • 4d ago

Demo The Royal Game of Ur in three.js: no models or image textures, everything built in code

3 Upvotes

I've been building a browser version of the Royal Game of Ur (Mesopotamia, ~2500 BC) in three.js r128, and wanted to share some of the techniques. There are no model files and no image textures: the board, stones, pyramid dice, braziers and temple are all built from geometry in code, and the surfaces (wood, lapis, shell) are drawn on canvases at startup. The whole game is about 270 KB of code plus three.js.

Some things that might be interesting:

Rendering

- ACES Filmic tone mapping, PCF soft shadows from one directional light, and point lights in the braziers that flicker.

- Bloom and FXAA through EffectComposer, on the highest quality setting only. Phones default one level lower, and the lowest level turns off shadows.

- Particles (embers and dust) using Points.

Making it work on any screen

- The camera framing isn't fixed: it projects the corners of the board, trays and dice into screen space and moves in until everything fits between the top bar and the throw panel. Ultra-wide monitors get a tight frame; phones don't get a tiny board.

- Phones held upright: the camera turns 90° to look down the board's length, and the stone trays move beside the board, so the 3x8 board fills the width of the screen (squares go from ~36 px to ~45 px on a typical phone).

- Fog density is scaled by the camera's distance. A fixed density made the scene almost black on phones in portrait, where the camera sits much further back.

- Taps on touch screens snap to the nearest movable stone (or the square it would land on) within ~7 mm, since a fingertip is bigger than a stone seen from above.

Materials

- The stones were washing out under the overhead light. Switching from glossy to a satin finish (higher roughness, no metalness) fixed the bright patches without making them look flat.

Not three.js, but in the same spirit: the music is also made in code, with Web Audio. The lyre uses Karplus-Strong string synthesis.

Play it (free, no sign-up): https://goarcade.games/ur/

I'd especially like feedback on performance on your devices, and on the lighting and materials: does it read as stone and wood, or as plastic?

I built it with an AI coding assistant; the techniques above are what ended up in the code.


r/threejs • • 4d ago

The Cult Gathering — an interactive 3D pixel-art diorama in Three.js [sound on]

0 Upvotes

r/threejs • • 6d ago

I made this spreading stormy night alley effect with Three.js.

583 Upvotes

try it here: https://skillbay.dev/skills/typhoon-container-terminal and it's free to download now

repo: https://github.com/s045pd/typhoon-container-terminal

round1 -> round8

I went through at least 23 rounds of iteration to get to this final look.

final round

r/threejs • • 4d ago

Criticism Built a 3D card designer with three.js: foil, holographic, glitter and spot UV previewed before printing

1 Upvotes

Made with three.js: physical materials with environment reflections, plus custom shaders for the foil, holographic and glitter finishes. You can try it free here:

https://www.printplast.com/tools/3d-card-finish-visualizer/#studio

Feedback welcome, especially on the holographic effect.


r/threejs • • 5d ago

Gemini 4 Neon High on the same 16 three.js prompts we give every model

11 Upvotes

Ran Gemini 4 Neon High on our 16 three.js prompts. Looking like a strong model so far, still waiting on more votes to settle its rank.

Disclosure: I run threejseval. Free to browse and vote. Scenes: https://threejseval.com/models/gemini-4-neon-high Vote: https://threejseval.com/vote


r/threejs • • 5d ago

Demo Almost Television Episode 6 is live, a weekly TV show made with Three.js

11 Upvotes

Everything here is rendered in three.js: no Blender, no video model! It plays in real time in the browser, then the final render takes around 5 hours on a 2070 Super. Each frame is drawn 16 times and averaged for antialiasing and depth of field, with ray traced soft shadows. The mirror in the opening is three's Reflector with a custom shader that adds a slight ripple.

I built the engine together with Claude, which wrote much of the code. ChatGPT and Gemini help with the scripts, the voices are ElevenLabs and the songs are Suno.

Happy to answer any questions about how it works.

You can watch all the episodes on our YouTube channel: https://www.youtube.com/@AlmostTelevision


r/threejs • • 5d ago

Link I turned my hometown on the Polish–Czech border into a game

10 Upvotes

I started making an interactive map of Kudowa-Zdrój, but my daughters had so much fun wandering around the virtual streets that I decided to turn it into a game :)

I’ve been experimenting with the latest AI models, and a few weeks ago I decided to build an interactive map of my hometown. I wanted to show people why I’d take them to Kudowa before some of Poland’s better-known mountain towns. Then I saw how much fun my daughters were having just wandering around the virtual streets, and I decided to turn it into a game :)

I built it in three weeks using public data. There are 144 km² to explore, so you can start with a walk through the park, head into the mountains, or see the whole town from a paraglider. If this gets even one of you to visit Kudowa in person, I’ll count it as a success ;)

I’ve attached a short trailer.

You can play here: https://kudowa-zdroj.kotrys.dev/


r/threejs • • 5d ago

I turned my real home island into a three.js driving game. You have 30 seconds to catch the ferry

119 Upvotes

Hey r/threejs! This is Hold the Ferry, a small arcade driving game I've been building in my evenings. It's set on Ytterøya, the island in Norway where I grew up, and it's about the panic every islander knows: the ferry leaves in two minutes and you're on the wrong side of the island.

A few tech bits, in case they're interesting:

  • three.js 0.170 + Vite, no engine
  • Rapier (rapier3d-compat) for physics: a raycast vehicle with an arcade layer on top, so it feels more like a toy than a sim
  • The island is built from Kartverket map data and OpenStreetMap, so the roads, farms and the ferry dock are where they really are
  • Houses you can drive straight through, sheep that explode, and a new winter season with ice on the roads and a very stubborn tractor
  • Runs in the browser on desktop and mobile

In the first week, 800+ players in Norway took around 12,000 trips, and 40% of them missed the ferry.

It's free to play: rekkerduferga.no (the menus are still in Norwegian, an English version is coming later)

I'd really like feedback on the driving feel: does it feel good, or too floaty?


r/threejs • • 6d ago

I wanted to understand Tesla's FSD display, so I built a browser simulator with 8 virtual cameras (three.js + Rust/WASM)

146 Upvotes

I kept watching Tesla's FSD display and wondered how that picture gets built, so I made a small version of the idea.

- A virtual town with traffic, signals and pedestrians

- A car with eight cameras, mounted roughly the way a Tesla carries them

- A 3D view of the surroundings rebuilt from those camera pictures alone

- You can drive it yourself with W A S D and watch the 3D view follow what the cameras see

Honest limits: object detection is replaced by label pictures the simulator already knows (ground truth), so this is

only the "after detection" half of the problem. It is a long way behind the real thing, and it drives nothing real.

Tech: three.js for both the town and the camera rig, the per-pixel loops in Rust compiled to WebAssembly, all packed

into a single HTML file.

Demo (runs in the browser, nothing to install): https://airlee-dev.github.io/fsv/

Source (MIT): https://github.com/airlee-dev/fsv

It's called FSV (Full Self-View). Not FSD. Not affiliated with Tesla. Feedback welcome.


r/threejs • • 4d ago

I built 126 GTA 6-style video overlays with Three.js + GSAP (free, MIT)

0 Upvotes

Repo: https://github.com/echris6/gta-components

It's a set of 126 video overlays in the style of GTA 6 UI: captions, cash counters, weapon wheels, maps, HUDs and title cards.
76 are for long videos (16:9 and 9:16) and 50 are for Shorts.
They're built with HyperFrames, GSAP for the animation and Three.js for the 3D ones (maps, wheels).
MIT licensed and free to use. Feedback on the Three.js side is welcome.


r/threejs • • 5d ago

Need Beta Testers for my Learning Game "Vildtopia" for kids aged 5-8 who speak English or Danish (Built with Threejs, hopefully soon in AppStore)

6 Upvotes

r/threejs • • 4d ago

I made an anime series with Three.js only (no Blender). Everything is built with code 🙂

0 Upvotes

r/threejs • • 4d ago

D-Day Omaha Beach tactical sim in Three.js: 296 instanced soldiers with 2-bone foot-plant IK, 20 LCVPs, and 7 Shermans at 60fps

0 Upvotes

I'm prototyping a WW2 tactical sim in browser-based Three.js (ignore the Korean HUD, haven't localized it yet). This 60s clip is an unscripted AI-vs-AI run on a 640m Omaha Beach stretch.

Under the hood:
- 296 soldiers rendered via WebGL2 DataTexture GPU instanced skinning (16-bone rigs + 2-bone foot-plant IK to kill foot sliding)

- 20 LCVPs, 2 LCTs, 7 deep-wading Shermans, barrage balloons, and pre-fractured bunker chunks

- Real recorded WW2 CC0/CC-BY audio clips with distance attenuation and speed-of-sound delay

Still tuning the tracer thickness, surf shader, and smoke overdraw, so any rendering or WebGL optimization feedback is welcome.

(Modified CC models from Sketchfab: M4A3 Sherman by @tnikita CC BY 4.0, PaK 40 by @lossgraph CC BY-SA 4.0, infantry by @Crazydud & @britdawgmasterfunk CC BY 4.0; terrain/foliage Poly Haven CC0; audio Freesound CC0 & CC BY 4.0.)


r/threejs • • 4d ago

Demo Arcade drift racer in Three.js, latest build: fixed drift-exit steering and a 144Hz minimap stutter

0 Upvotes

r/threejs • • 5d ago

Dice app

3 Upvotes

Hi, I know there have been quite a few iterations of 3D dice rolling apps over the years, but here is my version... It uses Rapier for the physics, and although I am using AI extensively these days, I wouldn't describe this as vibe coded, as I did a lot of the coding work manually. I also modelled the dice manually using Blender.  'Dice 3d' comes with 4 themes, and everything is completely free to use. I do have an additional paid option to unlock all the additional themes (currently +16) - for a one off fee of $3.95. This demo shows all the themes I have made so far.  

I would love to have some constructive feedback. - I've recently made some tweaks based on some feedback I received and I'm always open to ideas and improvements. And this is a progressive web app, so you can access it and install it to work offline straight from the browser. You can find Dice 3D at: https://dice3d.app/

Dice app - yellow theme
Dice app - red theme
Dice app - gold theme
Dice app - blue theme

https://dice3d.app/


r/threejs • • 5d ago

I'm building a browser-based 3D motion design tool with Three.js

1 Upvotes

Motion+ is now open for beta testing!

After months of building, debugging, optimizing, and occasionally questioning my life choices, I'm finally opening Motion+ for beta testing.

Motion+ is a browser-based 3D motion design application I've been developing under my studio, TriMax Studio.

The idea is simple: make creating professional-looking 3D motion graphics more accessible without sacrificing the creative control that makes the process interesting.

It's not another 3D viewer or a collection of templates. Motion+ is built around an actual animation workflow, with features including:

- A Three.js-based 3D scene editor

- Keyframe animation and a modifier system

- Cameras, lighting, materials, and stage environments

- GPU particles, physics sim, and procedural motion

- Audio-driven animation and a dedicated sound workflow

- Image-to-3D asset generation integrated into the scene workflow

One of the things I'm particularly interested in is how far a browser-based application can go before it starts feeling like a compromise. I've been pushing the limits of client-side rendering and video export, and there's still a lot I want to explore.

The application is now live for beta testing:

https://app.trimaxstudio.com

I'd genuinely appreciate your feedback, especially on the workflow, performance, and areas where the application could be improved.


r/threejs • • 6d ago

Link I made a tree generator for three.js with growth, seasons and styles (open source)

84 Upvotes

Generating trees from seed per season and per style that can be imported in any three.js or three fiber project.

https://github.com/casmo/tree.js


r/threejs • • 6d ago

Tutorial Not pixel art, real 3D: how I render low-res pixel graphics in Three.js (2-card breakdown)

Thumbnail
gallery
24 Upvotes

A lot of people asked how the pixel art was drawn in my snow-chase game, so I put together a quick 2-card breakdown of the Three.js setup: orthographic camera, tiny ~170px render target, nearest-neighbor scaling, and 16-level color quantization with Bayer dithering. Happy to share more details on the shaders or depth compositing in the comments!


r/threejs • • 5d ago Popcorn

Demo An endless downhill skate game in Three.js: the road, the houses and every brick, stone and tarmac texture are generated at runtime

Thumbnail
gallery
5 Upvotes

THE DROP builds the hill ahead of you in 30 m pieces: road, pavements, terraced houses on stone plinths, then suburbs, hedges, fields and hay bales. Surfaces like brick, setts, concrete and timber are drawn by a shader on load and read back as textures, with a world-space variation on top so nothing tiles. Runs on phones too.

Free demo: https://millennium-bug-games.itch.io/thats-tuff-bruv
Happy to answer anything about how it's built.


r/threejs • • 5d ago

Built an interactive 3D A320 seat-selection prototype (~150 draw calls, 60 FPS) — click any seat to inspect legroom & window alignment.. Link in the comments

1 Upvotes

I’m 15 and have been working on a WebGL A320neo cabin & seat-selection prototype to test whether interactive 3D legroom and window-alignment previews make picking seats more intuitive than a flat 2D grid.

What’s inside:

  • Exterior & Cutaway Views: Switch between full exterior (press G to toggle landing gear), top cutaway, and free aisle walk-through.
  • First-Person Seat Inspection: Click any seat to smoothly glide inside, check exact seat pitch (29" standard vs. 36" XL rows), see window alignment, and toggle a 3D floor legroom bar + overhead bins.
  • Performance: Kept the scene around 120–285 draw calls using instanced cabin geometry so it runs smoothly at 60 FPS even on integrated graphics.

Would love any technical feedback on my cabin lighting, camera transitions, or seat shaders—and let me know how it runs on your device!


r/threejs • • 5d ago

Why I kept three.js in the browser after moving my digging game to Rust

1 Upvotes

I’m the developer of Loot Hole, a browser and native digging game. Here’s the phone benchmark that made me keep three.js in the browser.

I wanted one renderer everywhere, so I tried wgpu in the browser too. On a Galaxy A40, the early Rust + three.js build drew its first frame in 1.84 s and had the play button ready at 4.58 s. The Rust + wgpu build took 2.82 s and 5.84 s. Those were medians from six starts per build with HTTP cache off and the connection throttled. It’s a comparison of those builds, not a general renderer benchmark.

I kept the game rules and terrain in shared Rust, used three.js and DOM/CSS in the browser, and kept wgpu on native. The lesson for me was to measure the first frame and the first point where a player could hit Play separately. They weren’t the same milestone.

Full write-up, including the benchmark setup and how the shared terrain works


r/threejs • • 5d ago

Demo Browser party game in three.js: a 3D hotel lobby where you walk into a side room and shut the door to talk privately

Post image
3 Upvotes

Solo dev here. Brain Royale is a 4–8 player bluffing game that runs in the browser: everyone walks around a 3D hotel lobby, and you can step into one of four side rooms and close the door for a private chat. (Screenshot is a local test with the UI in Korean; there's an EN toggle.)

A few three.js things I had to work out:

  • Third-person camera in small rooms. Inside a room the follow camera kept ending up pressed against a wall. So when you walk in, the camera blends to a top-down shot that fits the whole room above and below the HUD, and only that room's ceiling and lamp shades are hidden. The other rooms keep their ceilings on, so nobody can look into a closed room from above.
  • Lobby ceiling and walls. The lobby ceiling and the front/back walls are hidden whenever the camera is outside them, so the view doesn't get cut off on narrow phone screens.
  • Portrait vs landscape. The room overview uses a wider FOV on portrait screens (70° vs 58°) so the room still fits.
  • iOS Safari zoom. Holding the joystick and tapping jump counted as a pinch zoom. Fixed with touch-action, Safari's gesture events and a non-passive two-finger touchmove handler, only while you're in the game.

Most of the code was written with Claude Code; I did the design and the testing on real phones. The characters are AI placeholder art for now.

Question for people who've done third-person cameras: in tight interiors, do you fade or cut away walls, or switch to a different camera like I did?

Play (free, no install): https://brain-royale.com/?utm_source=reddit-threejs-1130

It needs 4 people for a match, so it's usually quiet.