Cesaro curve

Cesaro curve

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
lsystem CesaroCurve {
 
set symbols axiom = F;
set iterations = 6;
 
// normalize line length to have (result image will have always same size)
interpret F as DrawForward(2 ^ -(currentIteration) * 512);
interpret + as TurnLeft(85);
interpret - as TurnLeft(-85);
 
rewrite F to F + F - - F + F;
}
 
process all with SvgRenderer;