@dioramajs/text/video-text
Exports of @dioramajs/text/video-text.
import { default, framed } from '@dioramajs/text/video-text'Functions
framed | object-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
default | The 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. |