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/model/vinyl

Exports of @dioramajs/model/vinyl.

View as Markdown
On this page
import { default, DISC, player } from '@dioramajs/model/vinyl'

Functions

playerThe player: `for`, else the closest audio or video before the element in its parent.

Constants

defaultA record in its sleeve: the cover image is the sleeve, and on hover, in view or while a player plays, the disc slides out of it and spins.
DISCDiameter of the disc in sleeve heights: a 12 in record in a 12⅜ in sleeve.

Types