Randomize
Function
This is randomizes the position of each pixel within a certain distance. If
you want to randomize the color, create a Rand
element, and IMult it by your
image.
Parameters
|
Type
|
Defaults
|
Function
|
oversampling |
int
|
1 | The actual number of samples per pixel equals this number squared. For better antialiasing, increase the number. |
seed |
float
|
time | The random seed |
x,yAmplitude |
float
|
0, 0 | The amount of randomization in pixel distance |
x,yOffset |
float
|
0, 0 | An offset to the random pattern. |
Synopsis
image Randomize( image, int oversampling, float seed, float xAmplitude, float yAmplitude, float xOffset, float yOffset );
Script
image = Randomize( oversampling, seed, xAmplitude, yAmplitude, xOffset, yOffset );
Command Line
shake -randomize oversampling seed xAmplitude etc...