createParticles

fun createParticles(size: Double, density: Int, radius: Int, world: World)

Creates particles in the supplied world.

Parameters

size

The size of the particles.

density

The density of the particles.

radius

The distance away from the epicenter the particles are placed.

world

The world the particles are created in.