I found the simplified Gielis equation, that discribes the shape of a leaf. The equation states:
$ r = \frac{l} {(|cos \frac{θ}{4}| + |sin\frac{θ}{4}|)^\frac{1}{n}}$
To get to the Cartesian coordinates you add:
$ x = cos(θ) \times r$
$ y = sin(θ) \times r$
On the web I can only find the polar, but not the parametric version of the equation. For my project I would like the parametric version, so I can add $x$ to the equation, to get $y$. So that would be:
$y = f(x)$
I have already tried Wolfram Alpha and Sympy, but it couln't manage to solve the equation.
Can someone please help me with the step by step explanation?
Ok, I used the python package Scipy Interp1d to do an interpolation of the equation. From the interpolation you can enter the x value, and Scipy will give the y value.
No rearangement of the formula needed anymore :)
EDIT: