Ai pessoal, eu achei muito 10 esse lance de L-System, dá para fazer coisas muito legais pelo visto.
Mas escrever a expressão não é muito fácil no começo.
Eu encontrei um pouco de informação nos arquivos que vem com o plug-in, mas queria saber se alguém sabe mais.
Vou colar aqui as informações que encontrei nos arquivos e o link para um site com mais informações.
Se alguém puder ajudar, eu já agradeço antecipadamente.
Drawing commands when {} structure command is active
F move forward and draw full length record vertex
F(x) move x forward and draw record vertex
Z move forward and draw half length record vertex
Z(x) move x forward and draw record vertex
Note: F = F(100) = Z(100)
Z = F(50) = Z(50)
Movement commands when {} structure command is active
f move forward with full length record vertex
f(x) record vertex move x forward
z move forward with half length record vertex
z(x) move x forward record vertex
g move forward with full length don't record vertex
g(x) move x forward don't record vertex
. don't move record vertex
Orientation commands
+ turn left (counter clockwise) around the turtle's local X vector
+(x) turn x degrees left (counter clockwise) around the turtle's local X vector
- turn right (clockwise) around the turtle's local X vector
-(x) turn x degrees right (clockwise) around the turtle's local X vector
& pitch right (clockwise) around the turtle's local Y vector
&(x) pitch x degrees right (clockwise) around the turtle's local Y vector
^ pitch left (counter clockwise) around the turtle's local Y vector
^(x) pitch x degrees left (counter clockwise) around the turtle's local Y vector
< roll left (counter clockwise) around the turtle's forward (Z) vector
<(x) roll x degrees left (counter clockwise) around the turtle's forward (Z) vector
> roll right (clockwise) around the turtle's forward (Z) vector
>(x) roll x degrees right (clockwise) around the turtle's forward (Z) vector
Special Orientation commands
| turn 180 degrees around X vector - ie. turn around and face backwards.
% roll 180 degrees around the turtle's forward (Z) vector
$ roll until horizontal - (not sure this works properly)
~ turn/pitch/roll in a random direction
~(x) turn/pitch/roll in a random direction with a maximum of x degrees
t correction for gravity with 0.2
t(x) correction for gravity with x
Structure commands
[ push current state (size, position, alignment) of the turtle onto the stack
] pop current state (size, position, alignment) of the turtle off of the stack
{ begin polygon drawing mode. Draws one face at a time.
} end polygon drawing mode.
Size/Angle/Thickness commands
" increment the turtle's current size (length) with 1.1
' decrement the turtle's current size (length) with 0.9
"(x) multiply the turtle's current size (length) with x (same as '(x))
; increment the turtle's current default rotation angle with 1.1
: decrement the turtle's current default rotation angle with 0.9
:(x) multiply the turtle's current default rotation angle with x (same as ;(x))
? increment the turtle's current thickness with 1.4
! decrement the turtle's current thickness with 0.7
?(x) multiply the turtle's current thickness with x (same as !(x))
Additional commands
c increment material id (color index)
c(x) set material id to x
@ end of object description
Neste site tem um tutorial: http://www.xs4all.nl/~cvdmark/tutor.html
Valeu galera!!