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

@dioramajs/media/spotlight

Exports of @dioramajs/media/spotlight.

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

Constants

defaultA flashlight over a photo: the image darkens, blurs or turns into a second picture everywhere except a soft circle at the pointer, which follows a finger while it is pressed.