All spirals are a function of the angle: r=f(θ).
double computeRadius(double angle) => a * math.exp(b * angle);