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/text/video-text

Exports of @dioramajs/text/video-text.

View as Markdown
On this page
import { default, framed } from '@dioramajs/text/video-text'

Functions

framedobject-fit of a picture of `imageWidth` by `imageHeight` in a `width` by `height` frame as (scale u, scale v, offset u, offset v) of the frame's UV.

Constants

defaultThe letters of a headline are a window onto a video or a picture: it plays inside the glyphs, framed over the text's own bounds, and the page shows around them. The DOM text stays for screen readers, search and selection; the copy covers it only while drawn.