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

cloth function

A grid over each strip, `step` px apart (coarser past MAX_VERTICES): positions in box px, the strip's start x, length, centre y and half height, and its index for the phases.

View as Markdown
import { cloth } from '@dioramajs/text/ribbon'

.

function cloth(list: readonly Strip[], step: number): BufferGeometry

Parameters

NameTypeDescription
listreadonly Strip[]
stepnumber

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