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

Wrapped interface

The letters laid out on the form.

View as Markdown
import type { Wrapped } from '@dioramajs/text/orbit'
interface Wrapped

Members

NameTypeDescription
readonly cellsFloat32Array

Per letter: arc position of the cell's left edge, its top (y up), width, height, px.

readonly copiesreadonly number[]

Copies of each row, the element's own lines first.

readonly countnumber

Letters, copies included.

readonly radiusnumber

Radius of the form, px: at least the one asked for, more when a line would not fit.

readonly rowsFloat32Array

Per letter: its row's radius as a share of the form's.

readonly spotsFloat32Array

Per letter: the cell in the atlas, left, top, width, height as shares of the atlas.

Defined in packages/text/src/orbit.ts.