3d particle simulation library