Sunflower core

Sunflower core

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
lsystem SunflowerCore {
 
set symbols axiom = A(0);
 
set iterations = 700;
set continuousColoring = {#cccc00, 254, #007700};
 
interpret f as MoveForward;
interpret X as DrawCircle(10);
interpret + as TurnLeft(137.515);
 
rewrite A(n) to + f(n^0.5*25)X A(n+1);
}
 
process all with SvgRenderer;