/*
Pythagoras-Baum
*/

void main() {
    back(200);
    baum(15, 150);
}

void baum(int stufe, double laenge) {
  if (stufe > 0) {
    forward(laenge);
    left(60);
    baum(stufe-1, 0.7*laenge);
    right(120);
    baum(stufe-1, 0.7*laenge);
    left(60);
    left(180);
    forward(laenge);
    left(180);
  }
}




