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