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/coverflow

Exports of @dioramajs/media/coverflow.

View as Markdown
On this page
import { cover, default, reach } from '@dioramajs/media/coverflow'

Functions

coverWhere the cover `offset` places from the middle one lies, for covers `width` px wide. `angle` in degrees, `spacing` and `depth` in widths of a cover.
reachCovers drawn on each side of the middle one in a box `width` px wide.

Constants

defaultThe images of a list as the classic cover flow: the middle cover faces the viewer and its neighbours turn away in perspective, with an optional reflection on the floor. A drag, a sideways wheel, a swipe, a click or a key brings the next one to the middle; a click on the middle one follows its link. Fires `dio:index` when a cover reaches the middle.

Interfaces

CoverPoseA cover's place for an offset from the middle: px, radians, brightness.

Types

CoverflowStyleHow the covers beside the middle one lie.