# Doubt in particle animation . please help

**URL:** <https://discourse.threejs.org/t/doubt-in-particle-animation-please-help/57092>\
**Category:** Questions\
**Tags:** gltf-loader, animation, particles, materials, shaders\
**Created:** [October 17, 2023, 4:39am UTC](https://discourse.threejs.org/t/doubt-in-particle-animation-please-help/57092 "2023-10-17T04:39:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![unni\_krishnan](https://avatars.discourse-cdn.com/v4/letter/u/f4b2a3/32.png) [@unni\_krishnan](https://discourse.threejs.org/u/unni_krishnan)\
**Post date:** [October 17, 2023, 4:39am UTC](https://discourse.threejs.org/t/doubt-in-particle-animation-please-help/57092/1 "2023-10-17T04:39:54Z")

</div>

i want a particle animation like in this website [Website](https://colorver.se/en/) while scrolling.  
but now i am getting some weird animation like in this video

> **[clever-hill-j7qv5f - CodeSandbox](https://codesandbox.io/s/clever-hill-j7qv5f?file=%2Fsrc%2FApp.js)**
>
> clever-hill-j7qv5f by unnikrishnan46 using gsap, loader-utils, react, react-dom, react-scripts, three, tweenjs

this is my code [Codesandbox](https://codesandbox.io/s/clever-hill-j7qv5f?file=/src/App.js)

---

<div class="post-metadata">

**Author:** ![Lawrence3DPK](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/lawrence3dpk/32/29184_2.png) [@Lawrence3DPK](https://discourse.threejs.org/u/Lawrence3DPK)\
**Post date:** [October 17, 2023, 11:45am UTC](https://discourse.threejs.org/t/doubt-in-particle-animation-please-help/57092/2 "2023-10-17T11:45:45Z")

</div>

the following looks very much incorrect…  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/4/4/44d95f23fbd90e25b7e3c26202db4cc2a17271e6.png)  
the `traverse` method iterates over all of the objects (as a depth first search afaia) in a given scene graph meaning for every mesh object in every scene you’re loading the next model and then again for every mesh object in every following scene so you’re effectively reloading everything recursively to the order of `n * model index * model parts`… try loading each model individually once and working with individual models…

---

<div class="post-metadata">

**Author:** ![unni\_krishnan](https://avatars.discourse-cdn.com/v4/letter/u/f4b2a3/32.png) [@unni\_krishnan](https://discourse.threejs.org/u/unni_krishnan)\
**Post date:** [October 17, 2023, 1:25pm UTC](https://discourse.threejs.org/t/doubt-in-particle-animation-please-help/57092/3 "2023-10-17T13:25:44Z")

</div>

is it the reason for two models while rotating the points?

---

<div class="post-metadata">

**Author:** ![Lawrence3DPK](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/lawrence3dpk/32/29184_2.png) [@Lawrence3DPK](https://discourse.threejs.org/u/Lawrence3DPK)\
**Post date:** [October 17, 2023, 1:34pm UTC](https://discourse.threejs.org/t/doubt-in-particle-animation-please-help/57092/4 "2023-10-17T13:34:33Z")

</div>

It’s almost 100% likely from what I can see…

---

<div class="post-metadata">

**Author:** ![unni\_krishnan](https://avatars.discourse-cdn.com/v4/letter/u/f4b2a3/32.png) [@unni\_krishnan](https://discourse.threejs.org/u/unni_krishnan)\
**Post date:** [October 18, 2023, 4:34am UTC](https://discourse.threejs.org/t/doubt-in-particle-animation-please-help/57092/5 "2023-10-18T04:34:20Z")

</div>

very helpful
