Curl

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
alastair_hm
Posts: 10
Joined: Wed Jul 20, 2005 5:41 am
Contact:

Curl

Post by alastair_hm »

My second script, turned out better than I expected.

Image
startshape tree3

rule tree3
{
tree2 {}
}

rule tree2{
tree2{x 2.3 size 0.5 r 45}
tree{}
}

rule tree {
branch_right{}
branch_right{r 180}
}

rule branch_right {
branch_right{x 0.5 y 0.5 size 0.6 r -45}
branch_left{x -0.5 y 0.5 size 0.6 r 45}
blob{}
}

rule branch_left {
branch_left{x -0.5 y 0.5 size 0.6 r 45}
branch_right{x 0.5 y 0.5 size 0.6 r -45}
blob{}
}

rule blob {
CIRCLE {}
CIRCLE {x 0.5 size 0.5 b 1}
CIRCLE {x -0.5 size 0.5 b 1}
}

Post Reply