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 soft light follows the pointer over a grid of cards and lights their borders, and in the fill modes their surfaces, wherever it is near: across the gaps onto the neighboring cards.

View as Markdown
import { default } from '@dioramajs/blocks/glow'

. The cards stay DOM; the light draws over them.

const default: Effect<Params>

Defined in packages/blocks/src/glow.ts.