looks like [atan2] works for me better than the expression you gave. indeed i need all 4 quarters, what the expression does not indicate.

On Sun, Feb 2, 2020 at 9:01 PM IOhannes m zmölnig <zmoelnig@iem.at> wrote:
Am 2. Februar 2020 20:52:14 MEZ schrieb "Csaba Láng" <langcsaba@gmail.com>:
>thank you gentlemen, this is what I needed. never figured out that atan
>is
>arctn.

in general, you might prefer `atan2` over `atan`, as this allows for all four quadrants.

`[expr]` has both variants.


mfg.hft.fsl
IOhannes


_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list