3D simulation and study of basketball shots