POV-Ray : Newsgroups : povray.binaries.images : Done before... [185kbu] : Re: Done before... [185kbu] Server Time
15 Aug 2024 16:23:09 EDT (-0400)
  Re: Done before... [185kbu]  
From: Børge Berg-Olsen
Date: 25 May 2002 04:49:36
Message: <3CEF4FB4.4B58CE6D@dod.no>
Glen Berry wrote:

> Yeah, but Benge had declared the following, and I quote:
> 
>     "#declare phi = (sqrt(5)-1)/2; // The golden ratio "
> 
> This doesn't give Phi, but it's reciprocal, just as you have said
> yourself. All the definitions of Phi that I have seen, declare it to
> be equal to about 1.618033989... You get that with this formula:
> 
>     (1+sqrt(5))/2
> 
> The formula (1-sqrt(5))/2 doesn't give the value of Phi. My point was
> valid, in that there is a typo here.

I didn't say it was the golden number, but the golden ratio - and the
ratio stays the same if you use '(1+sqrt(5))/2' or '(1-sqrt(5))/2'

That I merely named the variable phi was out of convenience than
anything else.

That said, it really makes a difference of the result if you use
'(1+sqrt(5))/2' rather than '(1+sqrt(5))/2', which may explain why I got
the funny results when trying to use the macro for I really wanted to
use it for. :-)

-- 

------------------------------------------------------------------------
  +47 90 62 71 78          DoD#2101, DoDRT#017, NIC#015, PJ#006, OGM#007
  azo### [at] dodno, Ducati M600, Clementine  Ubesudlet: Aldri eid en J&%#PS.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.