Swirl with interference

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
ism
Posts: 4
Joined: Tue Jul 12, 2005 9:20 pm
Location: New Jersey

Swirl with interference

Post by ism »

Requires 1.1 for size parameter.

Code: Select all

startshape SWIRL

rule SWIRL {
	TWIST { }
	SWIRL { s 0.85 r 22 }
}

rule TWIST {
	CIRCLE { }
	TWIST { y 0.2 s 0.99 0.999 r 0.5 b 0.008 }
	TWIST { y 1 s 0.1 r 32 }
}

robo git
Posts: 47
Joined: Sat Jul 09, 2005 11:36 pm
Location: looking for his marbles
Contact:

Post by robo git »

OH. MY. GIDDY. AUNT!

Really cool!

I've written a variation on that: A feather.

Code: Select all

startshape Feather

rule Feather {
   Twist { }
}

rule Twist {
   TwistR{}
}

rule Twist {
   TwistL{}
}

rule TwistR {
   CIRCLE { }
   TwistR { y 0.2 s 0.99 0.999 r -0.5 b 0.008 }
   TwistR { y 1 s 0.1 r -32 }
   TwistL { y 1 s 0.1 r 32 }
}

rule TwistR 0.001 {}

rule TwistL {
   CIRCLE { }
   TwistL { y 0.2 s 0.99 0.999 r 0.5 b 0.008 }
   TwistL { y 1 s 0.1 r 32 }
   TwistR { y 1 s 0.1 r -32 }
}

rule TwistL 0.001 {}


robo git
Posts: 47
Joined: Sat Jul 09, 2005 11:36 pm
Location: looking for his marbles
Contact:

Post by robo git »

Also if we change the Feather rule like this (putting back the "SWIRL" call-type functionality) we get...

Code: Select all

rule Feather {
   Twist { }
   Feather {s 0.85 r 22}
}
It gives a "Nest of feathers" look - I quite like seed "FPE"

User avatar
LaT3x
Posts: 68
Joined: Wed Jul 06, 2005 3:11 pm
Location: Madrid, Spain

Re: Swirl with interference

Post by LaT3x »

Too beautiful for a little code :shock:
ism wrote:Requires 1.1 for size parameter.

Code: Select all

startshape SWIRL

rule SWIRL {
	TWIST { }
	SWIRL { s 0.85 r 22 }
}

rule TWIST {
	CIRCLE { }
	TWIST { y 0.2 s 0.99 0.999 r 0.5 b 0.008 }
	TWIST { y 1 s 0.1 r 32 }
}

Post Reply