tiles
Produces optionally shuffled tiles from a pixmap.
Syntax
-
tiles(pm, rc, cc[, p[, s]])
-
pm
is a pixmap -
rc
andcc
are positive integers -
p
is a non-negative integer -
s
is 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)