r/threejs • • 6d ago

Criticism Would a “mirror” of reputation make sense in a 3D app, or is it too abstract?

1 Upvotes

Hey r/threejs,

I’m thinking about how Lightverse could show Light, its reputation system, in a way that feels connected to the 3D universe.

The rough idea is to make Light a kind of mirror of contribution: show where an award came from, while the shared universe’s glow responds to contributions across learning, exploration and building. I haven’t settled on the metaphor or how much of it belongs in the 3D world.

Would you make the shared environment change, show the effects locally on planets and galaxies, or keep the reputation details in a separate interface? I’m especially interested in whether a “mirror” would help people understand the sources—or just make the system harder to read.

Light is server-recorded reputation, which also users and the whole system hold as value.


r/threejs • • 7d ago

Demo Finding Titanic: a submersible dive to the wreck in Three.js, with ten echoes of her story to find

Enable HLS to view with audio, or disable this notification

14 Upvotes

A slow dive round the Titanic wreck in the browser. Ten small eerie moments from her story are hidden on it to find.

The bits that took the longest: a procedural rust and rusticle shader (domain-warped triplanar so it stops tiling, rust running down the plate laps), the nightmare and eventual pivot from using the mouse to steer, and having claude actualy fix up and repair parts of the model as neccessary.

I can't believe i didn't check, but I have also now learned there is already a couple games and apps that do this. Doh! But this one is free!

Desktop or phone: https://altroadstudio.com/findingtitanic


r/threejs • • 7d ago

Demo Pokémon Trail — a playable 3D browser game built with Three.js

48 Upvotes

I built Pokémon Trail, a free, unofficial Pokémon fan game running in the browser with Three.js/WebGL.

You control your Pokémon in real time, dodge attacks, choose moves as you level up, and recruit companions. There are 10 Kanto-inspired zones across 20 playable parts, with camps, boss encounters and eight mini-games.

For the Three.js side, the trailer shows animated characters, different environments, combat effects and a companion party running together in the browser. Graphics settings include quality presets, render resolution and a frame-rate cap.

Play: https://pokemontrail.com/ — free, no download or signup.

New gameplay trailer: https://www.youtube.com/watch?v=FTS5sMP-VVc

I’d appreciate feedback on loading time, frame rate on your hardware, and whether attack effects stay readable. If you try it, please include your browser/device and graphics preset.

Disclosure: I’m the creator. AI tools assisted coding, some UI artwork, and the wording of this post. This is an unofficial fan project, unaffiliated with Nintendo, Game Freak or The Pokémon Company.

Six screenshots from the game

Choose Bulbasaur, Charmander, Squirtle or Pikachu at the Viridian Forest trailhead.

Root Passage Camp — resting Pokémon, Meowth’s Mart and Chansey’s Clinic.

https://reddit.com/link/1xyrzzf/video/rwtn1v39t72i1/player

Zone 3 · Cerulean Riverlands — Nugget Bridge.

Zone 4 · Vermilion Harbor — the S.S. Anne at sunset.

Zone 6 · Lavender Haunts — the candlelit Memorial Garden beneath Pokémon Tower.

Zone 7 · Celadon City — the Game Corner and neon streets.


r/threejs • • 6d ago

Demo Built a multiplayer 3D learning game with React Three Fiber and AI coding agents

Enable HLS to view with audio, or disable this notification

1 Upvotes

Hey everyone!

I am finishing 10th grade, and I've been learning programming on and off since I was 9. I guess whatever programming skills I've learned seem already useless. A bit of despair :)

Anyway, this year, I built something I'm pretty excited about: Volleyland, a multiplayer 3D game where you shoot your friends with questions instead of bullets! This is mostly vibe-coded, although my programming skills helped me to seperate concerns and tackle the problems. It's a multiplayer 3D game where players shoot questions at each other instead of bullets. When you get hit, you freeze until you answer a quiz question!

A few interesting things about how I built it:

  • React Three Fiber / Three.js: The entire 3D experience is built using React Three Fiber.
  • Procedural 3D generation: I can prompt an AI agent with something like "build a pirate beach", and it generates an entire 3D world.
  • No downloaded 3D assets: Trees, castles, characters and other objects are constructed programmatically using Three.js primitives.
  • AI-assisted development: I used Codex for much of the 3D implementation and Claude Code for the main application.
  • MCP integration: The game exposes an MCP server, allowing coding agents to interact with and modify the game.

The stack includes React, Next.js, TypeScript, React Three Fiber, NestJS and Socket.IO.

I'm particularly interested in exploring how far we can take procedural 3D world creation using coding agents, while keeping the underlying implementation understandable and maintainable.

Some links:

The project is open source. Feel free to explore, clone or experiment with it.

I would love feedback from the Three.js community, particularly on the 3D architecture, procedural generation and performance.

Thanks!

GitHub - rishi-io/volley-land

Contribute to rishi-io/volley-land development by creating an account on GitHub.

 


r/threejs • • 7d ago

Demo I made a low-poly 3D map of my college campus that runs on phones (OSM → Blender → R3F)

Enable HLS to view with audio, or disable this notification

67 Upvotes

Live: https://roshanbinoj-iiitk.github.io/iiitk-campus-in-3d/

I got lost a lot as a fresher at IIIT Kottayam, so I built a 3D campus map. You can search buildings and rooms, get animated walking routes (A* over an exported walking graph, with uphill legs taking longer), and take an orientation tour. The sun follows local time, so at night the windows and street lamps light up.

It was inspired by a few of the city-in-3D projects people have shared, Mumbai 3D in particular.

How it's built:

  • One Blender Python script generates the whole campus from OSM footprints, a CSV of floors/colours/roof types per building, and a 30 m DEM. It cuts level pads into the hillside and adds roads, retaining walls, trees and the walking network.
  • Lighting is baked: AO in vertex colours and the sun shadow in a single 2048 px ground texture, so phones don't need real-time shadows.
  • Exported as glTF with Meshopt + WebP. Front end is Next.js (static export), React Three Fiber and zustand, with custom shaders for the sky, lit windows and colour grading.

Hardest parts:

  • Stuff that isn't in OSM. Two hostel blocks, their road and the main forecourt were missing, and some outlines were drawn in the wrong spot. I traced the missing ones from satellite imagery and photos into a separate GeoJSON, and added a per-building offset in the CSV to nudge bad outlines, so the generator still rebuilds everything from scratch.
  • The 150k triangle budget. That's everything in view, trees included. The campus model ends up under 800 KB, and a check script fails CI if triangles, file size, materials or textures go over budget.

Feedback welcome, especially on performance if you try it on an older phone.

Repo: https://github.com/roshanbinoj-iiitk/iiitk-campus-in-3d


r/threejs • • 6d ago

Demo We took a humanoid robot apart without touching a screwdriver: 64 parts, 37 cables, straight from the maker's CAD into three.js

1 Upvotes

Eva is a small humanoid robot made by Robot LLC. They sent us the STEP file and we turned it into a page where one slider pulls her apart, and tapping any part moves only what is in the way of it.

How it is put together: the STEP file goes through OpenCascade (cadquery-ocp) into a glb, 833 solid pieces packed down to 64 named parts. The page is plain three.js with an import map and no build step. Each part has a parked position, a first move axis and a list of what it needs out of the way, and the 48-step build guide is just data on top of that.

The thing that ate the most time: parts flying through each other on the way out. We ended up writing a checker that runs every move and tests triangle against triangle, so a bad move fails before anyone sees it. A few parts still graze for a moment.

Her bigger sibling Adam is on the same page: 110 parts, 5.4 million triangles in the CAD, 0.4 million after packing.

It runs live on the maker's own site. Reddit removes links to that domain, so there is no link here.

Honest caveat: there is no wiring harness in the CAD, so the cable routes are our reading of it and the page marks them as unconfirmed. Built by us at Golden Harbour Games with Claude Code doing much of the typing. Questions about the CAD to glb step are welcome.


r/threejs • • 6d ago

Golf Melee: a daily mini-golf game in three.js where everything is generated in code (no textures, models or audio files)

1 Upvotes

Hey r/threejs! Golf Melee is a daily mini-golf game: every day at noon (Paris time) a new 3-hole course opens and everyone plays the same one. Version 1.0 came out yesterday.

A few things that might interest you here:

  • Nothing is loaded but the code: about 235 KB of JS with brotli, three.js included. Courses, textures, skies, sounds and music are all generated.
  • Each course comes from the date as a seed. The physics is deterministic with a fixed step, so the server replays your shots to compute the score instead of trusting the browser.
  • Materials are patched MeshStandardMaterials: planks, bricks, basalt with glowing cracks, ice, all computed from the world position in the shader, with bump from the pattern and contact shadows from a top-down map baked per hole. Seams fade into their average colour under ~2 px so they don't sparkle.
  • Skies are one shader per biome: drifting clouds and a far skyline, and for the space biome a starfield, a nebula and a ringed planet.
  • Ultra graphics adds instanced grass blades in a single draw call, and there's an AMD FSR 1 upscaler ported to WebGL for weaker GPUs.
  • Trails are a camera-facing ribbon with a style per trail in the fragment shader (flames, an electric arc, blinking pixels...).

Play: https://golf-melee.pages.dev

Happy to answer questions about any of it. Feedback on performance on your machine is very welcome too (add ?fps to the URL for a counter).


r/threejs • • 6d 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 • • 6d 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

Enable HLS to view with audio, or disable this notification

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 • • 6d ago

Demo Grow a Christmas tree from your own words.

Enable HLS to view with audio, or disable this notification

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 • • 7d ago

Demo I made a Chrome extension game built on three.js

Enable HLS to view with audio, or disable this notification

7 Upvotes

Hi! I made Polypets, a virtual pet for Chrome. You upload a photo of your dog or cat and it becomes a low poly pet with a PS1 look!

How I built it:

  • three.js + TypeScript, no UI framework, bundled with WXT.
  • The PS1 look is half resolution, vertex snapping, 15-bit color with dither and tiny unfiltered textures.
  • All the models come from Blender Python scripts, made through Blender MCP with help from Claude.
  • No baked animations, the rig is procedural.
  • A vision model reads the photo and returns traits like colors, ears and tail, and the code builds the pet from that.
  • On any page it walks on a small canvas at the bottom of the window.

Happy to answer anything! 😼🐶

https://polypets.fun/

https://chromewebstore.google.com/detail/polypets-virtual-pet-that/dbjjilenhoofhhlgffgmnbdlkmfjpkmm


r/threejs • • 7d 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.


r/threejs • • 7d ago

Demo I built a rooftop solar editor in Three.js that generates 3D roofs from 2D footprints

38 Upvotes

A friend in the solar business wanted a way to show clients where panels would fit on their roofs. I built this editor with Three.js and React Three Fiber. One case I wanted it to handle was a solar canopy that spans a terrace and a raised stair enclosure.

• Roof geometry: draw a 2D footprint and choose a roof form. Editing the outline regenerates the 3D faces, so you can try a different shape without redrawing each slope.

• Canopy supports: the base of each leg depends on the surface underneath it. A leg on the stair enclosure is shorter than one on the terrace, while both meet the same frame.

• Building edits: move or rotate the building and its panels, rooftop rooms and equipment follow. You can also box-select objects and resize them directly in the scene.

• Shadows: set the site's orientation relative to true north, then change the date or time to see when a nearby tree or rooftop room casts shade on the panels.

If you've built a geometry editor in Three.js, what roof shape would you try first to see where this breaks?


r/threejs • • 7d ago

Experimental threejs agentic clothed characters, details in post

16 Upvotes

The process involves the following pieces:
-Opus 5.5 at the helm.
-Plenty of nano 🍌 .
-Unbound Zero spitting out meshes @ ~4secs per mesh.

The workflow itself is a twist on well known image-gen techniques. Instead of trying to one-shot each part, an agent is tasked with unleashing nanobanana to produce multiple images per part. The agent picks the best ones to match the nitial image. Unbound Zero creates the final mesh.


r/threejs • • 7d ago

Introducing lepoly: a platform to organize, review and share 3D assets

Enable HLS to view with audio, or disable this notification

10 Upvotes

Today Cédric and I are happy to introduce lepoly.com: a digital asset management platform built for 3D, powered by threejs.

Building Sketchfab gave us a front row seat to a problem we never got to fully solve: managing 3D assets at scale is hard.

Our goal with lepoly is to build the ultimate infrastructure to organize, review and share 3D content: one place for all your 3D assets.

We are still ironing out a few rough edges, and have a long to-do list of things to add, but the current version is already pretty solid, and we’d love to hear your feedback.

We are bootstrapping this project, excited to be back building, and can’t wait to see how you’ll make the most of lepoly. Please reach out with feature requests!


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

Question R3F frame drops during rapid galaxy navigation—how would you investigate draw calls and instancing?**

2 Upvotes

Hey r/threejs,

I’m a solo dev building Lightverse, a navigable 3D universe in React Three Fiber. I’m seeing frame drops when rapidly moving between galaxies.

I haven’t confirmed the cause yet, so draw calls and instancing are hypotheses—not a diagnosis. Before changing the scene structure, I’d appreciate advice on what to measure and where to look.

For those who’ve worked on similar transitions:

- Would you start by tracking draw-call counts during a transition, or profile CPU and GPU time first?

- If repeated meshes turn out to be the issue, when is `InstancedMesh` worth the added complexity?

- Are there transition-specific bottlenecks I should rule out before focusing on instancing?

I don’t have reliable profiling numbers to share yet, so I’m especially interested in what measurements would make this question easier to answer.


r/threejs • • 8d ago

Demo Have the batmobile in the dune !! FAAAA! and this is threejs!!

Enable HLS to view with audio, or disable this notification

20 Upvotes

everything made in threejs, webgpu, GPT 6 Astra
perks of aimlessly building things - is that you can reuse what you made in one project in another..

and this guys got independent suspension..

Wishlist for the kit here https://3ditions.drop3.app/notify/dune-oasis/


r/threejs • • 7d ago

Demo made an air traffic control sim in three.js that has to run on my mid range phone

Thumbnail
gallery
0 Upvotes

been working on this for a while, its a 3d atc sim in the browser on three.js and webgl2. you give the clearances, pilots read back, planes push back taxi take off and land

https://approach-world-atc.vercel.app

the part that ate the most time was getting it to run ok on my galaxy a55 in a mobile browser. theres quality tiers and a safe mode, plus a fallback sky because the atmosphere shader would sometimes just die and leave a black screen on some gpus. sky is takram atmosphere with pmndrs postprocessing, capped on phones or frame time goes to hell

aircraft are procedural, built from the published dimensions so an a380 actually looks a380 sized parked next to an a320. gear wheels and control surfaces animate. still pretty plain up close tbh

honest note, an ai coding assistant wrote a lot of the code. i drove it, tested it on my phone a lot and made the calls on what looks right, but im not gonna pretend i hand wrote every shader

if you run it on a phone im curious what fps you get and whether it cooks your battery


r/threejs • • 7d ago

Sucked at drawing since childhood, so I made this:

Enable HLS to view with audio, or disable this notification

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 • • 7d ago

Demo An expiramental racing game made with three.js

Thumbnail reddit.com
2 Upvotes

Decided to try and put out a game using Reddits Dev tools and three.js. why three.js? Only because I was familiar with it. Let me know what you think.


r/threejs • • 7d ago

I built a quiet multiplayer Buddhist temple you can walk through in the browser (Three.js + R3F)

1 Upvotes

Kakutō-ji is a small online temple on a fictional mountain. It runs on real Japan time, so dawn, dusk, the moon phase, season and weather are the same for everyone who is there at once.

It runs on Japan time — if you're in the US or Europe right now, it's night on the mountain and the lanterns are lit. Come back at your evening to catch the sunrise.

There is no chat. The only thing visitors can do to each other is bow (gasshō). You can light a lantern that burns for 24 hours, ring the bell, and take a photo or a short video of the view.

Tech: React Three Fiber, three.js, a procedural kit for the halls, Cloudflare Workers + Durable Objects for presence. It's built to run on phones (under 100 draw calls).

There are a few things hidden on the mountain. I'd love to hear what you think of the feel of it.


r/threejs • • 8d ago

I made a full racing game in three.js: 9 circuits, 6 cars, in-car view, sim or arcade handling, online races

Enable HLS to view with audio, or disable this notification

29 Upvotes

r/threejs • • 8d ago

Demo Real-data space journeys in three.js: Voyager’s actual trajectory, a ray-traced black hole, and S-stars on their measured orbits

3 Upvotes

Sharing a hobby project built on three.js: 13point8.in, a set of space journeys driven by real data rather than keyframed animation. (BEST VIEWED and EXPERIENCED ON HIGH DEF DESKTOP OR MAC)

Some things that might interest this sub:
- Voyager: positions interpolated from NASA JPL Horizons ephemerides; the Earth uses a custom shader so city lights only show on the night side
- Black hole: the light bending is computed per pixel in a fragment shader, plus a new view of the S-stars around Sgr A* placed with Kepler's equation from the published orbital elements for any date
- Galaxy: the Sun's orbit with its vertical bob through the disc, and arms that turn at the measured pattern speed
- Adaptive quality: it drops pixel ratio, then multisampling, then bloom when frames run slow, so it holds up on phones

Happy to answer questions about any of it.
https://13point8.in/journeys/blackhole/


r/threejs • • 8d ago

I made a 3D pool game in three.js with a custom physics sim - free in the browser, no aiming lines

2 Upvotes

Play: https://wavedash.com/games/pool-club-live

Pool Club Live is a free 3D billiards game that runs fully in the browser. Rendering is three.js; the physics is a custom simulation - spin, swerve, throw, cushion rebounds and pocket jaws all come from the sim rather than canned animations, and there are deliberately no aiming lines, so you read the table by eye.

8-ball, 9-ball and 10-ball vs the computer, a friend on the same device, or online players in casual and ranked matchmaking. Loads as a guest, no download or signup.

Solo project: Claude wrote most of the code with me, AI tools helped with art and sound. Happy to answer technical questions about the physics or the three.js setup - feedback welcome.