2013-08-04 22:58:13 +02:00
|
|
|
import turtle
|
|
|
|
import frattali
|
2012-12-25 22:47:25 +01:00
|
|
|
|
2013-02-15 18:49:09 +01:00
|
|
|
frattali.impostazioni()
|
2012-12-25 22:47:25 +01:00
|
|
|
|
2013-08-04 22:58:13 +02:00
|
|
|
fiocco = frattali.Koch()
|
2013-08-25 20:17:37 +02:00
|
|
|
fiocco.disegna(n=3, l=6, p=1)
|
2012-12-25 22:47:25 +01:00
|
|
|
|
2013-08-04 22:58:13 +02:00
|
|
|
controfiocco = frattali.Koch("#000")
|
|
|
|
controfiocco.disegna(n=3, l=4, p=-1)
|
2012-12-25 22:47:25 +01:00
|
|
|
|
|
|
|
turtle.mainloop()
|