# Smoke Effect - InstancedMesh2

**URL:** <https://discourse.threejs.org/t/smoke-effect-instancedmesh2/80341>\
**Category:** Showcase\
**Tags:** instanced-mesh, particles\
**Created:** [March 29, 2025, 3:50pm UTC](https://discourse.threejs.org/t/smoke-effect-instancedmesh2/80341 "2025-03-29T15:50:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![agargaro](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/agargaro/32/35529_2.png) [@agargaro](https://discourse.threejs.org/u/agargaro)\
**Post date:** [March 29, 2025, 3:50pm UTC](https://discourse.threejs.org/t/smoke-effect-instancedmesh2/80341/1 "2025-03-29T15:50:12Z")

</div>

Hi!

I used my [InstancedMesh2](https://discourse.threejs.org/t/three-ez-instancedmesh2-enhanced-instancedmesh-with-frustum-culling-fast-raycasting-bvh-sorting-visibility-management-lod-skinning-and-more/69344) library to create a simple smoke effect.  
It was easy using the API to set opacity/add/remove instances 🚀

I hope the code is clear and easy to read ❤

Demo: [Welcome to InstancedMesh2 Doc | InstancedMesh2](https://agargaro.github.io/instanced-mesh/)

Code: [instanced-mesh/docs/src/components/Intro/smoke.ts at 3350c0e1aab956a7eaaf5cca34f249f13c8daada · agargaro/instanced-mesh · GitHub](https://github.com/agargaro/instanced-mesh/blob/3350c0e1aab956a7eaaf5cca34f249f13c8daada/docs/src/components/Intro/smoke.ts)

Glitch to play with particles settings: [Glitch :･ﾟ✧](https://glitch.com/edit/#!/three-ez-instanced-mesh-spaceship)

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/b/1/b19a0d3eb39e5015531dfcd25e46bb5232f6f2a6.jpeg)
