# \#instancing

**URL:** https://discourse.threejs.org/tag/instancing/92.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [AFK City: a city that builds itself while you watch (three.js r186, runs on phones)](https://discourse.threejs.org/t/afk-city-a-city-that-builds-itself-while-you-watch-three-js-r186-runs-on-phones/96910)

<div class="topic-metadata">

**Author:** [@Kushal\_Chudiwala](https://discourse.threejs.org/u/Kushal_Chudiwala)\
**Replies:** 10\
**Last updated:** [November 14, 2026, 3:50pm UTC](https://discourse.threejs.org/t/afk-city-a-city-that-builds-itself-while-you-watch-three-js-r186-runs-on-phones/96910 "2026-11-14T15:50:33Z")

</div>

Hi all! I made AFK City, a free browser game where a city builds itself. Sit back and watch towers rise, traffic flow and day turn to night, or take over and zone it yourself. Play (free, desktop and mobile, no download…

---

## [A portfolio you walk through](https://discourse.threejs.org/t/a-portfolio-you-walk-through/96904)

<div class="topic-metadata">

**Author:** [@Robert\_18](https://discourse.threejs.org/u/Robert_18)\
**Replies:** 0\
**Last updated:** [November 9, 2026, 6:32pm UTC](https://discourse.threejs.org/t/a-portfolio-you-walk-through/96904 "2026-11-09T18:32:52Z")

</div>

I rebuilt my portfolio and it walks you through a forest. Live @ robertriopel.ca Made with three.js r187, no framework. No texture files - Every tree, root, lantern and creature is drawn with Canvas 2D at load time. E…

---

## [Cinderwake – a survivors-style ARPG in the browser (three.js WebGPU + TSL)](https://discourse.threejs.org/t/cinderwake-a-survivors-style-arpg-in-the-browser-three-js-webgpu-tsl/96133)

<div class="topic-metadata">

**Author:** [@buzzdead](https://discourse.threejs.org/u/buzzdead)\
**Replies:** 0\
**Last updated:** [October 30, 2026, 7:34am UTC](https://discourse.threejs.org/t/cinderwake-a-survivors-style-arpg-in-the-browser-three-js-webgpu-tsl/96133 "2026-10-30T07:34:03Z")

</div>

Hi everyone! I’ve been building Cinderwake, a survivors-style action RPG in the browser. You play a fire mage whose spells cast on their own while you steer her through an ever-growing horde. Level up, draft skills, fin…

---

## [Open GPU Benchmarker: a browser GPU benchmark where the entire city is generated in code](https://discourse.threejs.org/t/open-gpu-benchmarker-a-browser-gpu-benchmark-where-the-entire-city-is-generated-in-code/95919)

<div class="topic-metadata">

**Author:** [@MattyStacks](https://discourse.threejs.org/u/MattyStacks)\
**Replies:** 2\
**Last updated:** [October 29, 2026, 4:18am UTC](https://discourse.threejs.org/t/open-gpu-benchmarker-a-browser-gpu-benchmark-where-the-entire-city-is-generated-in-code/95919 "2026-10-29T04:18:30Z")

</div>

:play\_button: Run it: https://opengpubenchmarker.com Open GPU Benchmarker is a free graphics card benchmark that runs entirely in your browser, like 3DMark or Unigine Heaven but with nothing to install. It’s built on …

---

## [AAA GTAV style car game](https://discourse.threejs.org/t/aaa-gtav-style-car-game/95962)

<div class="topic-metadata">

**Author:** [@VXZYSRR](https://discourse.threejs.org/u/VXZYSRR)\
**Replies:** 0\
**Last updated:** [October 27, 2026, 5:41am UTC](https://discourse.threejs.org/t/aaa-gtav-style-car-game/95962 "2026-10-27T05:41:24Z")

</div>

Hi all, I’m building a realistic driving game in three.js (6-DOF vehicle physics with slip-based tyres, runs from index.html with classic scripts). I have big plans for this once i can get the physics and visuals righ…

---

## [Boom Bloom! – a firework chain-reaction game in three.js (analytic GPU sparks, 100% procedural, mobile)](https://discourse.threejs.org/t/boom-bloom-a-firework-chain-reaction-game-in-three-js-analytic-gpu-sparks-100-procedural-mobile/95840)

<div class="topic-metadata">

**Author:** [@glowbit.nguyen](https://discourse.threejs.org/u/glowbit.nguyen)\
**Replies:** 1\
**Last updated:** [October 24, 2026, 9:21am UTC](https://discourse.threejs.org/t/boom-bloom-a-firework-chain-reaction-game-in-three-js-analytic-gpu-sparks-100-procedural-mobile/95840 "2026-10-24T09:21:01Z")

</div>

Hi everyone! I made a small fireworks puzzle game. Tap the night sky to launch a rocket. Every paper lantern its sparks touch bursts into its own firework and lights its neighbours, so one well-placed tap can set off the…

---

## [Picnic Heist! – a sneaky ant colony game in three.js (instanced ants, tilt-shift macro look, mobile)](https://discourse.threejs.org/t/picnic-heist-a-sneaky-ant-colony-game-in-three-js-instanced-ants-tilt-shift-macro-look-mobile/95805)

<div class="topic-metadata">

**Author:** [@glowbit.nguyen](https://discourse.threejs.org/u/glowbit.nguyen)\
**Replies:** 0\
**Last updated:** [October 23, 2026, 3:30pm UTC](https://discourse.threejs.org/t/picnic-heist-a-sneaky-ant-colony-game-in-three-js-instanced-ants-tilt-shift-macro-look-mobile/95805 "2026-10-23T15:30:04Z")

</div>

Hi everyone! I made a small game about a colony of tiny masked robber ants raiding a family picnic. You draw pheromone trails from the anthill to the snacks, the ants team up to carry them home (a sandwich takes 12 ants,…

---

## [Enigmista – the release website of a password-research tool (three.js + custom GLSL)](https://discourse.threejs.org/t/enigmista-the-release-website-of-a-password-research-tool-three-js-custom-glsl/95769)

<div class="topic-metadata">

**Author:** [@Delta](https://discourse.threejs.org/u/Delta)\
**Replies:** 0\
**Last updated:** [October 23, 2026, 5:18am UTC](https://discourse.threejs.org/t/enigmista-the-release-website-of-a-password-research-tool-three-js-custom-glsl/95769 "2026-10-23T05:18:37Z")

</div>

Live: samuele95.github.io/enigmista · Code (MIT): github.com/Samuele95/enigmista What Enigmista does: it generates passwords from a corpus of passwords you already have. It learns the corpus’s structure as a probabili…

---

## [Clickety Clack! – a photo-real domino chain-reaction game in three.js (custom physics, mobile)](https://discourse.threejs.org/t/clickety-clack-a-photo-real-domino-chain-reaction-game-in-three-js-custom-physics-mobile/95693)

<div class="topic-metadata">

**Author:** [@glowbit.nguyen](https://discourse.threejs.org/u/glowbit.nguyen)\
**Replies:** 0\
**Last updated:** [October 21, 2026, 9:55pm UTC](https://discourse.threejs.org/t/clickety-clack-a-photo-real-domino-chain-reaction-game-in-three-js-custom-physics-mobile/95693 "2026-10-21T21:55:37Z")

</div>

Hi everyone! I made a small domino game: draw a line of dominoes with your finger or mouse, flick the red starter, and watch the wave run through a real-looking home with a low “macro lens” camera. :play\_button: Play…

---

## [Crop Circle Crew – draw crop circles with a UFO in three.js (~200k GPU-bent stalks, mobile)](https://discourse.threejs.org/t/crop-circle-crew-draw-crop-circles-with-a-ufo-in-three-js-200k-gpu-bent-stalks-mobile/95667)

<div class="topic-metadata">

**Author:** [@glowbit.nguyen](https://discourse.threejs.org/u/glowbit.nguyen)\
**Replies:** 0\
**Last updated:** [October 21, 2026, 5:23pm UTC](https://discourse.threejs.org/t/crop-circle-crew-draw-crop-circles-with-a-ufo-in-three-js-200k-gpu-bent-stalks-mobile/95667 "2026-10-21T17:23:52Z")

</div>

Hi everyone! I made a small game where you are three tiny aliens in a flying saucer. You fly over a moonlit field and hold the tractor beam to press the crop flat, copying a glowing pattern before sunrise, without the fa…

---

## [Leaf Me Alone! – a leaf blower game with 7,200 simulated leaves (three.js, ~230 KB, mobile)](https://discourse.threejs.org/t/leaf-me-alone-a-leaf-blower-game-with-7-200-simulated-leaves-three-js-230-kb-mobile/95503)

<div class="topic-metadata">

**Author:** [@glowbit.nguyen](https://discourse.threejs.org/u/glowbit.nguyen)\
**Replies:** 7\
**Last updated:** [October 20, 2026, 5:08pm UTC](https://discourse.threejs.org/t/leaf-me-alone-a-leaf-blower-game-with-7-200-simulated-leaves-three-js-230-kb-mobile/95503 "2026-10-20T17:08:34Z")

</div>

Hi everyone! I made a small autumn game where every leaf on the lawn is simulated and you clean up the yard with a leaf blower. :play\_button: Play (free, desktop and mobile): Leaf Me Alone!: Play free online | Glowbit G…

---

## [Haunt Sweet Home! – a dollhouse ghost-haunting game in three.js (~230 KB, mobile)](https://discourse.threejs.org/t/haunt-sweet-home-a-dollhouse-ghost-haunting-game-in-three-js-230-kb-mobile/95550)

<div class="topic-metadata">

**Author:** [@glowbit.nguyen](https://discourse.threejs.org/u/glowbit.nguyen)\
**Replies:** 0\
**Last updated:** [October 19, 2026, 4:02pm UTC](https://discourse.threejs.org/t/haunt-sweet-home-a-dollhouse-ghost-haunting-game-in-three-js-230-kb-mobile/95550 "2026-10-19T16:02:50Z")

</div>

Hi everyone! Just in time for Halloween, I made a small game where you play a bedsheet ghost and scare a family out of their house before dawn. :play\_button: Play (free, desktop and mobile): Haunt Sweet Home! – Play …

---

## [RepoVerse – turning a GitHub repo into a navigable 3D city](https://discourse.threejs.org/t/repoverse-turning-a-github-repo-into-a-navigable-3d-city/93702)

<div class="topic-metadata">

**Author:** [@EmreLutfi](https://discourse.threejs.org/u/EmreLutfi)\
**Replies:** 0\
**Last updated:** [August 23, 2026, 12:29pm UTC](https://discourse.threejs.org/t/repoverse-turning-a-github-repo-into-a-navigable-3d-city/93702 "2026-08-23T12:29:02Z")

</div>

I built RepoVerse it scans any public GitHub repo and generates a navigable 3D city from it. Folders become districts, files become buildings, and git history drives how each building looks. Live: https://rep…

---

## [TSL: Buffer-based point cloud octree with a single material](https://discourse.threejs.org/t/tsl-buffer-based-point-cloud-octree-with-a-single-material/91747)

<div class="topic-metadata">

**Author:** [@HoloTheDrunk](https://discourse.threejs.org/u/HoloTheDrunk)\
**Replies:** 0\
**Last updated:** [May 20, 2026, 11:57am UTC](https://discourse.threejs.org/t/tsl-buffer-based-point-cloud-octree-with-a-single-material/91747 "2026-05-20T11:57:34Z")

</div>

Hello, I’ve been looking into using TSL in a project for a while, but after looking through the documentation and trying some things out, I’m a bit stumped on something: how would you create a material for a THREE.Sprite …

---

## [Procedural Instanced Forest - High Performance "Real" Trees](https://discourse.threejs.org/t/procedural-instanced-forest-high-performance-real-trees/88610)

<div class="topic-metadata">

**Author:** [@red-reddington](https://discourse.threejs.org/u/red-reddington)\
**Replies:** 7\
**Last updated:** [April 22, 2026, 12:00pm UTC](https://discourse.threejs.org/t/procedural-instanced-forest-high-performance-real-trees/88610 "2026-04-22T12:00:43Z")

</div>

Hey everyone! I built a GPU-friendly procedural forest system for Three.js that renders hundreds of fully 3D trees at real-time framerates. This fills a gap I noticed: there are plenty of examples showing either one bea…

---

## [High-Performance Instanced Windmills](https://discourse.threejs.org/t/high-performance-instanced-windmills/89933)

<div class="topic-metadata">

**Author:** [@red-reddington](https://discourse.threejs.org/u/red-reddington)\
**Replies:** 3\
**Last updated:** [February 20, 2026, 2:31am UTC](https://discourse.threejs.org/t/high-performance-instanced-windmills/89933 "2026-02-20T02:31:33Z")

</div>

Inspired by a classic CodePen from @prisoner849, this demo renders 1000 windmills in a single scene using instanced meshes for minimal draw calls. Each blade features twist along its length and dynamic wobble per instanc…

---

## [One Draw Call, Massive Crowd - Performance Engineering in Three.js](https://discourse.threejs.org/t/one-draw-call-massive-crowd-performance-engineering-in-three-js/89928)

<div class="topic-metadata">

**Author:** [@red-reddington](https://discourse.threejs.org/u/red-reddington)\
**Replies:** 0\
**Last updated:** [February 19, 2026, 5:33am UTC](https://discourse.threejs.org/t/one-draw-call-massive-crowd-performance-engineering-in-three-js/89928 "2026-02-19T05:33:26Z")

</div>

I’ve had this in the oven for quite a while. My goal was to build a clean, scalable high-count instanced crowd system in pure Three.js and vanilla JS. At its core, this was a performance engineering problem. Find Walter…

---

## [100K Procedural Rocks, Brutally Optimized](https://discourse.threejs.org/t/100k-procedural-rocks-brutally-optimized/89578)

<div class="topic-metadata">

**Author:** [@red-reddington](https://discourse.threejs.org/u/red-reddington)\
**Replies:** 1\
**Last updated:** [February 2, 2026, 8:58am UTC](https://discourse.threejs.org/t/100k-procedural-rocks-brutally-optimized/89578 "2026-02-02T08:58:57Z")

</div>

I searched online for procedural rocks and everything fell into two camps: low-poly stylized stuff, or gorgeous realistic shaders that would melt your GPU with a handful of instances. I needed something for a high-perfor…

---

## [instanceMatrix in TSL // webGPU in vertexNode](https://discourse.threejs.org/t/instancematrix-in-tsl-webgpu-in-vertexnode/87359)

<div class="topic-metadata">

**Author:** [@dghez](https://discourse.threejs.org/u/dghez)\
**Replies:** 7\
**Last updated:** [January 27, 2026, 2:19am UTC](https://discourse.threejs.org/t/instancematrix-in-tsl-webgpu-in-vertexnode/87359 "2026-01-27T02:19:15Z")

</div>

Hey there! I’m experimenting with TSL and instancedMesh and i’m kinda lost on how to get the instanceMatrix for each element when i replace the entire vertexNode Somehow now i’m doing const instMat = buffer(this.insta…

---

## [High-Performance Instanced Volumetric Fire for Games](https://discourse.threejs.org/t/high-performance-instanced-volumetric-fire-for-games/88112)

<div class="topic-metadata">

**Author:** [@red-reddington](https://discourse.threejs.org/u/red-reddington)\
**Replies:** 0\
**Last updated:** [November 13, 2025, 10:56pm UTC](https://discourse.threejs.org/t/high-performance-instanced-volumetric-fire-for-games/88112 "2025-11-13T22:56:12Z")

</div>

Extended Masatatsu Nakamura’s THREE.Fire (MIT) with game-focused optimizations supporting thousands of simultaneous fire instances at high framerates. Pleasant visuals strike a sensible balance between realism and perfo…

---

## [Interactive Grass with Multi-Player Physics and Wind, FPS-friendly and Suitable for Games](https://discourse.threejs.org/t/interactive-grass-with-multi-player-physics-and-wind-fps-friendly-and-suitable-for-games/87994)

<div class="topic-metadata">

**Author:** [@red-reddington](https://discourse.threejs.org/u/red-reddington)\
**Replies:** 0\
**Last updated:** [November 7, 2025, 7:45pm UTC](https://discourse.threejs.org/t/interactive-grass-with-multi-player-physics-and-wind-fps-friendly-and-suitable-for-games/87994 "2025-11-07T19:45:10Z")

</div>

Interactive Grass Field with 1.5M Instanced Blades Real-time grass simulation with 1.5 million instanced blades, procedural wind system, per-blade variation (color, height, size, bend), and dynamic player interaction wh…

---

## [Simple verlet sim of Golden Gate Bridge! (press space to flip gravity)](https://discourse.threejs.org/t/simple-verlet-sim-of-golden-gate-bridge-press-space-to-flip-gravity/85025)

<div class="topic-metadata">

**Author:** [@manthrax](https://discourse.threejs.org/u/manthrax)\
**Replies:** 6\
**Last updated:** [July 11, 2025, 8:52am UTC](https://discourse.threejs.org/t/simple-verlet-sim-of-golden-gate-bridge-press-space-to-flip-gravity/85025 "2025-07-11T08:52:28Z")

</div>

---

## [\< Our brand-new website \> ohzi.io 🧊 lots of shaders and cool effects](https://discourse.threejs.org/t/our-brand-new-website-ohzi-io-lots-of-shaders-and-cool-effects/31480)

<div class="topic-metadata">

**Author:** [@tinotibaldo](https://discourse.threejs.org/u/tinotibaldo)\
**Replies:** 16\
**Last updated:** [June 10, 2025, 3:11pm UTC](https://discourse.threejs.org/t/our-brand-new-website-ohzi-io-lots-of-shaders-and-cool-effects/31480 "2025-06-10T15:11:51Z")

</div>

Hi there, this is the link https://ohzi.io We’re about to release our new website build almost entirely with ThreeJS. We have used A LOT of different techniques when building it and paid a lot of attention to it being…

---

## [Attribute bound to several buffers possible? (or maping a buffer)](https://discourse.threejs.org/t/attribute-bound-to-several-buffers-possible-or-maping-a-buffer/83422)

<div class="topic-metadata">

**Author:** [@DarkPhoenix](https://discourse.threejs.org/u/DarkPhoenix)\
**Replies:** 4\
**Last updated:** [June 2, 2025, 7:36pm UTC](https://discourse.threejs.org/t/attribute-bound-to-several-buffers-possible-or-maping-a-buffer/83422 "2025-06-02T19:36:38Z")

</div>

Is it possible to bind one attribute to several buffers? Or map attribute to pull from a buffer at different offset. Allow me to explain my madness: const posArray = instancedArray(count, 'vec3') myInstanceMesh.insta…

---

## [Flower Power (aka 'too many parameters')](https://discourse.threejs.org/t/flower-power-aka-too-many-parameters/48211)

<div class="topic-metadata">

**Author:** [@opamama](https://discourse.threejs.org/u/opamama)\
**Replies:** 8\
**Last updated:** [May 13, 2025, 1:53pm UTC](https://discourse.threejs.org/t/flower-power-aka-too-many-parameters/48211 "2025-05-13T13:53:14Z")

</div>

Hello everyone, this started as a little flower, just to beautify my website. Then I discovered the massive performance boost of instanced geometry! Hope, you have as much fun as I have playing around… https://philip-s…

---

## [Hexahedrals Experiment](https://discourse.threejs.org/t/hexahedrals-experiment/81995)

<div class="topic-metadata">

**Author:** [@prisoner849](https://discourse.threejs.org/u/prisoner849)\
**Replies:** 7\
**Last updated:** [May 5, 2025, 8:53am UTC](https://discourse.threejs.org/t/hexahedrals-experiment/81995 "2025-05-05T08:53:59Z")

</div>

Hi community! Picture: Demo: https://codepen.io/prisoner849/full/raavxKg It’s started with the thought “I want something structural, but a bit fuzzy”. And I built this: https://codepen.io/prisoner849/full/ZYYOOgE …

---

## [Animated Instanced Skinned Meshes (GLTF)](https://discourse.threejs.org/t/animated-instanced-skinned-meshes-gltf/41958)

<div class="topic-metadata">

**Author:** [@alexpineda](https://discourse.threejs.org/u/alexpineda)\
**Replies:** 30\
**Last updated:** [January 8, 2025, 10:27am UTC](https://discourse.threejs.org/t/animated-instanced-skinned-meshes-gltf/41958 "2025-01-08T10:27:26Z")

</div>

Hi, What are the strategies for achieving this? I was thinking maybe I can modify the skinned shader chunks and replace some of those calculations with instanced buffer attributes. I’m not sure how the bone texture and…

---

## [How to instance Floor Plank in Procedural Floor component](https://discourse.threejs.org/t/how-to-instance-floor-plank-in-procedural-floor-component/76147)

<div class="topic-metadata">

**Author:** [@kalabedo](https://discourse.threejs.org/u/kalabedo)\
**Replies:** 7\
**Last updated:** [January 8, 2025, 8:27am UTC](https://discourse.threejs.org/t/how-to-instance-floor-plank-in-procedural-floor-component/76147 "2025-01-08T08:27:20Z")

</div>

Hi there, i built this procedural Floor component (https://codesandbox.io/p/sandbox/floorprocedural-j7s5n3). It works as intended, but i cannot get Instancing to work. Right now, there are too many draw calls. So i tri…

---

## [2025 - Snowflake of shards](https://discourse.threejs.org/t/2025-snowflake-of-shards/75865)

<div class="topic-metadata">

**Author:** [@prisoner849](https://discourse.threejs.org/u/prisoner849)\
**Replies:** 2\
**Last updated:** [December 31, 2024, 9:09pm UTC](https://discourse.threejs.org/t/2025-snowflake-of-shards/75865 "2024-12-31T21:09:08Z")

</div>

Hi community! Wish you all the best in 2025 :hugs: Picture: Demo: https://codepen.io/prisoner849/full/gbYgjom PS Double click to fullscreen.

---

## [Disable rendering of certain InstancedMesh and BatchedMesh instances](https://discourse.threejs.org/t/disable-rendering-of-certain-instancedmesh-and-batchedmesh-instances/75261)

<div class="topic-metadata">

**Author:** [@kikedao](https://discourse.threejs.org/u/kikedao)\
**Replies:** 2\
**Last updated:** [December 17, 2024, 2:27pm UTC](https://discourse.threejs.org/t/disable-rendering-of-certain-instancedmesh-and-batchedmesh-instances/75261 "2024-12-17T14:27:19Z")

</div>

Hi all! I have the following problem: My app renders a graph that can have many nodes/symbols. Let’s say more than 200k. To render it I use InstancedMesh and BatchedMesh (BatchedMesh for the links between symbols). Be…

[Next page](https://discourse.threejs.org/tag/instancing/92.md?match_all_tags=true&page=1&tags%5B%5D=instancing)
