Launchable Motion

Components / Visual

Orb

Use it as the small living thing next to a label or in a field: a gradient sphere that fills the host, optionally defocused, whose colour moves through up to three stops on a schedule and which can pulse..

Install

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

npx hyperframes add orb

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="orb" data-composition-src="compositions/orb.html"
     data-start="0" data-duration="3" data-track-index="1"
     style="position:absolute;left:0;top:0;width:1920px;height:1080px"></div>

Variables

VariableTypeDefaultWhat it changes
colorsstring#8d5cf6|#ff5fcf|#ff6b6bPipe separated hex colours the orb moves through in order.
timesstring0.5|0.95Pipe separated seconds at which each stop after the first is reached.
highlightcolor#ffffffLight spot colour.
defocusnumber3Blur as percent of the orb size.
pulsenumber0.06Scale swing while alive, 0 for none.
enternone, grow, popgrownone, grow (scale from 0.6), pop (from 0 with overshoot).
atnumber0Seconds before the move starts.
exitnone, fadenonenone or fade in the last 0.2 s.
groundcolortransparentBackground; transparent to overlay.