tile - Split a rectangle into n panes

max_tile_size Determine the maximum sized tile possible.

Split a rectangle into n panes.

bumps.dream.tile.max_tile_size(tile_count, rect_size)[source]

Determine the maximum sized tile possible.

Keyword arguments: tile_count – Number of tiles to fit rect_size – 2-tuple of rectangle size as (width, height)