## Calculating angles

Apr 19, 2009 at 3:25pm
## Calculating anglesHey people This is my first post on this forum. I am quite new to max/msp, but I’m getting the hang of it. I have been searching the documentation, and also been searching this forum, but I cannot seem to find what I have been looking for. Therefore I have decided to ask you guys. I am wondering if there exists an object in max/msp that makes it possible to take the reversed cosine (also sin and tan). When looking in the documentation it says nothing about it. But I need my program to calculate the angles in a triangle so if you guys could help in any ways, it would be most appreciated. Just to explain: I am able to do the following: But I want to do this: A = reversed-sin(x / dist) I hope that you understand, and that you can help me. |
|||

Apr 19, 2009 at 3:48pm
look for [asin] etc. |
|||

Apr 19, 2009 at 4:15pm
I have spottet that one, but it seems to be giving the result in radians (or something). I need degrees. |
|||

Apr 19, 2009 at 4:28pm
generally all those trigonometric functions calculate in radians.
#P window setfont “Sans Serif” 9.; |
|||

Apr 19, 2009 at 4:54pm
I did not know the expr object. It seems to do the trick. Thanks a lot. |

You must be logged in to reply to this topic.