From a5e38a707b6c453cdb9b30256f06af7770175291 Mon Sep 17 00:00:00 2001 From: Mateusz Dokowicz Date: Thu, 16 Mar 2023 21:50:27 +0100 Subject: [PATCH] calculate radius prep --- Interface/vacuum_render.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Interface/vacuum_render.py b/Interface/vacuum_render.py index d4d743a..4c305e6 100644 --- a/Interface/vacuum_render.py +++ b/Interface/vacuum_render.py @@ -21,13 +21,13 @@ def initial_draw(grid_dimensions, board_size): tile_height = grid_height / board_size x = tile_width / 2 y = tile_height / 2 - radius = 15 + radius = 20 # rendering loop while True: grid.start_draw() grid.board(board_size, board_size) (x, y) = moving_cleaner(grid_width, grid_height, tile_width, tile_height, x, y) - grid.circle(x, y, 20, color=Colors.RED) + grid.circle(x, y, color=Colors.RED) grid.end_draw() pygame.time.delay(10)