diff --git a/tile.py b/tile.py index 697cf8e..4e1af43 100644 --- a/tile.py +++ b/tile.py @@ -4,6 +4,11 @@ def draw_tile(size): "Draws one tile, which can be repeated to form a pattern." draw_tile_outline(size) draw_squiggle(size) + draw_squiggle(size/2) + draw_squiggle(size/3) + draw_squiggle(size/4) + draw_squiggle(size/5) + draw_squiggle(size/6) def draw_tile_outline(size): pencolor("#dddddd") diff --git a/tile_grid.py b/tile_grid.py index 72a0f43..e5b56c1 100644 --- a/tile_grid.py +++ b/tile_grid.py @@ -10,7 +10,7 @@ from tile import fly def draw_tile_grid(width, height, tile_size, tile_function): """Draws a (width x height) grid, with tile_function drawn on each tile. - (Your explanation here.) + Line 15 will loop through numbers 0 to the height you give it and save it as y. Line 16 will loop through numbers 0 to the width you give it and save it as x. The rest of the function will make the tiles then go back to the starting point. Then to make more tiles it will use move_up_one_row and continue to make them until the necessary amount of tiles are made. """ for y in range(height): for x in range(width):