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:
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.
4L4
(403) 781-4948
> -Original Message-
> From: Michael Geier [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 31, 2002 9:18 AM
> To: Php-General
> Subject: [PHP] gd project question
>
>
> I have the following issue:
>
> I am making a "gas guage
I have the following issue:
I am making a "gas guage" based on a percentage.
ie.
- a 180 degree arc is created
- the range will be 0 to n (undetermined ammount)
- there will be x number of entries
- the needle will
4 matches
Mail list logo