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

pixelate function

A pixelate reveal on the first screen plays behind a veil; hover and scroll start sharp.

View as Markdown
import { pixelate } from '@dioramajs/media/intro'
function pixelate(element: Element): boolean

Parameters

NameTypeDescription
elementElement

Defined in packages/media/src/intro.ts.