control animation speed in 3d visualization