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 reflection of a product photo on a glossy floor below it: the picture mirrored at its base (the lowest solid row of a cutout, or the bottom edge of a photo), fading and blurring with distance, with an optional contact shadow and ripple.

View as Markdown
import { default } from '@dioramajs/media/reflection'

. It draws on the canvas below the box: the element stays DOM, the layout does not move and clicks pass through.

const default: Effect<Params>

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