This is originally a problem in programming, but since almost no one on Stackoverflow know how to solve this I went here instead; https://stackoverflow.com/questions/23003612/javascript-angular-velocity-by-vector-2dI want to convert X and Y velocities to angular velocity, this is the formula I am currently using to calculate the initial velocity by the x and y values and then turn it into angular velocity for my circle object:Av = Sqrt(Vx^2 + Vy^2) / RAngularvelocity = Squareroot of (Velocity x^2 + Velocity y^2) / Circle's radiusThis is how it simulates in my programming: http://jsfiddle.net/yzb9P/2/ (Click to change the balls position)Now since a square root can't be negative, this won't work when the ball is supposed to rotate anti-clockwise. So, I need a signed version of the initial velocity that also can be negative, how do I calculate that?I've heard about that the Wedge product is working for this, and I've read many articles about it too, but I still don't understand how to use it, please help!
Angular Velocity by Vector - 2D
software