Hi there,
I am trying to repeat my triangle on 100px by 100px;
Any help is much appreciated.
Many thanks,
Ashley
def drawTrianglePatch(win, x, y, colour):
for i in range(5):
for j in range(5):
if (i + j) % 2 == 0:
triangle = i * 20
triangle = y + j * 20
triangle = Polygon((Point(100,20), Point(80,60), Point(120,20)),
Point( + 20, repeatY + 20))
triangle.setFill(colour)
triangle.draw(win)