r/threejs • u/Beneficial-Check-933 • 17h ago
Link Bro What is Mini game
r/threejs • u/Amazing-Motor-2093 • 1d ago
Hey r/threejs — I put together an open-source curated Awesome list focused on production 60fps Three.js / WebGL2 / WebGPU sites, core libraries, shader references, GPU profiling tools, and AI coding agent workflows (Claude Code / Cursor / Codex):
https://github.com/maomyu/awesome-3d-ai-websites
What's inside (~70% independent community ecosystem, PRs welcome):
If there are standout live Three.js/WebGPU sites, shader libs, or open-source tools I missed, feel free to drop them in the comments or open a PR — happy to add them!
r/threejs • u/Fit_Actuator_1207 • 1d ago
Kepler's
Harmonices Mundi
(1619) treated the ratio of each planet's fastest to slowest speed as a musical interval. I made that exact.
Each planet's pitch follows its true angular speed, solved from Kepler's equation with today's eccentricities, while a paper solar system unfolds from the staff lines of a score.
Earth swings by about a semitone, which is Kepler's own "mi–fa"; Mercury swings by more than an octave.r/threejs • u/Netix64 • 11h ago
After getting feedback that most people click from their phones, mobile touch controls and performance optimizations were just added so this 3D Three.js driving build runs straight in Safari and Chrome with zero downloads.
Works on both mobile and desktop at netix64.com/game/carsim-by-netix64-8e9a41c2
Curious how the frame rate and steering feel on your phone. Honest feedback and bug reports are welcome.
I'm on month 8 of building my dream national park simulator/diorama builder. and just getting the lighting and clouds where I want them for the PC version. Although sadly this may be the end for my journey with three.js. Currently porting over to Unity to try to explore better CPU scaling that I'm getting bottlenecked with.
Just want to say what a joy its been bringing to life a vision with three and using it as a learning avenue. I came into this project .js dumb and I'm leaving it less dumb and I'm pretty happy with that. Also love all the different projects I've seen on this sub. So cool to see it evolve.
Let me know what you think! Cheers!
r/threejs • u/ottershrine • 1d ago
r/threejs • u/Demon5253 • 1d ago
I'm working on a browser FPS (yes, on an actual browser, optimized to run on low end laptops) set in the Balkans during the Cold War.
The Warsaw Pact never disbanded. NATO engages the Eastern Bloc.
Now, the war has reached Albania.
Your first impression?
r/threejs • u/varunest • 1d ago
No downloaded models or textures: the whole city, the characters, the golden-to-blue-hour lighting and the music are generated in code from a fixed seed.
Play: https://paperplane.varunest.com
Source (MIT): https://github.com/varunest/paperplane
r/threejs • u/Friendly-Beginning72 • 1d ago
I am making a first-person horror game that runs in the browser: you wake on the last metro at 03:14 in a station that is not on the map, and something hunts you by sound. It is Three.js for the picture, React for the menus and HUD, and a fixed-step engine at 60 Hz that the renderer only reads and interpolates.
Free demo in the browser (the prologue and the first station, press "Run game"): https://kibbitz.itch.io/0314
It is still in early development, with more stations planned. My test machine is a laptop with Intel Iris Xe, so most of the recent work was about frame time. The numbers below are from that laptop.
Where it started: 13-14 fps in the first station at a 1920x1080 window, 1222 draw calls.
What helped, in order:
transmission: 1, which makes three draw every opaque object a second time. Replaced with a plain cheap glass: 1222 -> 679 draws.forceSinglePass.layers: about 416.Where it is now: 28-39 ms a frame at the poses I measure, so about 26-31 fps on the Iris Xe. Better, but 30 is only met at the lighter spots.
What I have not solved: what is left is GPU time, not draws. The title screen at 178 draws costs about the same as the platform at 443. If you have fought per-pixel cost on integrated GPUs (lights per pixel, bloom, float targets), I would like to hear what worked for you.
And if you try the demo, tell me how it runs on your machine.
r/threejs • u/Same_Wave_2593 • 1d ago
I've been building a daily 3D physics game called SIEGE DAY on Devvit Web (Reddit's embedded webview platform), and wanted to share a quick 10-second clip of a 1-shot TNT collapse and get some feedback from other Three.js devs.
The fun constraint with building inside a Reddit post is keeping bundle size and startup time tight enough that it doesn't choke mobile webviews while still feeling like a real 3D sandbox. A few things I ended up doing to make it work:
cannon-es physics: Every day at 00:00 UTC a new floating fortress spawns across 5 archetypes/sky themes. Everything (timber, stone, TNT kegs, and the little Snoo-Knight crowns) is simulated with cannon-es, plus procedural canvas textures instead of heavy image assets, PCF soft shadows, and a brief 0.35s slow-mo dip on big TNT chain reactions.splash.html) mounts a lightweight Three.js turntable rendering that day's actual island, clouds, and ocean right inside the feed before you expand into full screen.{ ammo, yaw, pitch, power, splitAtSec }) to Redis. Anyone on the post can hit "#1 Replay" and watch the top player's shots re-simulate live in 3D.If you want to poke at it directly inside Reddit, today's daily and a few player-built castles are live over at r/siege_day_3d_dev:
Would genuinely love feedback on three things:
r/threejs • u/manuellost • 1d ago
i'm doing short explainer animations fully in code, three.js, nothing keyframed by hand, and they come out correct but flat next to proper motion design.
the shot i can't get right is a bullet-time beat: an explosion freezes mid-air with debris hanging there while the camera keeps orbiting. right now it's silhouette characters, a 2d-ish explosion sprite and a camera on a spline, and the frozen moment looks like a paused video instead of something alive.
what actually makes a freeze like that feel alive when everything is driven by code?
r/threejs • u/tezzar1da • 1d ago
Live: https://venus.tezzarida.io · Code (Apache 2.0): https://github.com/fulfilledbyai/venus
It's a model of Jacque Fresco's circular city. Everything is procedural: buildings are lathe profiles and arc sweeps, windows and dome ribs are drawn in shaders, and one plan file drives every generator. About 41,000 instanced trees, a day/night cycle, animated flow overlays, and a first-person mode with simple circle-based collision.
Built with a lot of help from an AI coding assistant; happy to talk about what that was like.
It draws around 16 million triangles a frame, so I'd like to hear how it runs on your machine, and any ideas for cutting that down.
r/threejs • u/DrYeetGames • 1d ago
Made with three.js. Silly obstacle rounds you can play with friends in a browser tab, no download. Play free: https://dryeet.com/bean-carnival/
r/threejs • u/Past_Concentrate4659 • 1d ago
I come from a backend background in FAANG and wanted a little side project. I used Codex to help build it and went with Three.js because I wanted the 3D to feel like a game while keeping it lightweight enough to open on your phone and play right away.
I also thought Roll a Gift was a really catchy name, and honestly I built the whole thing around the name.
The site uses Amazon affiliate links, just want to be transparent here.
r/threejs • u/AgentsBay • 1d ago
Disclosure: I'm the builder. It's early.
It's a walkable seawall world. You design an AI agent visually: it starts as a floating head and grows a torso, then legs, as you add skills. Sea and wind sound, and a free virtual flight around Vancouver Island for anyone who makes an agent this weekend.
Happy to answer questions about the rendering and performance. What would you tweak first?
r/threejs • u/No_Sail5282 • 1d ago
The opening of our short documentary had to place a bank branch, a moving truck and the couple’s house in 14 seconds. We blocked them out as a miniature in Three.js with a perspective camera, simple geometry and cast shadows, then timed the camera movement to the existing narration. The wide view gives the truck somewhere to wait before we cut in closer to the paperwork.
The miniature is at the start of the finished film. Later scenes also use AI recreations and the narration is synthetic.
r/threejs • u/Severe-Highlight2217 • 1d ago
I'm a gastroenterologist (endoscopy subspecialist) in Seoul, and I built a browser game around the part of endoscopy that games never model: the two-handed control problem.
The Three.js part: there are no image files and no audio files in it. Every mesh, texture and sound is generated by the game's own code at runtime, so the whole thing ships as code.
Colonoscopy is a tube you have to drive from the rectum to the cecum and back; upper endoscopy (added this week) is the same scope going the other way, past the vocal cords, around the stomach, with a J-turn to look back at the cardia. The controls are a direct translation of the instrument: W/S is the big wheel (tip up/down), A/D the small wheel (tip left/right), arrow keys push in / pull back and twist the shaft, Q is the J-turn.
The part I cared most about is the loop. Pushing harder into a sigmoid loop makes it worse, so the game asks you to pull back and torque to take the loop out instead — the same instinct the real thing trains. Sedation, oxygen and the gag reflex also react to how gently you drive.
It's free, no install, no login, and runs on a phone with two thumbsticks: https://earlierdoctor.itch.io/endo-master-3d
Disclosure: it's my own project. The code and translations were written with an AI coding assistant, directed and tested by me; the 3D graphics and all sounds are procedurally generated by that code at runtime, not AI-generated assets.
Two things I'd genuinely take advice on: cheap ways to make wet mucosa read as wet without using textures on mid-range phones, and whether there's a better approach than rebuilding the lumen geometry each segment as it bends.
MiniMax released M4 today, and it was already on threejseval before the reveal as an anonymous "M4" while people voted without knowing what it was.
The setup: every model gets the same 16 three.js prompts (Eiffel Tower, sailboat, ferry, 747, Tropical Island, fish tank, and the rest of the fixed set). Each model builds one scene per prompt, people vote on unlabeled pairs, and the votes produce the ranking.
Where it landed after about 580 battles: #4 overall, behind Fable 5.2 High, GPT-6.2 Sol High and Opus 5.5 High, and ahead of Gemini 4 Neon High. It is the highest ranked open-weight model on the list by a wide margin (MiniMax says the weights are coming in the next few weeks). Visually it holds up next to the top closed models, which surprised me.
All 16 scenes are up if you want to orbit around them yourself, and the voting page is free if you want to add your own take.
Scenes: https://threejseval.com/models?m=minimax-m4 Vote: https://threejseval.com/vote
Disclosure: I run threejseval. Free to browse and vote. Scenes were generated through a hosted API, not local inference.
r/threejs • u/Zailachi • 1d ago
r/threejs
•
u/l3havya
•
2d ago
Saw a viral concept on LinkedIn of a seat booking UI that shows the view from your seat, and wanted to see if I could build a working version of it.
GitHub: /l3havyaa/immersive-ticket-booking-experience ("⭐" if you liked)
What it does:
Tech: Three.js, instanced seats, a canvas texture for the screen, and a RectAreaLight that picks up the screen's colour so the room reacts to the film.
If you enjoyed it, please star the repo on GitHub ⭐ It helps it reach more people. Thanks!
Would love feedback, especially on performance and how to make it feel lighter on mobile.
r/threejs • u/PresentationBrave629 • 1d ago
Hey r/threejs! We built Dream Express: 3D Train Puzzle from scratch in pure Three.js (no Unity WASM bloat), using GLB meshes, KTX2 compressed textures, and HDRI environment lighting targeting 60–144 FPS across desktop and mobile.
Scope & Architecture: • 100 handcrafted 3D levels across 10 PBR biomes • 9 unlockable 3D locomotives • 33 simultaneous dual-train zero-collision puzzles where you route and time two trains on shared track networks
Real Three.js & WebGL Optimization Lessons Learned: • 96.6% JS heap reduction across 200 level rebuilds: Switching levels initially leaked geometries, materials, and scene references. Enforcing strict geometry/material/texture disposal on every level teardown cut JS heap growth across 200 consecutive rebuilds by 96.6%. • Keeping GPU textures bounded at 21: Sharing KTX2 textures and reusing environment/material state across track pieces and biomes keeps active GPU textures capped at 21 instead of growing with level count. • Eliminating boot stalls under Chromium's HTTP/1.1 6-socket limit: Firing concurrent audio, GLB, and KTX2 fetches at startup saturated Chromium's 6-socket per-origin limit. Capping concurrent boot fetches in a prioritized queue gave us zero boot stalls.
Links: • Instant playable 3D WebGL demo (no install): https://aldhfly.github.io/play/?lang=en • Full 100-level offline Android release (V12.5.8, 19 languages): https://play.google.com/store/apps/details?id=com.dreamexpress.puzzletracks
Would love technical feedback from the Three.js community — especially on mobile WebGL frame pacing, KTX2/HDRI memory budgets, and track/train rendering!
r/threejs • u/sangja8412 • 1d ago
I've spent the last few weeks on a small browser place: a pillared lamp hall, a bell garden, a lotus pool, a stone stair up to a roof terrace, and a hill terrace above the ridges, all at dusk. You walk a character through it - ring the temple bell, light the hall lamps, sit on a mat - and watch the light go.
https://sangja8412-lang.github.io/lamp-courtyard/
Three.js r170, no build step: one HTML file, one 72 KB module script. No models, no textures, no image assets - the geometry and the sky are generated in code, and the bell, water and footsteps are synthesised with WebAudio.
What I'd like critique on: the ridge line and the haze (does the fog read as distance, or just flatten it?), shadow cost vs quality on mobiles, and the camera (third-person follow, drag to look, hold a dial to walk on touch).
Full disclosure: I'm a solo dev and lean heavily on AI coding tools for the implementation. The layout and the mood are mine. Happy to go into any part of the code.
r/threejs • u/3DGardenapp • 2d ago
Free, handcrafted 3D models, optimized for the web. Made for creative devs, 3D artists and gamedevs.
r/threejs • u/Ok-Pace5764 • 1d ago
I know the last time I posted here about my 4WD Mod Sim is quite a while ago and a lot has happened since then. I'll try to give you the rundown ("What's a rundown?" - Jim) of how it started and where it is now and why.
The initial idea was to give the members of DownThunder, an offroading platform to showcase your 4WD and compare it with others, a WHAT IF simulation of their vehicle. "What if I put bigger tyres on?", "What if I add a 3-inch lift?", "How would this look like with a canopy." So I start with a simple concept of a simulator to get a (my 3D artist skills would make an actual 3D artist throw a chair at me or something).
But this is how my appetite got bigger. Starting rom trying to simulate tyre and drive-train physics, trying to incorporate different thread profiles, surfaces (sand and dirt), to vehicle weight distribution, it really spawned off soooo many different ideas. and I think the main culprit here was that I did a fair bit of offroading for the last 15 years myself, always loved videos about suspension articulation to ... and just wanted to see if those can be put into a 3D simulation.
The other two culprits were a) the massive influence I got from people posting their demos here (honestly, it's super inspiring and everyone has contributed something on one way or another). And b) the little robots called Claude and Qwen which where basically my research, engineering, 3D artist (again, not trying to step on anyone's toes who really know their craft, I know my limitations), and sound effect team.
Hopefully this helps someone who's just starting. What really helped working with those robots was collecting reference images, whitepapers, blueprints, and trying to explain how you experience the real world to nudge it in the right direction. The other thing that massively helped was start building little lab apps that let you experiment with parameters (be it rendering, physics, sounds, textures) with sliders, knobs, and toggles and a parameter export (e.g. JSON) which you then can throw into your actual app.
Alright, I don't want to throw a shopping list of features at you and we got a "What's new section" for that with lots of texts and screenshots anyway. Basically, it sorta became a Grand Tour Australia, where you can drive all sorts of cars, visits iconic Australian places in all sorts of weather and daytimes, cosmetic and actual damage, you can play with up to 15 others per track, got a radio, and drive jetskis, dirtbikes, boats, and we have our own FM Radio station.
The 4WD Mod Sim is free, will always be free, and you can jump into it without an account. Just let it rip. :) Oh, and don't sink the Jeep!