Properties:
Name | Type | Default | Description |
---|---|---|---|
average |
boolean |
false
|
|
blue |
PointData | number[] |
{x:0,y:0}
|
Blue offset. |
direction |
number |
0
|
The angle in degree of the offset of slices. |
fillMode |
number |
FILL_MODES.TRANSPARENT
|
The fill mode of the space after the offset. |
green |
PointData | number[] |
{x:0,y:0}
|
Green channel offset. |
minSize |
number |
8
|
Minimum size of slices as a portion of the |
offset |
number |
100
|
The maximum offset amount of slices. |
red |
PointData | number[] |
{x:0,y:0}
|
Red channel offset. |
sampleSize |
number |
512
|
Height of the displacement map canvas. |
seed |
number |
0
|
A seed value for randomizing glitch effect. |
slices |
number |
5
|
The count of glitch slices. |
Members
true
will divide the bands roughly based on equal amounts
where as setting to false
will vary the band sizes dramatically (more random looking).
- Default Value:
- false
Blue offset.
- Default Value:
- {x:0,y:0}
The angle in degree of the offset of slices.
- Default Value:
- 0
The fill mode of the space after the offset.
- Default Value:
- FILL_MODES.TRANSPARENT
Green channel offset.
- Default Value:
- {x:0,y:0}
Minimum size of slices as a portion of the sampleSize
- Default Value:
- 8
The maximum offset amount of slices.
- Default Value:
- 100
Red channel offset.
- Default Value:
- {x:0,y:0}
Height of the displacement map canvas.
- Default Value:
- 512
A seed value for randomizing glitch effect.
- Default Value:
- 0
The count of glitch slices.
- Default Value:
- 5