| Checker |
Function
The Checker function generates a checkerboard within the width and height
of the image. It is handy to test Warps, or to split a screen
in half. To make a specific number of tiles per row or column (for example,
4 x 4), divide the
width and the height by the number—height/4
yields 4 rows.
|
Parameters
|
Type
|
Defaults
|
Function
|
| width |
int
|
defaultHeight | width of the image |
| height |
int
|
defaultWidth | height of the image |
| bytes |
int
|
1 | bit depth, 1, 2, or 4 bytes/channel |
| xSize |
int
|
32 | x-resolution of a checker |
| ySize |
int
|
xSize | y-resolution of a checker |
Synopsis
image Checker( int width, int height, int bytes, int xSize, int ySize );
Script
image = Checker( width, height, bytes, xSize, ySize );
Command Line
shake -checker width height bytes xSize ySize
Examples
shake -checker
shake -check 300 200 1 150 100
shake -check 300 200 1 150 "Linear(0,1@1,200@20)" -t 1-20
See Also
Rand, RGrad,
Ramp, Color,
ColorWheel