Jump to content
Search Community

Urala

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Urala

  1. Urala

    Riddle me this...

    Hi guys, From following some of the great examples on the forums I've created a particle animation. I forked code from Chris' example here and updated it to use the latest GSAP and 2DPhysicsPlugin. I added a mouse move function to draw particles as you move. Overall I'm really happy with the result but I noticed something weird... When devtools (Chrome) is open the number of particles generated is far greater than when devtools is closed. It seems the createMagicDust function must be getting called more? it's hard to debug since I can't view the console when devtools is closed. It doesn't behave the same in Firefox or Safari. This behaviour can be seen on the pen I have linked, the performance struggles when devtools is open.
×
×
  • Create New...