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

edges function

The edges of each shard as half-planes in its own frame: unit normal out and offset.

View as Markdown
import { edges } from '@dioramajs/text/shatter'
function edges(
  c: Cut,
  rows: number,
  out?: Float32Array<ArrayBuffer>,
): Float32Array<ArrayBuffer>

Parameters

NameTypeDescription
cCut
rowsnumber
out?Float32Array<ArrayBuffer>

Default ....

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