code: def create_ellipse(width,height,angle):
      
      angle = angle / 180.0 * np.pi
      thetas = np.linspace(0,2*np.pi,200)
      a = width / 2.0
      b = height / 2.0
  
      x = a*np.cos(thetas)*np.cos(angle) - b*np.sin(thetas)*np.sin(angle)
      y = a*np.cos(thetas)*np.sin(angle) + b*np.sin(thetas)*np.cos(angle)
      z = np.zeros(thetas.shape)
      return np.vstack((x,y,z)).T
docs: Create parametric ellipse from 200 points.