#N canvas 515 27 647 743 10;
#X obj 15 16 gemhead;
#X obj 76 483 GEMglPushMatrix;
#X obj 96 462 GEMglPopMatrix;
#X floatatom 353 502 5 0 0 0 - - -;
#X obj 15 63 rotateXYZ 0 0 90;
#X floatatom 201 508 5 0 0 0 - - -;
#X floatatom 201 486 5 0 0 0 - - -;
#X obj 262 35 gemhead;
#X obj 262 61 world_light;
#X obj 15 607 translateXYZ 0.05 0 0;
#X obj 15 140 route F;
#X text 271 163 <- rule 1;
#X obj 15 187 route F;
#X msg 15 211 F \, [ \, - \, F \, F \, ] \, F \, [ \, + \, F \, ] \,
F;
#X obj 15 235 route F;
#X text 272 209 <- rule 2;
#X text 271 257 <- rule 3;
#X msg 359 38 create \, 1 \, lighting 1;
#X obj 359 61 gemwin;
#X msg 15 110 F;
#X obj 15 85 t b a;
#X obj 15 558 translateXYZ 0.05 0 0;
#X obj 15 583 rectangle 0.1 0.01;
#X obj 15 41 translateXYZ 0 -3 0;
#X obj 35 530 rotateXYZ 0 0 50;
#X obj 54 506 rotateXYZ 0 0 -40;
#X obj 353 521 / 100;
#X msg 353 479 10;
#X obj 353 456 loadbang;
#X text 243 485 <- try this;
#X text 125 310 <- create the primitive according to the Lsystem;
#X text 270 276 These rules create an Lsystem;
#X text 152 381 <- Store the current state sent by [gemhead] and distribute
it to the corresponding primitives;
#X text 397 502 <- size of the system;
#X msg 15 164 F \, [ \, - \, F \, ] \, F \, [ \, + \, F \, ] \, F;
#X text 12 640 This is a basic implementation of Lindenmayer System
(LSystem) in GEM. Wikipedia is a good place for informations about
Lsystems;
#X obj 15 351 gemlist;
#X obj 47 110 s \$0-gemlist;
#X obj 35 372 gemlist;
#X obj 54 395 gemlist;
#X obj 76 417 gemlist;
#X obj 96 438 gemlist;
#X obj 142 330 r \$0-gemlist;
#X obj 15 309 route F + - [ ];
#X msg 15 259 F \, [ \, - \, F \, F \, ] \, F \, [ \, + \, F \, ] \,
F;
#X connect 0 0 23 0;
#X connect 3 0 26 0;
#X connect 4 0 20 0;
#X connect 5 0 24 3;
#X connect 6 0 25 3;
#X connect 7 0 8 0;
#X connect 10 0 34 0;
#X connect 10 1 12 0;
#X connect 12 0 13 0;
#X connect 12 1 14 0;
#X connect 13 0 14 0;
#X connect 14 0 44 0;
#X connect 14 1 43 0;
#X connect 17 0 18 0;
#X connect 19 0 10 0;
#X connect 20 0 19 0;
#X connect 20 1 37 0;
#X connect 21 0 22 0;
#X connect 22 0 9 0;
#X connect 23 0 4 0;
#X connect 26 0 9 1;
#X connect 26 0 21 1;
#X connect 26 0 22 1;
#X connect 27 0 3 0;
#X connect 28 0 27 0;
#X connect 34 0 12 0;
#X connect 36 0 21 0;
#X connect 38 0 24 0;
#X connect 39 0 25 0;
#X connect 40 0 1 0;
#X connect 41 0 2 0;
#X connect 42 0 36 1;
#X connect 42 0 38 1;
#X connect 42 0 39 1;
#X connect 42 0 40 1;
#X connect 42 0 41 1;
#X connect 43 0 36 0;
#X connect 43 1 38 0;
#X connect 43 2 39 0;
#X connect 43 3 40 0;
#X connect 43 4 41 0;
#X connect 44 0 43 0;
