`I need rotate arrow with Jquery-rotate, but i dont know cursor's angle :( I try calculate it, but script not work.  I want result like this http://www.lonhosford.com/content/html5/canvas/rotate_to_mouse.html  <script type="text/javascript&...`
`I currently have a function which detects the direction of the mouse enter. It returns an integer (0-3) for each section as illustrated below.    I'm trying to figure out how to alter this function to produce an output based on this illustration:...`
`I want to get a simple solution to calculate the angle of a line (like a pointer of a clock).  I have 2 points:  cX, cY - the center of the line. eX, eY - the end of the line.  The result is angle (0 <= a < 360).   Which function is able to pro...`
`I would like to get an angle in terms of 360 degrees... for my game, I need to know which direction the player is heading in...     The code here gets the proper angles, but only in terms of 90 degree increments: (meaning, when I click in upper left...`
`I have rendered the svg circle using start and endAngle. It was worked fine. But when i render the complete circle(startAngle as 70 and endAngle as 70) the output is huge different(except the 0, 90, 180, 270). what i made wrongly for this code?...`
`Simple javascript angle question:  Which direction do angles go in in javascript?  Is it:     90 180    0    270   or     270 180    0    90   or something else?  I'm aware that javascript uses radians, I used degrees for illustraion....`
`I'm using a Reach RS+ device to capture GPS position data as well as IMU data (roll, pitch and yaw); see the "Point Collection" image on the manufacturer's website. I'm trying to determine the GPS coordinates of the bottom point (...`
`In javascript, I am trying to draw a line that is at an angle that is user defined.  Basically, I have a point (x,y) and an angle to create the next point at. The length of the line need to be 10px.   Let's say that the point to start with is (18...`
`I'm kinda confused with this one.  I have an object and I know it's velocities on axis x and y. My problem is how to determine the angle at which it's moving.  function Object(){     this.velocity = {x: 5, y:1}; }   Basically I Know that...`
`I have a JavaScript function which allows me to generate DOM elements and plot them on a circle with (good enough) even distribution around the circle.  The code is as follows (I'm using jQuery):  function createFields(numberOfItems, className, r...`