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

Placed interface

A phrase in 3D: a flat card around `centre`, along `ax` (reading direction) and `ay` (up).

View as Markdown
import type { Placed } from '@dioramajs/text/tunnel'
interface Placed

Members

NameTypeDescription
readonly axVec3
readonly ayVec3
readonly blurnumber

Blur on screen, px.

readonly centreVec3

Box-centre px, y up, z towards the viewer: 0 is the page.

readonly opacitynumber

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