wind
Returns a pixmap with a wind effect.
Syntax
-
wind(pm, p, d, f)
-
pm
is a pixmap -
p
is a real number -
d
is an integer -
f
is a real number
-
Description
wind(pm, p, d, f)
returns pm
with a wind effect. p
is the probability that a pixel is “blown away”, d
the average distance a pixel moves (if at all), and f
the fade-out factor (between 0 and 1).
Examples
wind(ExampleData("Sally"), 1, 20, 1)