Re: Color differences
- Posted by "Kat" <gertie at visionsix.com> Oct 01, 2004
- 450 views
On 1 Oct 2004, at 15:04, Tone =8Akoda wrote: > > > posted by: Tone =8Akoda <tskoda at email.si> > > Pete Lomax wrote: > >=20 > > >did i translate this funciton correct: > >=20 > > I don't think so. Try this (all versions completely untested). > >=20 > > function geth(atom a, atom b) > > if a=0 then > > if b=0 then return 0 > > elsif b>0 then return 90 end if > > return 270 -- b<0 > > elsif b=0 then > > if a<0 then return 180 end if > > return 0 -- a>0 > > end if > > if a<0 then return 180+(arctan(b/a)*180/PI) > > elsif a>0 and b>0 then return arctan(b/a)*180/PI end if > > return 360+(arctan(b/a)*180/PI) > > end function > >=20 > > this works. i found out now that none of those colof difference functions= are > accurate enough. What functions? the original url was blank, all javascript! There was nothi= ng there, the page was blank! Are you guys really risking being trojaned for= some code that you now say is inadequate?!? Kat