scanlines
Horizontal scanlines darkening the child in a smooth wave.
scanlines(opts: {frequency: ArgSpec; intensity: ArgSpec}): OverlayStage
Import effects from shaders/std and use effects.blurs.scanlines.
frequency is the number of lines from top to bottom (100–800). intensity (0–1) is how dark the troughs get. Works on the three-channel color of a stack begun with rgbSplit.
Parameters
| Name | Type | Notes |
|---|---|---|
opts | {frequency: ArgSpec; intensity: ArgSpec} |
Example
scanlines({frequency: p('scanlineFrequency'), intensity: p('scanlineIntensity')})
See also
distortedScanlines— CRT-style scanlines that appear only where a glitch frame is currently distorting.phosphorMask— A faint red, green and blue phosphor stripe pattern across the child.vignetteOverlay— Darkens the child toward its corners.