Arc Tangent (ATAN) Function

I have been able to create a formula in Creator using the ATAN function (inverse of Tangent) and it seems to work just fine in Creator.

I’ve been told that the ATAN works in Creator but not on the watch itself. Does anyone have any experience to know whether ATAN expressions will work on either Tizen and/or WearOS watches?

Thanks!

1 Like

I suspect that the lack of responses is consistent with my fear that ATAN doesn’t work on the watch.
I’ve done some work on the approximation of ATAN calculations and came up with a method that is relatively simple and seems to be sufficiently accurate for watch animation purposes.
I haven’t translated the formula to the Creator yet, but the following has been tested in Excel with good results.
The b-value is fixed.
The x-value is the ratio of opposite over adjacent distances.

I’ll test this further and post the Creator formula if I’m satisfied with the results.

(Pi/2)(bx + xx)/(1 + 2bx + xx)
b=0.596227
x=y/x ratio