r/threejs • • 6h ago

Help Can ThreeJS handle a MMO?

4 Upvotes

Out of curiosity I tried to port an old MMO which I used to play alot, Last Chaos, to web using Codex (I hope not many AI haters here). I did it just for fun. But when I tried to test the performance with 100 characters atacking 100 mobs with particles, animiation, etc. FPS drop to 20-30 from 90.

I tried many stuff that GPT suggested or almost 2 days but nothing is working at all. So my question is if it's worth to keep trying or this will just be impossible. My PC isn't the bottleneck, it seems to be that Chrome is intesively using 1 thread only from my processor or something like that. My processor barely moves from 9% performance and same for my GPU.

Thanks!


r/threejs • • 19h ago

Sucked at drawing since childhood, so I made this:

0 Upvotes

This project was inspired by my previous 3D landscape work. I wanted to build something fun and interactive: draw simple strokes on a blank canvas, and those marks get translated into classic Chinese ink-wash landscape elements — mountains, trees, mist, boats, all that shanshui goodness.

I’ve never been good at hand drawing myself, so this workflow is my way to play with traditional ink painting without strong drawing skills.

That said, it’s still far from the mood and aesthetic of authentic Chinese shanshui painting. It’s just a tiny experimental piece.


r/threejs • • 10h ago

i can change my three.js vr scene by talking while i'm still in it. the tricky part was keeping the page from reloading and kicking me out of vr

1 Upvotes
i'm working on a thing where you change a webxr scene from inside a quest just by saying what you want. in the clip i ask for the targets to fall down when i hit them, then to move left and right, and both changes show up while i'm still standing there with the blaster.

the catch is that a page reload ends the vr session. so every change has to come in as a hot update. the ai writes files into a vite dev server, and vite only swaps a module in place if something accepts the update. my scenes load their assets and objects through a virtual module, and with nothing accepting it almost every edit became a full reload.

fun detail: vite finds a self accepting module by literally looking for import.meta.hot.accept() in the code. i first called it through an alias and it kept reloading anyway.

textures were the other bit. instead of remounting, the existing texture just gets a new THREE.Source with the new image and needsUpdate, so the materials pick it up where they are.

some changes still need a real reload, like a new npm package or the xr setup file, and then you just press enter vr again. haven't found a way around that one.

the clip is the raw recording from the headset with my own voice, i only cut out the waiting.

i'm building this, it's called turbl: https://turbl.dev/r/threejs

has anyone managed to keep an xr session alive through a real page reload, or is that just not a thing?

r/threejs • • 12h ago

Demo Grow a Christmas tree from your own words.

1 Upvotes

It’s a little early, but I made a page that turns your short greeting into a Christmas tree you can share with a link!

Every letter you type becomes part of the tree.
The more you write, the bigger and fuller it grows.

Grow your tree here: https://wooramsol.com/tree.html

How it works:

  • The tree grows with a space colonization algorithm, the same idea used to simulate real tree growth. Branches reach toward empty space and split as they go.
  • Each letter you type moves it one step further in its growth. Branches get thicker as they carry more twigs.
  • Every visit grows a different tree, and when you share a link, your friend gets the exact same tree and message.

r/threejs • • 22h ago

a few frames from my three.js city: sunset at the pier, downtown at night, ferris wheel at dusk

Thumbnail
gallery
1 Upvotes

been building this city in three.js for about 3.5 months. 30k plots, cars, a zoo, a stadium, a pier. these are real frames from the browser, nothing edited

the hardest part wasn’t making it pretty, it was making it not freeze on a cheap laptop. on low it’s one sun and simple shadows, on high it switches to cascaded shadows

if you could add one thing to the night shot to make it feel more alive, what would it be?

link in the comments if you want to walk around


r/threejs • • 20h ago

I gave GPT-6.2 Sol (out today) the same 16 three.js prompts as every other model. Here's what it built.

51 Upvotes

I run threejseval, a site where AI models get the same three.js prompts (Eiffel Tower, sailboat, ferry, robot arm, cloth sim, fishtank, chess board, and more) and people vote blind on which scene is better.

GPT-6.2 Sol came out today, so I ran it through all 16. Its predecessor 6.1 Sol was one of the strongest models on the board, so I'm curious whether 6.2 holds up once votes come in.

Every scene is live and you can orbit around it in the browser:

https://threejseval.com/models/gpt-6.2-sol-high

If you want to help rank them, the blind vote is here:

https://threejseval.com/vote

Happy to share the prompts or answer questions about how the scenes are generated.


r/threejs • • 5h ago

Same prompt, two AIs, a three.js jet engine: Claude Opus 5.5 vs the new GPT-6.2 Sol

2 Upvotes

Gave both models the same ~800-word brief and let each write the whole scene in three.js, then rendered it to video. Opus on the left, Sol on the right, no edits from me.

What I noticed:

Sol's geometry is way more detailed. The compressor stages and the gear stack under the cutaway are really dense.

But its thermal overlay broke into flat blue and orange boxes floating over the parts, and the opening shot doesn't really read.

Opus kept it simpler but the camera, timing and cutaway tell the story much better.

Next I'm trying a split: Sol builds the hero model as a module, Opus does camera, lighting and animation around it. Happy to share the prompt if anyone wants it.


r/threejs • • 19h ago

Codevember! Day 17 - Kelp

31 Upvotes

Today's #codevember word is "Kelp".

I got a lot of upvotes on the last spider one (thanks! 😄) so decided to post another! I hope you enjoy!

For context, i'm building and open sourcing a creative 3D web experience every day this month. All built with three.js, and r3f. This one is really trying to see how far I can push WebGPU.

You can play with it here: https://adamwebsite.com/codevember/17-kelp/
Find the code here: https://github.com/acher249/codevember-2026
Find all of them here: https://adamwebsite.com/codevember/

I'm new to reddit and appreciate you checking it out! 😄 Let me know what you think!


r/threejs • • 13h ago

I built a physically based render pipeline for three.js WebGPU

33 Upvotes

FFT ocean, physical atmosphere, global illumination, volumetric clouds, GTAO, volumetric fog, auto exposure, local tone mapping...

The project is open source on GitHub, under the MIT licence. It includes the full render pipeline; tools to capture, compare and profile; and the skills you need while making a game.

Ponlai: https://github.com/HuberyLL/ponlai


r/threejs • • 21h ago

Open source jewelry visualization tool

84 Upvotes

A lot of people seemed interested in another closed source jewelry visualizer. I thought we should have an open source one. Have at it.
https://jewels.mobicat.club/
https://github.com/shaarmander/mobicats-jewels


r/threejs • • 3h ago

Swinging Paint Simulator (Most satisfying thing i've ever built)

214 Upvotes

This is by far the most satisfying thing I’ve ever built.

You know those viral pendulum painting videos? Now anyone can make one in the browser.

Pull back the paint can, let it swing, and watch it draw.

Day 18 of #codevember and the word of the day is "Pendulum", so this is what I came up with. I can't stop playing with it, go try it out. Make one and post your painting below! All open sourced.

You can play with it here: https://adamwebsite.com/codevember/18-pendulum/
Find the code here: https://github.com/acher249/codevember-2026
Find all of them here: https://adamwebsite.com/codevember/


r/threejs • • 1h ago

Does a dedicated publishing platform for Three.js scenes make sense? I built an MVP

Post image
0 Upvotes

I’m working on Holm, starting with a simple goal: make it easy to publish an agent-built 3D scene and share an interactive link.

You can ask your coding agent to upload your project through MCP, or upload it yourself in the browser.

I know you can already host Three.js projects through general web hosts, and there are existing 3D platforms. I’m trying to understand whether a service focused on these scenes can make the experience meaningfully better.

The attached image is a Leifeng Pagoda scene running on Holm. Explore the interactive version here.

Worlds are currently unlisted, so you share them directly by link. Publicly listed worlds are coming soon.

I’d appreciate honest feedback: would this fit your workflow, or does your current hosting setup already solve the problem? If you’ve made a scene with an agent, I’d also love to hear what you’d need before using a platform like this.


r/threejs • • 3h ago

I missed Firefox's Tilt 3D view, so I rebuilt it using threejs

Thumbnail
gallery
2 Upvotes

Firefox used to have a 3D view of the page in DevTools, but it was removed in 2016.

So I made Stackray. It uses the same idea, but I built it around debugging common frontend issues & It just looks cool as honk!

it reads the page once and works out what's actually on top of what, and why.
then it lifts the page into a 3d stack of layers inside a little retro mac window, so you can spin it around and see what's hiding behind what.
it all runs in your browser, nothing gets sent anywhere, and esc puts the page back like nothing happened

It runs locally and makes no network requests & most importantly, Its open source!
Here's the extension link(Chrome)(Firefox), do give ita try!


r/threejs • • 3h ago

Demo Doomscroll calculator that turns into a 39-second three.js film

3 Upvotes

https://neomarcopolo.co/cherrybrew/doomscroll-calculator/?from=rd_threejs

Put in your age and screen time and press Work it out. It flies you down a path made of your weeks, posts swarm in and build walls that close into a tube, the world folds up ahead of you, then it goes dark and photos from a life spin past.

Some details:

  • The path is defined once as numbers and generated into both the JS camera and the GLSL, so the camera and every object bend together, including the fold.
  • Everything is instanced ShaderMaterials animated in the vertex shader. The scene is about 1,700 lines in one file, no models.
  • Bloom only turns on once it's dark. A frame watchdog drops the post passes, then the pixel ratio, on slow devices.
  • No strobing, reduced motion is respected, and there's Skip.

Honest note: I didn't write it. Claude Fable 5.2 built it from my notes, and GPT-6.2 Astra did the last 3D pass. It's a promo for our Android app, so if you want a lifetime code for that, DM me.


r/threejs • • 14h ago

Glint — browser glTF/GLB optimizer: report first, then optimize (KTX2 / Draco / Meshopt)

1 Upvotes

I built Glint, a desktop-browser tool for .glb / .gltf: you get a readable report first, then optimize in the browser and download. No install.

Site: glintlab.cn

Hard limits: .glb / .gltf only, 500MB max per file (warning past ~100MB).

Drop a file in, orbit it. The report shows triangles, verts, meshes, materials, textures, a VRAM estimate, and risk flags — parsed in the browser with gltf-transform.

① Overview

AI analysis is optional and is not required for the report or for optimize. In settings you can set your own API key, model, and endpoint; if those three are set, analysis also works when you are logged out. If you are logged out and have not set a key, AI analysis cannot run.

② Report

Then optimize with presets or pick steps — dedupe, weld, simplify, texture resize, Draco, Meshopt, KTX2 via toKtx (JPEG/PNG → KTX2/BasisU; the viewer uses KTX2Loader). Some steps are lossy; the UI marks them. Manual optimize does not use AI and does not need an API key.

③ Optimize

Compare size, triangle count, and VRAM estimate and download the new .glb.

④ Results

Built on gltf-transform, with KTX2 in the pipeline. If you load models in three.js (Draco / Meshopt / KTX2 paths too), try a real file and tell me what breaks — browser, which step, what kind of model.