added cohesion and separation in the webgl-threejs version