golden rectangle

If you have a design you're proud of, share the cfdg file here. It's also a good place to ask for feedback and collaborate.

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
User avatar
chris
Site Admin
Posts: 72
Joined: Wed May 04, 2005 10:57 am
Location: New York, NY
Contact:

golden rectangle

Post by chris »

Image

A golden rectangle can be drawn with a one line cfdg. I added a couple more lines to make it look cool:

Code: Select all

startshape seed

rule seed {
 golden_rectangle {b 0.2}
}

rule golden_rectangle {
 SQUARE {}
 circle_well {b -0.1}
 golden_rectangle {x 0.809107 y -0.190983 s 0.618039887 r 90 b 0.1}
}

rule circle_well {
 CIRCLE {}
 circle_well {b -0.01 s 0.99}
}
Current Project: I'm creative director of OKCUPID at http://www.okcupid.com

Post Reply