changing particles functions to SphereGeometry and added this elements in a array