01 Nov 2007

L-System with Asymptote – fig0110

Category: Asymptote,L-System

Figure 0011
(Compiled with Asymptote version 1.84svn-r4619)
    
/*Source*/
import Lsystem;
size(8cm,0);

string[][] rules={{"F","FF"},
                  {"H","+F+FH++FFH++F+FF+FH++FFH++F+F-"}};

Lsystem H=Lsystem("+H",rules, La=90);
H.iterate(5);
draw(H.paths(), white);

shipout(bbox(3mm, Fill(black)));

Étiquettes : ,