Machine_learning_2023/Interface/vacuum_render.py

15 lines
317 B
Python
Raw Permalink Normal View History

2023-03-12 16:22:51 +01:00
from Interface.grid_draw import GridDraw, Colors
2023-03-11 19:31:43 +01:00
2023-03-12 16:22:51 +01:00
# dummy function
def initial_draw():
grid = GridDraw(500, 500)
2023-03-11 19:31:43 +01:00
2023-03-12 16:22:51 +01:00
while True:
grid.start_draw()
2023-03-11 19:31:43 +01:00
2023-03-12 16:22:51 +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 16:22:51 +01:00
grid.end_draw()