Curve working with formula for generic angles