RandomScanlineRotation
Returns a pixmap with each row of pixels rotated the same amount.
Syntax
-
ScanlineRotation(pm[, x[, d])]-
pmis a pixmap -
xis a non-negative integer -
dis 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)
