default const
Words take turns in a phrase on the faces of a real 3D shape: a cube or a drum that rolls to the next word, a split flap falling over its hinge or a strip folding into the page, lit from above and seen in perspective.
import { default } from '@dioramajs/text/rotator'. The box eases to the width of the next word; between turns the word is plain DOM text.
const default: Effect<Params>Defined in packages/text/src/rotator.ts.