2023-03-12 02:07:20 +01:00
|
|
|
from grid_draw import GridDraw, Colors
|
2023-03-11 19:31:43 +01:00
|
|
|
|
2023-03-12 02:07:20 +01:00
|
|
|
grid = GridDraw(500, 500)
|
2023-03-11 19:31:43 +01:00
|
|
|
|
|
|
|
while True:
|
2023-03-12 02:07:20 +01:00
|
|
|
grid.start_draw()
|
2023-03-11 19:31:43 +01:00
|
|
|
|
2023-03-12 02:07:20 +01:00
|
|
|
grid.board(10, 10)
|
|
|
|
grid.circle(75, 75, 20, color=Colors.RED)
|
|
|
|
grid.circle(225, 175, 20, color=Colors.GREEN)
|
2023-03-11 19:31:43 +01:00
|
|
|
|
2023-03-12 02:07:20 +01:00
|
|
|
grid.end_draw()
|