tiles
Produces optionally shuffled tiles from a pixmap.
Syntax
-
tiles(pm, rc, cc[, p[, s]])-
pmis a pixmap -
rcandccare positive integers -
pis a non-negative integer -
sis a boolean
-
Description
tiles(pm, rc, cc, p, s) returns the pixmap pm divided into rectangular tiles. rc and cc is the number of rows and columns, respectively. p is the padding between tiles. Iff s, the tiles are shuffled.
Examples
tiles(ExampleData("Sally"), 10, 10)
