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

Before and after: two images of a container in one box, split by a line the visitor drags, hovers or scrolls, or seen through a lens.

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

. The site's range input stays the keyboard control.

const default: Effect<Params>

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