Koch curve: Difference between revisions

Content added Content deleted
Line 996: Line 996:
background(0, 0, 255);
background(0, 0, 255);
stroke(255);
stroke(255);
translate((width-l)/2, height/2+(l/2)/sqrt(3));
translate((width-l)/2, height/1.4);
for (int i = 1; i <= 3; i++) {
for (int i = 1; i <= 3; i++) {
kcurve(0, l);
kcurve(0, l);