Change the length of the x and y axis to change the ellipse with the sliders Change the rotation of the ellipse with the other slider
Finds the focal points of an ellipse by measuring half the major axis from the minor axis, where it crosses the major axis are the focal points. Checks if a this distance from a point to both focal points is less than the major axis. If it is then it is within the ellipse and colours it in orange