flashes function
Keeps the text from flashing: the returned function passes the opacity of each drawn frame at `now` seconds and holds it at 1 for a dip that would be the fourth to start within a second.
import { flashes } from '@dioramajs/text/text-glitch'.
function flashes(): (alpha: number, now: number) => numberDefined in packages/text/src/text-glitch.ts.