phosphorMask
A faint red, green and blue phosphor stripe pattern across the child.
phosphorMask(opts: {pitch: ArgSpec}): OverlayStage
Import effects from shaders/std and use effects.blurs.phosphorMask.
pitch sets how many stripes fit across the canvas, about half of pitch; 8–128 is the usual range. Works on the three-channel color of a stack begun with rgbSplit.
Parameters
| Name | Type | Notes |
|---|---|---|
opts | {pitch: ArgSpec} |
Example
phosphorMask({pitch: p('pixelSize')})
See also
scanlines— Horizontal scanlines darkening the child in a smooth wave.rgbSplit— The child with its red and blue pulled a little to either side, like a misaligned CRT.