Page 1 of 1

Comet, spike, plume...

Posted: Wed Jul 06, 2005 3:36 pm
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}
}

Pluma

Posted: Thu Jul 07, 2005 12:54 pm
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...