Squares and Circles

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
signal
Posts: 5
Joined: Thu Jul 07, 2005 7:37 pm

Squares and Circles

Post by signal »

One of my first tries. Slightly supremacist, I think.

Code: Select all

startshape SQUARES

rule SQUARES {
SQUARE {b 0.8 x 0.1}
SQUARE{b 0 s 1}
SQUARE{b 1 s 0.9}
SQUARES {s 1  y 0.9 r 0}
}
rule SQUARES 0.3 {
SQUARES {s 0.5 x 1 r 90}
SQUARESORHALT {}
}

rule SQUARES 0.1 {
SQUARES {s 0.5 x 1 r 45}
SQUARESORHALT {}
}
rule SQUARES 0.1 {
SQUARES {s 0.9 x 1 r -90}
SQUARESORHALT {}
}

rule SQUARESORHALT  {
SQUARES{}
}
rule SQUARESORHALT 0.9 {
CIRCLE {b 0.8 x 0.1}
CIRCLE {b 0 s 1 r 90}

}
[/img]

User avatar
aaronstj
Posts: 66
Joined: Wed Jul 06, 2005 11:34 am
Location: Seattle

Post by aaronstj »

Very cool. Another abstract art generator. These are proving to be much more popular than the organic fractals, it looks like.

Post Reply