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

shape function

The function shape of @dioramajs/text/shatter.

View as Markdown
import { shape } from '@dioramajs/text/shatter'
function shape(pieces: Cut, style: Style): Shape

Parameters

NameTypeDescription
piecesCut
styleStyle

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