I want to define an ellipse-like shape with two radii. The radius at 0 degrees is 3. The radius at 90 degrees is 2. But in order to close the loop, we have to specify some smooth transition between them.
If the transition is linear (radius at 45 degrees is 2.5), does that make it an ellipse?
EDIT: "Linear" means the radius decreases linearly from 3 to 2 as the angle increases linearly from 0 to 90 degrees. So the equation is r = 2 + t/90 for quadrant 1.
"The angle" means the angle made by the positive x axis and whatever radius we're looking at, centered at the origin. The loop I'm describing is also centered at the origin.
A common way to define an ellipse centered at origin is $$\frac{x^2}{a^2} + \frac{y^2}{b^2} = 1$$ where $a$ is the horizontal semi-minor axis, and $b$ is the vertical semi-minor axis.
You often see this written parametrically as $$\begin{cases} x(t) = a \cos(t) \\ y(t) = b \sin(t) \end{cases}$$ with $0 \le t \le 2 \pi$, but it is important to notice that $t$ is not an angle here. If we use $P = (x(t), y(t))$, $O = (0, 0)$, and $A = (1,0)$, the angle $\angle AOP$ is actually $\theta$, $$\theta = \arctan\left(\frac{y(t)}{x(t)}\right) = \arctan\left(\frac{b \sin(t)}{a \cos(t)}\right) = \arctan\left(\frac{b}{a}\tan(t)\right)$$ i.e. $\theta$ is the angle from positive $x$-axis counterclockwise to the point. Conversely, $$t = \arctan\left(\frac{a}{b}\tan(\theta)\right)$$
In the circle case, $a = b = r$, and we have $t = \theta$, so for circles, $$\begin{cases} x(\theta) = r \cos(\theta) \\ y(\theta) = r \sin(\theta) \end{cases}$$ is true.
If we assume the angle is measured counterclockwise from the positive $x$ axis as usual, then you could use $$\frac{x^2}{3^2} + \frac{y^2}{2^2} = 1 \tag{1}\label{1}$$
In general, we can also describe the same ellipse as a function of $x$, by solving equation $\eqref{1}$ for $y$: $$y(x) = \pm \frac{b}{a}\sqrt{a^2 - x^2} = \frac{2}{3}\sqrt{3^2 - x^2}$$
At 45° from origin (center of the ellipse) we have $y = x$, and the distance to the center is $$r(45°) = \sqrt{x^2 + (y(x))^2} = \sqrt{\frac{2 a^2 b^2}{a^2 + b^2}} = \sqrt{\frac{72}{13}} \approx 2.3534$$
So, if your shape has $r(45°) = 2.5$, it is not an ellipse.