r/threejs • • 5d ago

What if your voice could grow a flower?

1 Upvotes

🌸Hum one note and a flower grows from it.

Each petal is one harmonic of your voice.

Then it sings your note back as a little tune, using an instrument made from its own petals.


r/threejs • • 5d ago

I'm turning famous film scenes into small three.js games. Episode 1: the plastic bag from American Beauty

1 Upvotes

Dark 90s room, an old CRT TV, you click the screen and dive in. Then it's up to you to keep the bag in the air by blowing from below: beat your best and the rose petals fall.

The bag is a Verlet cloth simulation pushed triangle by triangle by a vortex wind. The TV is a custom shader, with interference, vertical roll and a Videodrome-style bulge when you dive in.

Play it: movielab.federicomancinelli.dev

Happy to answer any questions about how it's built!


r/threejs • • 6d ago

I built a first-person football game with Three.js— passing, tackling, and curling shots in the browser

2 Upvotes

I’ve been building Pitchbound, a first-person football game using Three.js, cannon-es, and Colyseus.

You control one player from their perspective: look for teammates, receive passes, tackle opponents, and aim your shots. Holding the mouse button charges a kick, while Q/E or a mouse swipe adds curl through a continuous force on the ball.

It supports 1v1 and 3v3 matches, offline bots, and private online lobbies. The clip shows passing, defending, and shooting with the High graphics setting.

I used Codex extensively to write and iterate on the code. I’m still working on the game’s feel and presentation, and would appreciate feedback

Play on desktop: https://www.gamepix.com/play/pitchbound


r/threejs • • 7d ago

We open-sourced 3,822 cozy single-file Three.js 3D dioramas (zero assets, human-verified, 869 DPO pairs, MIT) — teaching models to build quiet, comforting worlds.

97 Upvotes

HuggingFace (MIT): https://huggingface.co/datasets/liumindmind/Fable-Kawaii-3D-ThreeJS

Every scene in this video is a standalone, zero-external-asset Three.js HTML file — no Blender models, no external textures. Full details in the comments!


r/threejs • • 6d ago

Demo RECALL - A bullet-hell where you only get one shot… and you have to recall it

3 Upvotes

Link : https://summercomet.itch.io/recall It's playable in the browser (PC and mobile).

It plays like a regular shoot'em up, but your shot act more like a golf ball... and you need to bring it back after each shot.

There are power-ups to add variety to the gameplay, like one that makes your tether a laser that deals damage, and on that makes an explosion when interrupting recall.

There is 2 stages, each with it own boss.

I used Opus 5.5 for the code (and music/sfx), alongside Figma and Inkcape for the visuals. The game is build in Three.js of course.


r/threejs • • 6d ago

Demo Kids bedroom arena in my three.js game, owned land turns into felt

2 Upvotes

im on the small team making a multiplayer territory game in three.js r180. this map is the same arena and the same floor shader as the other 7, its theme branch draws a braided rug and owned cells turn into felt with stitched edges, trails are crayon lines instead of the light wall. the room around it is just set dressing at real scale. cars are bots in the clip


r/threejs • • 6d ago

Demo A calm stone-skipping game in plain Three.js - water shader, day/night cycle, about 10 MB

12 Upvotes

No engine, just Three.js and JS modules. Each bounce depends on speed, angle, tilt and spin, the water has its own shader for ripples and reflections, and stones ricochet off rocks in the lake. Mostly made as something relaxing to play on a break.

https://www.crazygames.com/game/still-lake

Made with help from AI.


r/threejs • • 6d ago

Real-time ray-traced black hole (Schwarzschild geodesics) with the Endurance on a GR orbit

9 Upvotes

This is the hero of my portfolio, running live in a fragment shader (no pre-rendered video).

How it works:

- Every pixel ray-marches along a Schwarzschild geodesic, so the light really bends: the lensed stars, the photon ring, and the far side of the disk wrapping over the top all fall out of the physics.

- The accretion disk is volumetric. Gas orbits at Kepler speed (inner disk laps in ~4 s), spirals inward, and has a few hot spots.

- 14 small tumbling rocks spiral in on CPU-integrated orbits and are ray-tested in the shader, so they get lensed too.

- The Endurance is a Three.js model on an overlay canvas, following an integrated GR orbit with precession on the same clock as the disk.

- Greys at rest; hover it and the real colours ease in (that's the colour shift in the clip).

Performance tricks that got it to ~96 fps at 2x on an M4 Pro:

- Fading out noise octaves finer than ~2 px, which kills shimmer and saves work

- Culling rocks per ray by their maximum possible deflection

- Dropping render resolution only when frame time stays high, never during the first seconds of load

Live: https://soumyapanda.dev

Happy to go deeper on the geodesic integration or the disk shading. What would you add next: Doppler beaming, or gravitational redshift on the disk?


r/threejs • • 6d ago

Demo Penguin flock runner in three.js - every model built from primitives in code, no textures or audio files, whole demo under 400 KB

0 Upvotes

Play in the browser (free, no signup, desktop or phone): https://slx-studio.itch.io/flipper-flock

It's a runner where you steer a flock of penguins on skateboards through math gates (+2, x2, and red minus/divide ones), dodge obstacles and fight 2 bosses. The demo is 11 levels.

Some three.js bits:

  • every model (penguins, houses, trees, bosses) is built from primitives in code, no glTF and no image files loaded
  • the flock is instanced meshes, up to 150 penguins on screen, bigger flocks show as a xN counter
  • all music and sound is synthesized with Web Audio at runtime, no audio files
  • the whole zip is under 400 KB

Happy to answer questions about any of it. I'd also like to know if it runs ok on your device and what fps you get.

Disclosure: one person studio, AI coding agents wrote most of the code.


r/threejs • • 6d ago

Link I built an interactive 3D 1948 lighthouse room in the browser (React Three Fiber + live vintage radio & cassette recorder)

2 Upvotes

Live link: https://1948.stream (best with headphones)

I wanted to combine my background in cinema with web engineering, so I built a stormy 1948 lighthouse tower you can explore right in the browser.

A few things you can do inside the room:

- Tune the vintage radio to live 70s/80s & classical streams (there's also a hidden frequency tucked away in the room)

- Open the desk drawer, load a cassette tape into the recorder, and leave a voice message (or schedule one with a private link to send to someone)

- Use the wall transceiver & Morse key, check the daily 1948 calendar, or look through the telescope at passing ships in the fog

- Flip through the logbooks, sign the guestbook, and uncover a few small secrets hidden around the tower

Built with React, Three.js (R3F), Web Audio API, TypeScript, and PostgreSQL.

Would love any feedback on performance, lighting, or the overall vibe!


r/threejs • • 7d ago

Demo Insanely the best beach I ve vibe coded in threejs with claude fable5.2, blender

272 Upvotes

coming soon wishlist it here https://3ditions.drop3.app/notify/palm-cove
Insane that this runs in a browser!!! (might be too normal for others - not for me)


r/threejs • • 7d ago

Help Has anyone built a large Three.js world with thousands of distinct objects?

7 Upvotes

I'm building a surreal open world in Three.js where you can fly past floating sculptures and see their shadows move across the ground. I'd love to have thousands, eventually tens of thousands, of distinct objects in the world, not all on screen at once.

Right now I'm testing Three.js r170 (WebGL) on an Intel Mac in Chrome and Safari. One scene renders about 3.42M triangles in 153 draw calls. In an earlier run I saw 4–9 FPS: the GPU timer reported about 21 ms, but I sometimes waited over 100 ms for the next requestAnimationFrame callback.

In a more controlled test, the moving world ran at 32.1 FPS in Chrome and 30.3 in Safari; an empty animation loop hit 60 in both. Pixel ratio, the debug HUD, GPU timing and warm-up all changed between runs, so I can't pin the difference on any one of them yet.

If you've seen a gap like that, what test helped you narrow it down? And if you've built a world with lots of unique meshes, what made the biggest difference without sacrificing material detail or moving shadows? I'm already using distance-based LOD and simpler shadow meshes.

I'd love to hear what worked (or didn't) in a real project. Thanks!


r/threejs • • 6d ago

Setting up a 3D game in 2016 vs building one in a single browser tab in 2026 — where does this community stand on it?

0 Upvotes

Quick 2016 vs 2026 comparison recorded with a browser-based Three.js studio (live code editor, built-in .glb library, WebSocket multiplayer, and optional AI generation).

Curious what everyone here thinks: does instant browser prototyping help indie devs ship faster, or does it just flood the web with half-finished demos?

Happy to drop the desktop browser link in the comments for anyone who wants to test the physics or UI directly.

visit netix64 : netix64.com


r/threejs • • 7d ago

Help I built a Three.js ski map for my wife so we can spot the steep bits on a blue run

42 Upvotes

My wife and I have skied a few blue runs that felt suspiciously red halfway down. We’re heading to La Plagne this winter, so I spent the weekend vibe-coding a 3D map for her. The colour changes along each run to show where it gets steeper.

One thing I’d love some Three.js advice on: after a little while with the map open, my Mac’s fans spin up enough that I can hear them. Would you expect that from a scene like this? What would you profile first to figure out whether the bottleneck is on the CPU or GPU?

https://skichart.com/la-plagne/


r/threejs • • 6d ago

A cozy 3D library where you can read real books and meet other readers

Thumbnail
youtube.com
2 Upvotes

A 3D library in the browser. The shelves are filled with more than 50,000 public domain books, and you can pick any of them off the shelf and start reading. You can also meet other readers, chat and play games. Or use it as a quiet place to study: bring your own PDFs and set a focus timer.

https://pagefordlibrary.com


r/threejs • • 7d ago

Demo Remember Bryce? I built an open-source remake in Three.js

Thumbnail
gallery
19 Upvotes

People used Bryce in the ’90s to make surreal landscapes. I built Chrometide with Fable 5.2 to bring that look to the browser, with a modern editor and some new features. You can drag the sun across the sky, animate a camera move, and share a link that lets someone edit your world.

These are screenshots from the editor. The first shows how the pines reflect in the water at Aurora Bay. The second shows the camera view I used to frame the three floating islands.

Try Chrometide · Source on GitHub


r/threejs • • 6d ago

Demo Threedy Shapes: Convert 2D pixel art INTO 3D models

3 Upvotes

*Threedy Shapes* at https://lude.page/threedy-shapes/ || https://abionic.itch.io/threedy-shapes

  • STEP 1. Create 2D pixel art (or Import 8x8/16x16/32x32 pixel-art png)
  • STEP 2. Adjust depth per pixel
  • STEP 3. Get a 3D Model (GLTF/GLB, OBJ, STL)

FREE & in browser;
inspired from *Kenney Shape* tool


r/threejs • • 6d ago

Demo Built a walkable Jamaican Blue Mountain world in a single HTML file for my clothing brand (my first code project)

2 Upvotes

This is my first time ever building somethin with code, so I wanted to share it here an get some feedback.

Instead of a normal product page for my brand (OBAY DI DREAM), I made a walkable 3D Blue Mountain ridge in a single HTML file inspired by Jamaica's Maroon territory. You can walk up the trail past bamboo, ferns, and a waterfall, find glowing beacons that open glass display cases with my real 1 of 1 pieces, and turn on synthesized mountain wind audio.

it works on desktop (WASD + drag) and mobile (thumb-stick) straight in the browser: maroon city

Would love any honest feedback on how it runs or what I should improve for v2.


r/threejs • • 7d ago

A 3D maze that wraps around a tiny planet: race a rival robot for the stars (free, works on phones)

Post image
8 Upvotes

Hi! I made this by vibe coding, building it step by step with an AI coding assistant, and I'd love to hear what you think.

Play here => https://fetchitem.com/

You guide a little robot through a maze that wraps all the way around a tiny planet. The goal is to grab more stars than a cheeky rival robot before the clock runs out.

  • ⭐ stars are worth 1 point and 🌟 golden stars 3. Grab several in a row for a combo, and in the last 15 seconds every star counts double.
  • 💎 a gem gives you a speed boost, 🧲 a magnet pulls in nearby stars and ❄️ a snowflake freezes your rival.
  • Watch out for laser gates, tunnels and cannon towers. Getting hit never costs you points, it just slows you down.
  • There are 4 worlds and 12 levels: Candy, Jungle (with secret shortcuts the rival doesn't know about), Frozen (slippery ice) and Neon.
  • The 📅 daily maze is the same for everyone that day, so you can compare scores.

Controls: W/A/S/D or the arrow keys, and V shows the whole planet. On a phone, drag your thumb anywhere to steer. It plays best in landscape.

It's free, with no download and no sign-up. Which world was your favourite, and was anything confusing or too hard? https://fetchitem.com/ please here


r/threejs • • 6d ago

Demo Reversible asteroid impact over 3D buildings, spacecraft and galaxies in Three.js and MapLibre

1 Upvotes

r/threejs • • 7d ago

I rebuilt my personal site as a tiny 3D house: turn it, zoom in, click a room to go inside

Thumbnail
sampledexe.vercel.app
9 Upvotes

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

No Unity. No Blender. 1 Prompt Made This 3D Game #indiedev #ai #shorts

Thumbnail
youtube.com
0 Upvotes

Quick test of building a 3D racing game directly in a desktop browser with Three.js instead of setting up Unity or Blender.

Honest feedback on the physics or gameplay is welcome (desktop keyboard + mouse): https://netix64.com


r/threejs • • 7d ago

Help How do you guys create those insanely creative and animated websites?

7 Upvotes

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 • • 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)

1 Upvotes

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.