Home About Random
w = 40
h = 40

grid = BlockGrid(w, h)

for block in grid:
    block.size = min(abs(w / 2 - block.col), abs(h / 2 - block.row))

grid.post_to_web(5)