Launchable Motion

Components / Text

Text scatter

Use it when a line should feel thrown into place: words arrive from scattered offsets, each at its own size, height and blur, and converge onto one baseline with a small overshoot.

Install

With this registry set in hyperframes.json (see the docs):

npx hyperframes add text-scatter

Use it in a composition

It fills whatever box you give it, so set the host element's size and position. Set values withdata-variable-values.

<div data-composition-id="text-scatter" data-composition-src="compositions/text-scatter.html"
     data-start="0" data-duration="2.5" data-track-index="1"
     style="position:absolute;left:0;top:0;width:1920px;height:1080px"></div>

Variables

VariableTypeDefaultWhat it changes
textstringWhat would you like to create?One line of words.
aligncenter, left, rightcenterWhere the text sits in the host.
sizenumber8Font size as percent of the host height.
spreadnumber1How far words start from rest, 0 to 2.
scaleMaxnumber2Largest starting scale of a word.
settlenumber1Scale the aligned line holds before easing to 1 (1 = no settle).
exitnone, demote, fadenonenone, demote, fade.
greycolor#9c969aColour of the demote exit.
groundcolortransparentBackground; transparent to overlay.
inkcolor#1a1418Resolved text colour.
fontfont"Instrument Serif",Georgia,serifDisplay face. Instrument Serif ships with the component.
inAtnumber0.04Seconds before the first word.
seednumber5Scatter pattern.