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.
import { cloth } from '@dioramajs/text/ribbon'.
function cloth(list: readonly Strip[], step: number): BufferGeometryParameters
| Name | Type | Description |
|---|---|---|
list | readonly Strip[] | |
step | number |
Defined in packages/text/src/ribbon.ts.