ColorWheel
Function
This function generates a primitive color wheel. Swank for figuring out what
the heck HSV/HLS commands like AdjustHSV
and ChromaKey are doing.
|
Parameters
|
Type
|
Defaults
|
Function
|
| width |
int
|
defaultWidth | width of the image |
| height |
int
|
defaultHeight | height of the image |
| bytes |
int
|
1 | bit depth, 1, 2, or 4 bytes/channel |
| satCenter |
float
|
0 | saturation of center area |
| satEdge |
float
|
1 | saturation of edge area |
| valCenter |
float
|
1 | value of center area |
| valEdge |
float
|
1 | value of edge area |
Synopsis
image ColorWheel( int width, int height, int bytes, float satCenter, float satEdge, float valCenter, float valEdge );
Script
image = ColorWheel( width, height, bytes,
satCenter, satEdge,
valCenter, valEdge
);
Command Line
shake -colorwheel width height bytes etc...
Examples
shake -colorwheel
shake -colorw 500 500
shake -colorw 500 500 1 1 0