RandomScanlineRotation
Returns a pixmap with each row of pixels rotated the same amount.
Syntax
-
ScanlineRotation(pm[, x[, d])]
-
pm
is a pixmap -
x
is a non-negative integer -
d
is either"h"
or"v"
-
Description
RandomScanlineRotation(pm, x, d)
returns pm
with each row (if d = "h"
) or column (if d = "v"
) of pixels rotated a random amount up to x
pixels. If omitted, d
defaults to "h"
.
Examples
RandomScanlineRotation(ExampleData("Sally"), 10)