Diorama

Made for a big screen.

This site is one 3D scene, built for a computer: a wide window and a mouse. Open dioramajs.dev on a desktop or a laptop to see it.This site is one 3D scene, built for a wide window. Make this one wider, or open dioramajs.dev on a larger screen.

GitHub

DioramaDocs

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.

View as Markdown
import { flashes } from '@dioramajs/text/text-glitch'

.

function flashes(): (alpha: number, now: number) => number

Defined in packages/text/src/text-glitch.ts.