pieces function
Where the pieces of radius turn are at `progress` (0 the word leaving, flat; 1 the word coming, flat), back to front.
import { pieces } from '@dioramajs/text/rotator'. height is the element's box height. Under reduced motion the words fade.
function pieces(
style: Style,
axis: Axis,
t: number,
around: Around,
height: number,
reduced?: boolean,
perspective?: number,
): Piece[]Parameters
Defined in packages/text/src/rotator.ts.