Comet, spike, plume...

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
LaT3x
Posts: 68
Joined: Wed Jul 06, 2005 3:11 pm
Location: Madrid, Spain

Comet, spike, plume...

Post by LaT3x »

It's so simple but... I can be used in other works :)

Code: Select all

startshape pluma

rule pluma
{
  pluma1 { }
  pluma2 { }
}

rule pluma1
{
  linea { }
  pluma1 { r 3  s 0.9}
}

rule pluma2
{
  linea { }
  pluma2 { r -3  s 0.9}
}

rule linea
{
  CIRCLE {s .3}
  linea {x 1 s 0.9 b 0.04}
}

User avatar
dogfish
Posts: 4
Joined: Sun May 29, 2005 9:21 am
Location: Reading, England

Pluma

Post by dogfish »

As a sort of adaption from your image, I created this:

Code: Select all

startshape PLANT

rule PLANT {
	SQUARE { b 0.4 }
	PLANT { y 1 }
}

rule PLANT 0.25 {
	SPLIT { }
}

rule PLANT 0.15 {
	PLUMA { r 90 y -0.5 }
}

rule SPLIT { 
	LEFT { }
	RIGHT { }
}

rule SPLIT 0.3 {
	LEFT { }
}

rule SPLIT 0.3 {
	RIGHT { }
}

rule LEFT {
	CIRCLE { b 0.4 s 1 y -0.5 }
	PLANT { r -15 }
}

rule RIGHT {
	CIRCLE { b 0.4 s 1 y -0.5 }
	PLANT { r 15 }
}

rule PLUMA {
	PLUMA1 { }
	PLUMA2 { }
}

rule PLUMA1 {
	LINEA { }
	PLUMA1 { r 3 s 0.9 }
}

rule PLUMA2 {
	LINEA { }
	PLUMA2 { r -3 s 0.9 }
}

rule LINEA {
	CIRCLE { s .3 }
	LINEA { x 1 s 0.9 b 0.04 }
}
It's a sorta plant with the plume...
—dogfish—

Post Reply