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

default const

A thumbnail plays a short muted video while the pointer rests on it or its link has keyboard focus, crossfading from the image and back.

View as Markdown
import { default } from '@dioramajs/media/video-hover'

. The video loads only then. With scrub the pointer's x picks the moment instead of playing. At rest the image is the DOM and nothing is drawn.

const default: Effect<Params>

Defined in packages/media/src/video-hover.ts.