Lines Matching +full:fill +full:- +full:range
2 """ turtle-example-suite:
6 This program draws two fractal-curve-designs:
8 (2) A combination of Koch-curves.
10 The CurvesTurtle class and the fractal-curve-
12 scripts for turtle-graphics.
21 # p. 96-98
27 self.hilbert(size, level - 1, -parity)
31 self.hilbert(size, level - 1, parity)
34 self.hilbert(size, level - 1, parity)
38 self.hilbert(size, level - 1, -parity)
51 # if dir = -1 turn inward
56 self.rt(180 - (90 * (n - 2) / n))
57 for i in range(n):
60 self.lt(180 - (90 * (n - 2) / n))
70 self.fractal(dist / 3, depth - 1, dir)
72 self.fractal(dist / 3, depth - 1, dir)
74 self.fractal(dist / 3, depth - 1, dir)
76 self.fractal(dist / 3, depth - 1, dir)
88 ft.setpos(-33*size, -32*size)
93 ft.fill(True)
100 for i in range(3):
104 for i in range(2):
108 for i in range(4):
111 ft.fill(False)
113 res = "Hilbert: %.2fsec. " % (tb-ta)
124 ft.fill(True)
126 ft.fill(True)
128 ft.fractalgon(3, 200, 4, -1)
129 ft.fill(False)
131 res += "Koch: %.2fsec." % (tb-ta)