| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
options |
object |
<optional> |
The optional parameters of CRT effect |
|
options.curvature |
number |
<optional> |
1.0 |
Bent of interlaced lines, higher value means more bend |
options.lineWidth |
number |
<optional> |
1.0 |
Width of the interlaced lines |
options.lineContrast |
number |
<optional> |
0.25 |
Contrast of interlaced lines |
options.verticalLine |
number |
<optional> |
false |
|
options.noise |
number |
<optional> |
0.3 |
Opacity/intensity of the noise effect between |
options.noiseSize |
number |
<optional> |
1.0 |
The size of the noise particles |
options.seed |
number |
<optional> |
0 |
A seed value to apply to the random noise generation |
options.vignetting |
number |
<optional> |
0.3 |
The radius of the vignette effect, smaller values produces a smaller vignette |
options.vignettingAlpha |
number |
<optional> |
1.0 |
Amount of opacity of vignette |
options.vignettingBlur |
number |
<optional> |
0.3 |
Blur intensity of the vignette |
options.time |
number |
<optional> |
0 |
For animating interlaced lines |
Extends
- PIXI.Filter
Members
Default constructor options
Bent of interlaced lines, higher value means more bend
- Default Value:
- 1
Contrast of interlaced lines
- Default Value:
- 0.25
Width of interlaced lines
- Default Value:
- 1
Opacity/intensity of the noise effect between 0 and 1
- Default Value:
- 0
The size of the noise particles
- Default Value:
- 0
A seed value to apply to the random noise generation
- Default Value:
- 0
For animating interlaced lines
- Default Value:
- 0
true for vertical lines, false for horizontal lines
- Default Value:
- false
The radius of the vignette effect, smaller values produces a smaller vignette
- Default Value:
- 0
Amount of opacity of vignette
- Default Value:
- 0
Blur intensity of the vignette
- Default Value:
- 0

