Ellipse Builder

Use sliders to adjust semi-major axis a (horizontal) and semi-minor axis b (vertical). The app draws the ellipse centred at the origin, marks the foci, computes c = √(a² − b²) and displays eccentricity e = c ⁄ a.

c (focus distance): 4

Eccentricity e: 0.80