Skip to content
Docs
Open Promoeyes

morph

morphsset 40× in templates and rigs

A morph on its parent, the nested form of the `morph` / `morph-*` attributes. With `to`, the element turns into another element of the same scene at `at` for `dur` seconds, no cut; `mode` picks how, and count, size, spread, seed, stagger, color and shape tune it (each mode reads only its own knobs).

morph(at=1 dur=1 mode=outline)

Attributes

atnumberWhen the morph starts, scene seconds (default 0).40×
durnumberHow long it takes, seconds (default 1.2).40×
modetextHow it hands over: particles, fold, shatter, liquid, voxels, slices, dissolve (the default with `to`), a 3D twin such as shatter3d, …40×
totextThe id of the element it becomes; that element stays hidden until the morph delivers it.40×
colorcolour #rrggbb9×
countnumber9×
spreadnumber9×
sizenumber5×
seednumber3×
staggernumber3×
shapetexte.g. toruscylinder2×

Where it goes