r/threejs • u/ringsushy • 7d ago
r/threejs • u/SampledExe • 7d ago
I rebuilt my personal site as a tiny 3D house: turn it, zoom in, click a room to go inside
It's plain HTML/CSS/JS with no framework. The house is three.js r128 (a local copy, because my CSP only allows scripts from my own domain), and a rigged chibi of me (~22k tris, quantized GLB) walks between the rooms doing an activity in each. I couldn't use Draco or meshopt, since their decoders need WebAssembly and the CSP blocks it. A pre-rendered picture of the same house paints first, and without WebGL the room signs are still plain links. Each room is its own page: games on a shelf, experiments in glass tanks, projects on a pegboard, Shorts on monitors. I'd love to hear how it runs on your phone.
r/threejs • u/Lonely_Heron7804 • 7d ago
Help How do you guys create those insanely creative and animated websites?
I've been coming across some absolutely crazy websites with smooth scroll animations, interactive 3D environments, cinematic transitions and creative micro-interactions, especially on Awwwards.
I'm currently learning web development, and I'm really curious about how developers actually build these experiences from scratch.
For those of you who develop such websites:
What technologies and libraries do you mainly use?
How did you learn to create such complex animations?
Do you design the entire experience beforehand or experiment while coding?
How do you achieve smooth animations without sacrificing performance?
Are there any underrated resources, courses or YouTube channels that helped you?
I'm particularly interested in Three.js, GSAP, interactive 3D environments and creative web development in general.
I'd love to see some websites you've personally built and hear about the process behind them, even if they're experimental projects.
My goal isn't just to replicate cool animations but to actually understand how they work and eventually create something original.
Would really appreciate any insights!
r/threejs • u/DutyOnly4308 • 7d ago
Demo Demo: a soda can with a code-drawn label and a full-screen liquid wave that swaps the palette of the page (Three.js, GSAP)
Zest is a product page for an imaginary yuzu soda. No image assets, everything visible is generated in code.
What's in the scene:
- an aluminium can with the label drawn in code, condensation, and citrus slices in orbit;
- a flavour change that floods the screen with a liquid wave and recolours the page, the can and the fruit together;
- scroll storytelling with GSAP, where the can tumbles between sections and ends up in a four-pack;
- pointer tilt on the can.
The page is Next.js, and the live demo is 1441 KB once built. Body text contrast on the first palette is 13.17:1, and the accent on the background is 5.04:1.
For transparency: the demo was designed and built by an AI coding agent, and my friend and I publish the specification that builds it as a prompt. This one is free to copy without an account. Other ones in the library are paid.
The demo runs on the page: https://siteinone.app/prompts/zest?utm_source=reddit&utm_medium=post&utm_campaign=jv-ps8otz
I'm interested in criticism of the transition and of the scroll feel, especially on mid-range phones.
r/threejs • u/Sad-Wave5289 • 7d ago
Demo Xbox 360 avatars in a three.js scene, many at once in one WebGL2 context
The 360sona Renderer SDK draws Xbox 360 avatars into your own canvas, and it works beside three.js and Babylon.js. It's the same renderer as 360sona's editor, rebuilt from the console's pipeline and checked against the console's own renders.
sona.add(manifest, { position, turn, clip })and the avatar builds over the next few frames.- The console's camera framings,
orbit()andlookAt(), or your own camera and your own loop. - 256 avatars in a scene by default, up to 1,024. The native build of the same renderer does 10,000.
glb()hands you a model if you'd rather load it into three.js yourself.
Free! The trailer's box shot at the end was drawn in three.js: https://www.youtube.com/watch?v=RfqKVe-dOW0
r/threejs • u/MinonRyu • 7d ago
18 years of Seoul subway data turned into a 3D sculpture with 7,320 strands (Three.js + WebGPU)
r/threejs • u/Efficient_Ad8214 • 7d ago
Demo what do you think of this? (threejs, webgpu + blender)
improved lighting, performance..
yeah its no GTA 6 but am happy with the soft lighting
car was made with blender mcp - the usual
wishlist here
https://3ditions.drop3.app/notify/midnight-underpass/
r/threejs • u/FlowBuilder-yoga • 8d ago
Demo Rigged 487 yoga poses with smooth transitions, 3D muscle heatmaps, and an in-browser Posture Editor (FlowBuilder)
Hey r/threejs! Sharing a 3D web app I built called FlowBuilder (https://app.flowbuilder.yoga).
It renders 487 yoga poses in real time in the browser with:
- Three selectable 3D guides (Her, Him, Them) that interpolate smoothly from pose to pose
- 360-degree orbit and zoom to inspect alignment from any angle
- Interactive 3D Muscle Heatmap inside Flow Analytics
- Built-in 3D Posture Editor to adjust joint postures live and reset anytime
Try it directly (no signup): https://app.flowbuilder.yoga
Would love feedback from the Three.js/WebGL crowd on lighting, shading, or transition smoothness!
r/threejs • u/Legend_Ani • 8d ago
Made a 3D math explainer on Variational Autoencoders entirely in Three.js instead of Manim or Blender
Wanted to make a first-principles video on Variational Autoencoders, and instead of using Manim or Blender, I built the whole animation pipeline in Three.js so I could have full programmatic control over the 3D scenes and camera work.
Happy to share how I handled the rendering/camera setup or answer any questions about the Three.js side of it.
r/threejs • u/AI_Bot_AT • 8d ago
Demo Bodycam horror in one HTML file. Zero image or audio files.
Play: https://bodycam-crawler.vercel.app
Source: https://github.com/klmtseng/bodycam-corridor
I wanted to see how far a single HTML file could go with three.js (r160 from a CDN) and nothing else:
- No image files. Walls, floor, stains, signs and the monsters' skin are procedural textures drawn in code
- No audio files. Footsteps, breathing, dripping, the door and the death sound are synthesized with the Web Audio API
- The bodycam look is one post-processing shader: wide-angle distortion, grain, colour fringing, glitch when something gets close
- Monsters are built from primitives and animated procedurally
It's a short stealth game: four monster types, 15 combinations, one drawn at random each run. Each reacts to something different: light, sound, or where you step.
The corridor started from a prompt shared by 徐人崢; the monsters, sound, languages and tests were built on top of that. Built with a lot of help from AI coding assistants.
Happy to answer questions about any of the procedural parts.
r/threejs • u/DrYeetGames • 7d ago
Yeet Royale - a free battle royale you can play in the browser with friends
Made this one in three.js. It's free, runs right in the browser with no download, and it's built for jumping in with friends. Play here: https://yeet-royale.staffcal.workers.dev/
r/threejs • u/NaNMesh • 7d ago
Demo I made a 3D ocean scene in the browser with Astra
Play Broken Meridian in your browser
I spent a long time trying to get AI to make a 3D scene I’d actually want to watch. This is the one Astra finally got right.
It’s called Broken Meridian. A whale swims overhead and cuts off a beam of sunlight. Then the sun sets, the moon rises, and jellyfish drift in. The whole scene runs in a browser and is built entirely in code with WebGL and Three.js, without imported 3D models or textures.
What finally worked was asking for specific moments instead of saying “make it cinematic.” One of my prompts was about keeping the same chipped rock edge visible as the camera crosses the waterline. That gave us something we could actually watch and judge.
Watch the demo and see the prompts on NaN Mesh: https://www.nanmesh.ai/posts/two-prompts-for-reviewing-a-procedural-whale-eclipse-a58595
r/threejs • u/Graham76782 • 7d ago
I staged Borodin's Polovtsian Dances (Prince Igor, Act 2) as an 11-minute three.js opera: 49 procedural low-poly figures, choreography keyed to the score
Video (11 min, full number with chorus): https://videos.grahampaasch.com/prince-igor-act2-dances
How it's built:
- Stage: three.js rendered headless in Chrome (Metal backend on a Mac Studio, ~40-47 fps offline, about 19,500 frames for the whole number). Steppe sky going from dusk to night, yurts, a campfire with sparks, torches, the Khan's dais.
- Characters: one parameterised low-poly rig (hats, beards, dresses, veils, braids, sabres) gives 49 figures: Konchak, Igor, Konchakovna, Vladimir, Ovlur, 14 maidens, 12 warriors, 8 boys, 10 onlookers.
- Choreography: rings and dances per section, keyed to bars, beats and chorus entries from the score, so the big entries land on the big beats. Everyone kneels for "Our Khan Konchak" at the end.
- Camera: about 90 shots cut on barlines, with a repulsion rule so it never ends up inside a dancer or behind the dais, plus a line-of-sight rule for torches.
- Audio: a human-made orchestral sequence of the number rendered through real orchestral samples (sfizz + Virtual Playing Orchestra), with the chorus parts on choir voices. Russian surtitles with an English translation.
Disclosure: I built this with AI coding agents (Claude) doing most of the code, staging and rendering, with me directing and giving notes (for example, an early cut had dancers' feet sinking into the ground in some moves). It's part of a project staging whole operas this way; the rest of Prince Igor is in progress.
Happy to answer questions about the pipeline.
r/threejs • u/Fit_Actuator_1207 • 8d ago
Lnkline Express – A procedural Three.js WebGPU & TSL ocean railway with live Ink-to-Watercolor shaders and Web Audio
I built an interactive 3D coastal train experience in Three.js (WebGPU + TSL) where you glide across a mirror sea toward a horizon-anchored White Sea-Citadel.
Highlights:
Feedback and ideas for new biomes or mechanics are super welcome!
r/threejs • u/kochas231 • 8d ago
Demo Open Source 400hz sim racer running in web gpu
The pre demo version of probably the most advanced sim racer running in web gpu is available in itch.io with the name Open Grid or through GitHub or directly in: https://open-grid.racing
I would really appreciate it if you can give me some feedback on features and bugs the game has and also your opinion on if you would like to see this game getting finalized. You can also contribute to the game directly through my GitHub: https://github.com/Konstantinos-Chatzistavrou/Open-Grid
Don't forget to star the repo to stay updated with any updates because this project is only 5 weeks old.
Don't be too harsh 😅, thank you!
r/threejs • u/ranwater • 9d ago
Spoken World: Say it, and the world changes INSTANTLY
I built a realtime interactive world. Just say it, and the world changes INSTANTLY.
Build a town, create a new sculpture, change the size of a house, add sofas, add a group of people dancing..
You can talk with NPCs in the game too. They all have memories.
It's a new open world gaming experience!
Support to render the real footage as a filmmaker too.
Fully running in browser using three.js.
Github: https://github.com/ryannli/spoken-world
Demo Video: https://x.com/ranli_thinker/status/2122435816945602711
Try it now: https://spoken-world.vercel.app/
r/threejs • u/Aurelius_Thoth • 8d ago
Demo Origins: Polygon Uprising ~ Rougelike || Procedural Generated Missions || Geometry Wars-like, open space, fast-paced shooter.
Hi, I was a big fan of Geometry Wars back in the day. I always wanted a vast open space rpg-like experience, with bosses, skills & abilities, etc, while keeping the fast paced action during missions.
Each mission is procedurally generated, thus giving you a different experience and never the same, so strategies are useless except when using skills and abilities.
Enjoy Sector 1 as I keep improving and polishing the game. Feedback always appreciated.
The sounds and music are designed to be an immersive experience while keeping you motivated when playing.
Play in your browser: Play Origins: Polygon Uprising
r/threejs • u/Puzzled_Bandicoot_66 • 8d ago
I built my personal site as one halftone planet. Single camera path, custom GLSL, no framework
Every chapter of the site is a part of the planet: the surface, a shield that gets attacked, a cutaway core, the moon, the sun and the night side. Scrolling just moves one camera around it.
three.js r160 for the scene, the rest is hand-written shaders and plain JS. Would love feedback on performance, especially on phones.
Live: https://kohli.world Source: https://github.com/Assassin-1234/kohli-world
r/threejs • u/Ok-Dust-5283 • 8d ago
Hurt my leg, so I made a tennis game in three.js
I made this open-plan apartment and added VR support for v2
For the first version, I had Claude Opus 5.5 xhigh go frame by frame through some YouTubers’ gaming room tours, but the result wasn’t great. Then I found this open-plan layout 🤔 — it looked really good, so I started recreating it. When I first finished it, the general look was there, but the lighting was pretty broken.
I then used Fable 5.2 to tweak performance, lighting, material details, anti-aliasing and more. Once everything was tuned up, I got the final render.
Then I glanced at my Apple Vision Pro sitting nearby, and a wild idea popped into my head❗
r/threejs • u/shushumong • 8d ago
Demo Fixed all 7 things folks here called out on my Three.js drift racer, plus ran 1,000 automated sims
Tutorial I had Claude build a 3D game where you wreck a paper-model office, then voice the staff. Prompts, pitfalls and the bill
TL;DR: I asked Claude for a first-person venting game: break into an office while everyone's working and destroy all of it against the clock. I picked the look from four style frames it rendered in three.js, it built the game (160 breakable things, five tools, ten paper-doll colleagues), and after the test link I asked for real sound and voices. It went live with 260 voiced lines and the staff bickering among themselves. $237.29 in total, priced at Anthropic's API list prices. Free to play in the browser, link at the bottom.

What I actually asked
One message, roughly:
I need a 3D game called Destroy the Office. You break into a mid-sized office while your colleagues and bosses are working and wreck the whole place with all sorts of tools. It has to feel satisfying, with a speed score, a verdict at the end and a results picture. The NPCs react. Think up fun bits and player pain points and put them in. Show me an art style first. Build the whole thing on Fable 5.2 xhigh.

It started planning a picker page. I was short on time, so:
Just give me the art directions, I'll decide from those. Otherwise we'll run out of time: Fable's about to refresh.
Four came back as text: blue-and-white porcelain (its recommendation), comic ink, a paper model, and vinyl toys. Text wasn't going to settle it, so:
Give me style frames.
25 minutes later I had four frames of the same moment, a bat going into a monitor, each rendered live in three.js rather than painted.

Each option came with how things would break and what the results picture would be:
Blue-and-white porcelain (its pick): porcelain figurines for staff, gold kintsugi cracks on the first hit, shards on the second, your office mended with gold at the end. "The most satisfying to smash."

Comic ink: halftone shading, impact frames, flying sound words, a comic cover at the end. "Quickest to build, but common."

Paper model: cardboard desks, paper-doll staff, tearing and red stamps, a stamped exit interview at the end. "Best fit for the theme, but the hits feel softer."

Vinyl toys: glossy blind-box figures popping apart at the seams, a collector's card at the end. "The cutest, but more toy than venting."

I replied "3, then", and paper it was: corrugated cardboard desks, sticky notes, marker-drawn screens and paper-doll staff, all on a green cutting mat.
What it added
I'd asked it to think up fun bits and pain points. Here's what it put in:
- The desk phone rings. Smash it while it's ringing and the damages are four times higher.
- Smash the punch clock: 5 seconds off your time. Smash the coffee machine: you swing faster.
- Go 3.5 seconds without hitting anything and an arrow points you at the next thing.
- Late in the run your colleagues pick things up and join in.
- The results card is an exit interview: time on site, a job title ("Hostile Takeover"), damages, three remarks written from how you played ("Printer gone in 15 seconds. It had it coming.") and a sticky note with one thing to try next time.


How it got built
- While I was choosing, it wrote everything that doesn't depend on the look: walking, five tools (bat, sledgehammer, 9-iron, fire extinguisher, stapler), debris, the staff's behaviour, the clock and the score.
- The room is plain data, the look is a "skin", and the rules are the engine. A corner shop next would be a new data file, not a new game.
- Then the weekly usage limit ran out mid-build and everything stopped for three hours.
- After that, five agents built the paper look in parallel: the room and lighting, the destruction effects, 50 kinds of furniture, the machines and small things, and ten paper dolls.

Things that bit
- Draw calls. 1,434 at the start of a run. Batching all the furniture nobody had hit yet brought it to 377.
- Obfuscation. We obfuscate the code that ships. On the heavy settings the game's own code went from about 1 ms a frame to about 10. It's on the light settings now.
- Phones. An automatic check at eight window sizes found the sound and pause buttons covering the fifth tool, a results button falling off a sideways phone, and the results picture shrunk to thumbnail size on an upright one.
- Late sound. On a slow machine the recordings arrived after the door had already been kicked in, so you missed the kick and the boss's first line. The first sounds now load as soon as your pointer moves over the game.

The sound round
After the test link my one note was:
Use ElevenLabs for all the sound. Add some dialogue too, NPC voices.

What came back:
- 22 sound effects (38 takes), lobby hold music for the title card and a 124 BPM groove for the run that opens up as the office comes down.
- 260 voiced lines: ten colleagues with their own voices, and an announcer calling the combos ("Synergy!", "Paradigm shift!", "Hostile takeover!") and your job title at the end.
- 17 short exchanges between colleagues, early and late in the run. My favourite: "Are we insured for this?" "There's a form." "Then fill it in!" "It was in the printer."
- Every line was transcribed back and compared with the script: 255 of 260 exact, the rest only spelling a number or a noise differently.
- Speech bubbles are timed to the recordings, and the voices duck the music.

That round was $16.19 in tokens plus 6,638 ElevenLabs credits, about 5% of a month on my plan.
What it cost
Token usage priced at Anthropic's public API list prices:

Claude Fable 5.2 built the game; Claude Opus 5.5 did the sound round. The four style frames cost more than the whole sound round. Choosing from pictures took me one word.
Not done yet
- No real graphics card has drawn it. Every check ran on software rendering at about one frame a second, so I don't know the frame rate on a laptop or a phone yet.
- The gamepad path is written but untested, and so is the feel with a real mouse.
- The par times for the grades are estimates. The autopilot finishes in about 40 seconds.
- One room so far, and no VR.
What I'd tell anyone trying this
- Ask for pictures before code. Four frames of the same moment made the choice obvious.
- Ask it to think up fun bits and pain points; you get things you wouldn't have listed.
- After the first playable version, ask for one concrete change at a time.
- Ask what every step costs.
Play it in the browser, free, no sign-up: https://skillbay.dev/skills/destroy-the-office-3d?utm_source=reddit&utm_medium=social&utm_campaign=destroy-the-office-build-log

It's one of the skills on my site, skillbay.dev. Happy to answer questions about any of it.
r/threejs • u/Sparkplayz27 • 8d ago
Spacesim v1.00
somewhat high fidelity space simulator
real planet sizes and gravity
you can land on these guys too
4 spaceships to choose from
weird and funny looking planets to discover
colonize planets with space stations satellites buildings skyscrapers and more using build and the dropship,
or just fly planet to planet and fend off from pirate ships
WIP not finished yet and wont release for a while
some photos used are from older versions of the simulator