Page 1 of 1

Swirl with interference

Posted: Tue Jul 12, 2005 9:22 pm
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 }
}

Posted: Tue Jul 12, 2005 10:06 pm
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 {}


Posted: Tue Jul 12, 2005 10:22 pm
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"

Re: Swirl with interference

Posted: Tue Jul 12, 2005 10:47 pm
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 }
}