paramatized the number of particles to spawn.