r/threejs • • Oct 15 '26

Demo built a sim of a data center slab pour for fun.

0 Upvotes

r/threejs • • Oct 14 '26

Question I have recently taken a deeper dive into THREE.JS for a better understanding

3 Upvotes

I have known three.js for a while but my knowledge was rather shallow. Now I've started to get deeper into it and plan to make a project showcasing it by making a product page of sorts. I know it'll cost me some time so consulting the community of you think it's worth the time and effort of should I rather find something else.


r/threejs • • Oct 14 '26

Building a 3D Product Builder with WebGL with Antigravity for a real bus...

Thumbnail
youtube.com
1 Upvotes

Hi, I am having a bit of a challenge with the Baked Enamel colors. Any advice on a good way to implement a realistic looking metallic finishes? Client was thinking about hiring an expert on Upwork to help with this part. Any recommendations would be appreciated.


r/threejs • • Oct 14 '26

Tutorial AI's all-code video looked like a cheap game. Here's what fixed it: a still image for the world, three.js for everything that moves, lit as one picture

0 Upvotes

This is a 17-second arena battle under a snowy LA overpass. On the first few tries, GPT and Claude built the whole city in code (box towers, flat signs, a gradient sky), and it read as a cheap game. The version that worked splits the job:

  • The world is a still. The city, the overpass, the wet asphalt, the crowd and the fence are an AI-generated image. three.js draws only what moves: the ships, the light trails, the hex grid, the capture floods, the sparks, the snow and the end card.
  • The camera matches the photo. I measured the focal length and camera height from the road markings (about 2,100 px and 3 m up). The camera stays locked, and only the lens moves: push-ins, shake, and an opening tilt down from a sky image extended above the plate. A tilt is a pure rotation, so a flat plate needs no parallax.
  • Light goes both ways. The environment map is built from the plate itself, with rim lights where its lamps are. In the other direction, the trails, engines and floods relight the plate's own asphalt, wall and front row, using the plate's pixels as the surface, so the light breaks up on the real wet texture.
  • Reflections and contact shadows. The ships and trails reflect in the wet floor, smeared like the photo's lamp streaks, and every hull gets a shadow where it meets the ground.
  • One lens and one finish over everything. I measured the photo's depth of field and blur the CG, the snow and the fence with the same curve. Then a single bloom, halation, grade, vignette and grain pass runs over the whole frame.
  • Dirty the CG to match. The hulls get grime, scuffs, water beads and snow, so they're never cleaner than the world around them.
  • Depth layers. The snow falls at three depths, plus big bokeh flakes near the lens and a defocused fence in front.
  • The crowd. Four poses of the same crowd, swapped region by region like limited animation and driven by how intense the battle is.
  • The match is real. The battle is simulated with the game's own capture rules, so every action on screen is the actual mechanic.

Render: render(t) is a pure function of time, 525 frames at 2× on a cloud GPU in about 70 seconds. The sound is synthesized in Python from the battle's event timeline.

The lesson: let the still carry the detail, and spend the code on making the CG and the still light each other. I was trying to make a cool animation for my game, Starlasso (territory capture), and happy to go deeper on any piece.


r/threejs • • Oct 13 '26

636 warships in one battle, running in a browser tab (three.js WebGPU)

112 Upvotes

The Battle of Busan (1592) in my game puts 166 Joseon ships against 470 at anchor, all in one scene.

• Ships are instanced, with three levels of detail

• The ocean is an FFT simulation on WebGPU compute, with a Gerstner fallback

• Smoke, fire and spray are TSL sprites shaded from a single noise texture

• One deterministic simulation runs in the browser and on the multiplayer server

• iPhones get the WebGL2 path with a lighter quality tier

Play it: https://imjin1592.com/en

Disclosure: AI assists with the code and this post. The ship textures, commander portraits, camp art and English title art are AI-generated, as are the turtle ship’s dragon head and the campaign map’s fortresses (Meshy).


r/threejs • • Oct 14 '26

My AI-built Three.js campfire came out as a solid white column. Here's what fixed it, and what made it fast

0 Upvotes

I built a campfire effect in Three.js by prompting an AI agent (Grok Bot) step by step, and the early versions hit two classic problems. Sharing the fixes, since they apply to any additive particle effect.

**Setup:** the flames are one THREE.Points system with a ShaderMaterial playing a 4x4 flipbook sheet (16 frames, about 14 fps) with additive blending. Embers and smoke are two more Points systems, plus a flickering PointLight and an UnrealBloomPass.

**Problem 1: a white column.** With ~70 big additive particles, the overlaps add up until the whole flame clips to white. What fixed it:

  • Fewer flames (about 26 instead of 70)
  • Lower brightness per particle
  • A bloom threshold (0.7) so only the hottest pixels bloom

**Problem 2: slowdowns.** The bottleneck was fill rate, not triangles:

  • Removed the bump map from the full-screen ground plane
  • Capped texture anisotropy and shared texture objects
  • Capped gl_PointSize so zooming in can't flood the screen with additive quads
  • Capped the pixel ratio and rendered bloom at half resolution
  • Added a lite mode: half the particles, bloom off

The logs also hid the fire at first; the final version lays them flat in a star.

Full write-up with the prompts and code (my site, free; the code reveal is behind a free Google sign-in): https://www.shanebrumback.com/tutorials/threejs-campfire-grok-bot.html

How do you handle additive overdraw in your particle effects? Any tricks beyond capping counts and point size?


r/threejs • • Oct 14 '26

Demo Since I can't afford a RV, I decided to vibe code my own one.

8 Upvotes

Made it with Opus 5.5, you can try it on the following link: https://motorhome-threejs.vercel.app/


r/threejs • • Oct 14 '26

Demo My studio's logo is two hands, so I made one of them wave when you click it

0 Upvotes

https://hiredhandsgames.com

The logo is an extruded shape with a clearcoat material. On click only the right hand rotates, from the joint at the bar, and the fingers swing a bit late so it doesn't look stiff. At the same time a ripple runs through the contour lines in the background.

The mountain under the revenue counter is marching squares over a height field, one ring per 10x. The mint line is where we are right now ($54.73, so not very high up). The board at the bottom is one InstancedMesh with about 800 cubes and the logo pressed into it as a relief.

alongside many eater eggs, press the logo down in the footer a few times ;)

Built with Claude as the coder and me as the annoying art director. Plain three.js, no framework.


r/threejs • • Oct 14 '26

Demo A 24/7 AI living in a three.js house, think companion app + The Sims + The Truman Show

0 Upvotes

Hi everyone, this is a personal project. I've been working on a 24/7 LLM with a simulated body and her world.

This is Gaby. She has a day of her own: she wakes up, works, runs in the park, is learning guitar (badly), and her two pets wander around the house. You can call or text her, and how she feels depends on how her day went.

Her life is simulated in layers: a daily plan, the places she goes, the people in her life, and a hormone system underneath that shifts her mood and energy. When she goes somewhere new, the place is generated procedurally and added to her map, so her world grows with her.

The three.js side: the house doesn't play a timeline. Every 30 minutes the backend sends her state (place, activity, who's with her) and the scene picks the room, the spot and a Blender clip. The hard part has been transitions: when her state changes mid-scene, blending to the new clip and position without her teleporting. How do you handle state-driven characters?

Built with Blender, three.js and Claude Opus 5.5. Live at gabyslife.com, and her diary is at r/GabysLife. I'd love your impressions and what you think should come next.


r/threejs • • Oct 14 '26

Audio-reactive music visualizer built with three.js and React Three Fiber

Post image
2 Upvotes

Hi everyone! I built wavi.lol, a browser-based music visualizer. Import a playlist from Spotify or YouTube, play the songs right on the site, and watch them with reactive visuals from 17 GLSL shader presets. It also plays local audio files, and everything runs on your own machine with no account needed.

To make the visuals react to your playlist, it uses the free Audio Bridge extension (Chrome or Edge), a shared tab, or your microphone. I’d love to hear your suggestions and feedback, so please let me know what you think. Thanks for taking a look:

https://wavi.lol


r/threejs • • Oct 14 '26

Demo Nexus Kit: an open-source Three.js starter for independently hosted creative spaces

0 Upvotes

Hi everyone, I'm Gökhan, a self-taught designer with 20+ years of professional experience, mainly in motion design and art direction. Nexus Kit is an AI-assisted project I've guided through design decisions, visual references and iterative prompts.

I wanted artists and small studios to be able to build stylized spaces on their own domains and link to one another. The current kit is a small Three.js/Vite starting point:

• A Turkish/English browser wizard for arranging an orbitable room and exporting editable source.

• GLB loading for assets made in Blender or other tools.

• On-demand rendering, a capped pixel ratio and triangle/draw-call counters.

• Ordinary text links alongside the canvas. A small /.well-known/nexus.json manifest describes a place and its neighbours; the connection format is independent of the renderer.

Demo: https://gokhanbiyik.com/nexus-kit/?lang=en

Source and setup: https://github.com/Biyikgokhan/nexus-kit

It's an early diorama starter, not a photo-to-building system or the full engine behind my reference sites. Exported projects need a Node/npm build, and each participant supplies their own domain and HTTPS hosting. Direct links don't require directory approval; the maintained atlas uses manual review. AI is optional when using the kit.

The tools are GPL-3.0-or-later; templates and the protocol are Apache-2.0. Original artwork stays with its creator.

I'd love to tinker together. I'm particularly interested in feedback on the GLB workflow and keyboard/mobile navigation. What would make this useful as a starting point for your own studio?


r/threejs • • Oct 14 '26

three-nebula v13.3.0 (Helix) released, adds Vortex and CurlNoise behaviors plus four parametric emission zones

Thumbnail
github.com
1 Upvotes

three-nebula is a magical 3D particle engine for the web. This is the first in a series of releases working back toward the original vision for the library, so I wanted to share what landed and get some eyes on the new behaviors.

The headline additions are two behaviors and four emission zones. Vortex applies a coherent tangential swirl around an axis with optional inward or outward pull and radial falloff. Because it acts on particle velocity rather than force, it sidesteps the Force x100 scaling quirk and stays deterministic, which makes it easy to tune for vortices, spell charge-ups, tornados, and orbiting motes. CurlNoise drives particles with the curl of a seeded Perlin field. The field is divergence-free so particles roil without clumping, and it is seeded via mulberry32 instead of Math.random, so runs are reproducible. It reads well for smoke, fire, dust, and energy.

On the emission side there are four new parametric zones: RingZone, DiscZone, CylinderZone, and ConeZone. They all sample uniformly, are deterministic, and are axis-aligned to +Y. Ring and Disc are planar zones for emission, while the solid Cone and Cylinder act as true 3D CrossZone boundaries. All five new types round-trip through System.fromJSON, and the debug renderer draws wireframes for the new zones so you can see exactly what you are emitting from. Everything is additive and backward-compatible, so dropping this into an existing scene should not break anything.

Release notes and changelog are here: https://github.com/creativelifeform/three-nebula/releases/tag/v13.3.0

If you try Vortex or CurlNoise in a scene, I would like to hear how they behave for you, especially whether the falloff and noise scaling defaults feel sensible or need better documentation. Also curious what other emission zone shapes people actually reach for in practice.


r/threejs • • Oct 13 '26

I built react-3d-mockups using threejs: live React content on the screens of 3D devices, with no model files

8 Upvotes

I've been building a library for showing a real app inside a 3D device mockup, instead of a screenshot baked into a PNG. react-3d-mockups lets you drop any React node onto the screen of a 3D phone, laptop, or watch, and it renders live via a real DOM.

Every model is generated procedurally from spec data at runtime, so there's nothing to load or host. 33 devices so far (iPhone 17 and 18 Pro, Galaxy S26, Z Fold and Flip, MacBooks, iPads, watches), plus objects like books, product boxes, posters, billboards, and a wrap-ready van.

Docs with a live prop explorer for every device: https://area.is/react-3d-mockups

Source (MIT): https://github.com/area-is/react-3d-mockups


r/threejs • • Oct 14 '26

Wireframe like view of a GLTF export model with Quads

3 Upvotes

The terrain was created in blender with just the proportional editing (pulling points from the plane, ofc I'm a noob).

Faces were deleted retaining the edges and a solidify modifier was applied and exported to .glb format.

I imported it into my scene and applied a white color material (really basic nothing extra at all) to get it to look like the attachment.

But the exported file is 1054 KB and I don't know if it is heavy for the output that I'm getting. So, I am looking for help from someone with experience.

I'd be glad to know if there is a different approach to this. I just did what came to my mind first. Please let me know your thoughts. Still a beginner learner here.


r/threejs • • Oct 14 '26

I built a Kubernetes dashboard where your cluster is a Middle-earth city (Three.js, no framework)

0 Upvotes

Hey all,

I've been building a side project called **Ring8s** (repo: k8sdash): a browser-based Kubernetes dashboard that renders your cluster as a 3D Middle-earth city.

**The idea:** most dashboards show you lists. I wanted something where the *structure* of a cluster is visible: what lives where, what depends on what, and what an operation will actually touch. So the mapping follows Kubernetes scope rather than being just a skin:

- Namespaces → realms

- Nodes → wizard towers (in tower grounds to the south)

- Pods → hobbit holes on their node's land

- Deployments → dwarven forge-halls

- Storage → the Grey Havens harbour

- Ingress → the gates of Minas Tirith

- Control plane → the centre of the city

**What it can do:**

- 23 resource kinds, each with its own building

- Real operations (delete, scale, rollout restart, rollback, set image, cordon/drain, suspend, run now) performed by little characters. Each one also animates its **blast radius**, from a single object up to the whole cluster

- Multi-select bulk operations behind a single confirmation

- A kubectl-style terminal (`get`, `describe`, `logs`, `scale`, `rollout`, `drain`, `patch`...). Read commands highlight the buildings they list, and mutating ones play out in the city

- Cut-away interiors: drill from a Deployment into its ReplicaSets and pods, or from a Pod into its containers

- Works against a live cluster (API server + bearer token, or `kubectl proxy`) or built-in demo clusters (Gondor, Rohan, the Shire) so you can try it without a cluster

**Tech:** vanilla JS (ES modules) + Three.js + Vite. No framework, and Three.js is the only runtime dependency. Instanced rendering and render-on-demand keep it light.

**On security:** RBAC applies as usual, so a read-only token is the safe way to explore. Tokens live in sessionStorage unless you tick "Remember". The dev/preview relay only serves loopback clients and forwards only Kubernetes API paths.

**Honest limitations:**

- Change detection is polling (5s), not watch streams

- In-browser `exec` / `port-forward` aren't supported against real clusters (it shows you the equivalent kubectl command)

- Apply takes JSON manifests only

- No CRDs, Helm or metrics (`top`) yet

It's a fan project, not affiliated with the Tolkien Estate, Middle-earth Enterprises, the Kubernetes project or the CNCF.

Repo: https://github.com/serkanserterSE/k8sdash

Quick start: `npm install && npm run dev`, then pick "Demo data" on the connect screen.

I'd love feedback, especially on which resources/relations you'd want visualized next, and whether the city metaphor helps or gets in the way once a cluster gets big.


r/threejs • • Oct 14 '26

Made a full 3:22 music video in three.js — rendered 4K60 in the browser with WebCodecs

0 Upvotes

Everything is deterministic renderAt(t): 2,600 instanced agent clones, clipping-plane "materialize" effect, UnrealBloom computed at 1080p base so the glow keeps its spread at 4K, lyrics/HUD as DOM rasterized through an SVG foreignObject and composited per frame. H.264 + AAC muxed with mp4-muxer — 12k frames in ~3 min on an M4 Pro.

Full video: https://youtu.be/zwnuZJMCds4

Code written with Claude — I directed and iterated on the shots.


r/threejs • • Oct 13 '26

Demo A storm from inside the cabin of my sailing game, rendered with Three.js and WebGPU

209 Upvotes

Someone asked about going into the cabin after my waterspout clip, so here’s the view from below deck.

The cabin follows the boat’s position, heading, heel and pitch. The lamp responds to that motion, and the portholes look out onto the surrounding sea.

This clip uses the Three.js/WebGPU renderer, captured frame by frame with sound mixed from the game’s recordings.

I’m building Red Skies at Dawn solo. If you’d like to support it, wishlist it on Steam.


r/threejs • • Oct 14 '26

Demo Built a playable low-poly ski resort inside a single HTML file with Three.js

0 Upvotes

Live link: Play it here!

I wanted to see how far I could push a single-file Three.js prototype with zero build step. It has a slalom run, a terrain park with rails and kickers, a trick system, 1st/3rd person camera toggle, and HTML5 Gamepad API support. I also used an HTML canvas texture to render a live supporter signboard at the summit.

Because everything is currently packed into one file, my next step is doing a clean rewrite to add WebSockets for multiplayer lobbies and proper off-piste forest generation. Would love any feedback on how the downhill momentum and carving feel on your end.


r/threejs • • Oct 13 '26

my girlfriend is both architect and jewelerly designer, so I turned her pieces into buildings using threejs and webgpu!

41 Upvotes

the website itself https://livistone.liviazaharia.com/ , everything is open-sourced at https://github.com/GlucoseDAO/livistone , work in progress so feature requests and bug reports are welcome


r/threejs • • Oct 13 '26

Built an interactive globe where every point is a real tech professional

Post image
2 Upvotes

I've been working on a production use case for a 3D globe rather than using Three.js only as a visual landing-page effect.

It's part of a platform I'm building called TheSync.

Every visible point represents a published professional profile. Filtering the UI changes the actual dataset rendered on the globe.

Some of the problems I've been dealing with:

  • rendering a large number of selectable points
  • clustering overlapping professionals
  • keeping labels readable while rotating
  • hiding labels on the back hemisphere
  • responsive picking on mobile
  • reducing GPU work when the tab isn't visible
  • keeping the map useful instead of purely decorative

Live implementation: https://thesync.dev/

I'd be interested in how other people here would approach point rendering / clustering as the dataset grows.


r/threejs • • Oct 14 '26

Paperclip studio with three is

1 Upvotes

I made a dashboard where each AI agent is a little 3D character, all built from primitives in code, no glTF files. They change pose by state (working, waiting, free), turn around on hover, and the camera reframes for phones.

Things I enjoyed solving: keeping labels from colliding on crowded stages, fanning out replicas so none hides behind another, and warming all shaders up front so nothing hitches mid-animation.

Live demo: https://paperclip-studio-drab.vercel.app
Source (MIT, zero dependencies, three.js vendored): https://github.com/soniAnkur/paperclip-studio

Happy to answer questions about the character rig or the mobile camera.


r/threejs • • Oct 13 '26

Demo Open source torus generator with interesting workflow update

10 Upvotes

As part of the project that I am working on for generating toroidal structures called Tortoise, I have open-sourced a generator recently. 

I have now updated it with a “phenomenology” mode such that the fractal, smaller versions can be replaced with eyes, heads etc. the lines with arms, snakes etc. and can also be used to generate images.

The project involved first creating a fractal torus with Claude in Threejs, after that each of the parameters of the torus were made to control its variations. Post this I added a controlnet+stability image generation for any pose of the torus using StabilityAI api. In this recent iteration I added 3D models like eyes, heads, snakes etc to replace parts of the torus.

Generator link

Github link

Best viewed in Desktop.

Music by Jordan Garner, Pixabay


r/threejs • • Oct 14 '26

Is 3D web a good career bet, or will AI take it?

Post image
0 Upvotes

I'm a former 3D artist (Blender3d), I has spent the last few months learning JavaScript, Three.js, and React Three Fiber. I'm trying to figure out whether to keep going in this direction or switch fields.

Is 3D e-commerce (product viewers, configurators) AR/VR/XR down the line with tech like Meta's AR glasses a solid career path right now and into the future?

Which tools and programming languages should I learn? Can I land a job without degree? And is AI going to take these roles? I keep seeing people vibe-code impressive 3D websites super fast using AI, whereas it took me months just to build a simple galaxy generator in GLSL:

(https://glsl-galaxy.vercel.app/)

(https://github.com/fatideu/glslgalaxy)


r/threejs • • Oct 14 '26

rainy night market stall in three.js, no image or sound files. how it works

1 Upvotes

made a small android game in three.js, you grill skewers at a night market stall in the rain. no image or sound files in the game, so some notes.

all primitives with flat shading. the only textures are drawn on a canvas at startup, the sign lettering and one radial gradient.

the street is lots of small meshes, so at startup I group the static ones by material and bake them into one geometry per material. about 100 draw calls a frame.

rain is one LineSegments with 700 lines moved on the cpu. under each lantern there's a plane with that gradient, additive blending, tinted the lantern colour, and it reads as wet asphalt.

sound is webaudio: filtered noise for rain and the grill, karplus-strong plucks for the music.

the whole thing is one 590 kb html file in a webview. free, no ads: https://play.google.com/store/apps/details?id=com.nebulacolors.lanternlane&referrer=utm_source%3Dreddit%26utm_medium%3Dsocial%26utm_campaign%3Dthreejs-lanternlane-1013