made a abstract shape using tiles.py, was fun

This commit is contained in:
jfer
2026-02-12 11:11:01 -05:00
parent 69a9553023
commit f7f97c3b6d
6 changed files with 48 additions and 33 deletions

View File

@@ -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.)
(it works by drawing one version of the expected shape and then returning to its orignal starting point but also then moving up one row to draw the orignal shape in one spot above the original)
"""
for y in range(height):
for x in range(width):