Random particle generation - 'firework' effect

Hi guys, I have emitters which work in a similar way to fireworks. They are launched, travel along for a few seconds and then explode - generating a number of particles as they do so.

Everything works, but the particles are generated in a rather obvious square pattern, and the more particles there are the more obvious this becomes.

I have been using:

--initialise a velocity particle.xVel = math.random(-value, value) particle.yVel = math.random(-value, value)

…when generating the particle. Then the update for the particle does the following:

particle.xVel = particle.xVel \* 0.98 --gradually slow down particle.x = particle.x + particle.xVel --and same for .y
Is there a simple way to reduce the square effect, or ideally make a circle effect?

Thank you in advance :slight_smile:
[import]uid: 84115 topic_id: 25788 reply_id: 325788[/import]