RE: [PHP] gd project question

2002-05-31 Thread Miguel Cruz
On Fri, 31 May 2002, Michael Geier wrote: > my arc runs from 180 deg. to 360/0 degree, or left to right, pointing > upwards (upside down U). > i guess I am not getting my head around the numbers...is there anywhere on > the net that has a good thorough description about a process like this? http:

RE: [PHP] gd project question

2002-05-31 Thread Michael Geier
el Geier'; Php-General > Subject: RE: [PHP] gd project question > > > Good day, > > Wow, a high school math question. > > You should use asin() and acos() of the angle to get the y and x > differentials, respectively. Multiply the result by the size of > the needle.

RE: [PHP] gd project question

2002-05-31 Thread Darren Gamble
Good day, Wow, a high school math question. You should use asin() and acos() of the angle to get the y and x differentials, respectively. Multiply the result by the size of the needle. This assumes that your guage is oriented horizontally, and the needle sweeps from right to left, pointing upw