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

Over a list of links, the picture of the item under the pointer follows it: it appears, trails with a stretch from the pointer's speed and crossfades between items.

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

. In beside it stands next to the item's text instead, in fixed at the middle of the list. Keyboard focus shows the picture beside the focused item. The list itself stays DOM.

const default: Effect<Params>

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