DissolveToColorRegularly
Returns a pixmap with every n
th pixel set to a given colour.
Syntax

DissolveToColorRegularly(pm, c[, n])

pm
is a pixmap 
c
is a colour 
n
is a nonzero integer


DissolveToColorRegularly(pm, f[, n])

pm
is a pixmap 
f
is a colour function in two integer variables 
n
is a nonzero integer

Description
If n > 0
, then DissolveToColorRegularly(pm, c, n)
returns pm
with every n
th pixel set to c
(horizontally and vertically). If n < 0
, then DissolveToColorRegularly(pm, c, n)
returns pm
with all but every n
th pixel set to c
. n
defaults to 2
.
The overload with a function instead of a colour will use f(x, y)
as the colour at pixel (x, y)
.
Examples
DissolveToColorRegularly(ExampleData("rabbit"), (x, y) ↦ hsv(x + y, 1, 1), 2)