Phi

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
JellyFish
DevNet Resident
Posts: 1361
Joined: Tue Feb 14, 2006 7:18 pm
Location: San Diego, CA

Phi

Post by JellyFish »

How could I get the value of Phi (golden ration) in Javascript, like you'd get the value of pi with Math.PI? Is it possible or is Phi to complex of a number?
User avatar
Todd_Z
Forum Regular
Posts: 708
Joined: Thu Nov 25, 2004 9:53 pm
Location: U Michigan

Post by Todd_Z »

(1+sqrt(5))/2

purdy simple.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post by daedalus__ »

I read that article but I have no idea what it is talking about. Is this useful for something? (besides architecture)
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

it's a visual design thing - apparently it's a pleasing shape to look at.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

The ratio falls into a category of things that please the majority of people to see. It's in "beautiful" faces and many other naturally occurring things like often in spirals.

I remember watching a program some time ago that used a picture of Elizabeth Hurley, Tom Cruise (I think) and a few other celebrities whom are considering quite stunning. They all lined up for the ratio in several standardized physical measurements of their facial structures.
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

I got greek architecture, you got Elizabeth Hurley? No fair!
Post Reply