HTML5 Canvas: Calculating a x,y point when rotated?

I developing a HTML5 Canvas App and it involves reading a xml file that describes the position of arrows, rectanges ...

Write a function that will plot x/y for a sine wave to be drawn by WebGL??

I'm trying to learn WebGL (and some math from codingmath). The goal today is to draw a sine wave at any start and e...

calculate orientation when rotating around circle?

I've recently run into a mild problem when trying to program a class that holds multiple sprites with SFML. I have ...

Finding the intersect location of two Rays?

I have two rays. Each ray has a start location vector (Vector3D) and a direction vector (Vector3D), but continue on ...

How to convert x,y coordinates to an angle??

Microsoft provide an excellent SVG gradient maker so IE9 can also have "CSS3" gradients (click Custom). I currently...

Inverse Cosine in Python?

Apologies if this is straight forward, but I have not found any help in the python manual or google. I am trying to ...

Approximating Sine(x) with a Taylor series in C and having a lot of problems?

I'm trying to approximate sine(x) in C using a Taylor series and Stirling's approximation for factorials but I'm ge...

How do I calculate a point on a circle’s circumference??

How can the following function be implemented in various languages? Calculate the (x,y) point on the circumference ...

Implementing Taylor Series for sine and cosine in C?

I've been following the guide my prof gave us, but I just can't find where I went wrong. I've also been going throu...

Approximating inverse trigonometric functions?

I have to implement asin, acos and atan in environment where I have only following math tools: sine cosine element...

Calculating adjacent side of triangle in java??

I am working on an application that can calculate how far a ladder has to be from the wall in this case the ladder i...

Android java: draw image of a sine waveform?

How to draw an image (of any type, png, jpg, bmp etc) of a Sine wave knowing frequency with amplitude = 1? Example:...

Inverse of Tan in python (tan-1)?

I am trying to calculate the inverse of tan in python, but it does not give me the correct value, for example, if I ...

How to find x and y coordinates on a flipped circle using javascript methods?

I am trying to find the X, Y points on a circle where 0 degrees starts at the top of the circle and moves clockwise....

How to use the PI constant in C++?

I want to use the PI constant and trigonometric functions in some C++ program. I get the trigonometric functions wit...