generated from mwc/lab_iteration
Changed the pattern inside the tile in the draw_tile() function (tile.py) and then wrote a description for the draw_tile_grid function.
This commit is contained in:
@@ -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.)
|
||||
For each height, or row of the grid, the computer draws (width) tiles from left to right, and then returns to the left side and moves up one row to draw another row of tiles until all rows have been drawn, and then the cursor returns to the start.
|
||||
"""
|
||||
for y in range(height):
|
||||
for x in range(width):
|
||||
|
||||
Reference in New Issue
Block a user