Skip to content
animorio
IT
Back to the library

Automation flow signal

SVG, HoverGSAP, CSS onlyMediumCompressed weight: Demo 8.6 KBGSAP 28 KBFreeDownload the zip

The canvas of an invented automation builder, on a dotted near-black background: six nodes joined by thin curves, from the new order to the stock check, to an if/else branch, to the email and the sheet. Pressing Run sends a signal of light along the wires, every node it reaches lights up with its check and its time in milliseconds, and the branch not taken stays off. Hovering a node makes its handles grow and pulls its wires taut.

The code

A folder that runs on its own: index.html, style.css, script.js and the libraries from a CDN. The React and Vue tabs hold the same demo as a ready component, which switches its animations off when it leaves the page.

<!doctype html>
<!--
  "Automation flow signal" from Animorio · https://animorio.com
  License: free on your own sites and your clients’ sites, paid work included.
  Not for resale, redistribution, templates or code collections · https://animorio.com/en/license/
-->
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>The automation flow with a signal of light between the nodes</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/jetbrains-mono@5.3.0/index.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <main class="stage" data-stage>
    <!-- the canvas of an automation builder: Run sends a signal of light along the curves, every node it reaches
         lights up with its check and its time; the branch that is not taken stays off -->
    <div class="grid" aria-hidden="true"></div>
    <div class="grid grid--lit" aria-hidden="true"></div>

    <div class="frame" data-frame>
      <div class="board" data-board>
        <header class="bar" data-bar>
          <div class="bar__name">
            <svg class="bar__mark" viewBox="0 0 20 20" aria-hidden="true"><path d="M4 6h5v8H4zM11 4h5v5h-5zM11 11h5v5h-5z"/></svg>
            <b>Order flow</b>
            <span class="bar__status"><span data-status>Draft, saved 2 min ago</span></span>
          </div>
          <button class="run" type="button" data-run>
            <span class="run__ico" aria-hidden="true">
              <svg class="run__play" viewBox="0 0 16 16"><path d="M5 3.4v9.2l7.4-4.6Z"/></svg>
              <svg class="run__spin" viewBox="0 0 16 16"><circle cx="8" cy="8" r="5.6" pathLength="1"/></svg>
            </span>
            <span class="run__lab"><span data-lab>Run</span></span>
          </button>
        </header>

        <svg class="wires" data-wires aria-hidden="true"></svg>

        <div class="node" data-node="trigger">
          <div class="node__card">
            <span class="node__glow"></span><span class="node__ring"></span>
            <span class="node__icon"><svg viewBox="0 0 20 20"><path d="M3 4h2l1.6 8.2h8.2L16.4 7H6.2"/><circle cx="8" cy="15.6" r="1.1"/><circle cx="13.6" cy="15.6" r="1.1"/></svg></span>
            <span class="node__txt"><b>New order</b><small>Shop trigger</small></span>
            <span class="node__badge"><svg class="tick" viewBox="0 0 16 16"><circle cx="8" cy="8" r="6.2" pathLength="1"/><path d="M5.2 8.3 7.2 10.2 10.9 6" pathLength="1"/></svg></span>
          </div>
          <span class="ms" data-ms></span>
        </div>

        <div class="node" data-node="check">
          <div class="node__card">
            <span class="node__glow"></span><span class="node__ring"></span>
            <span class="node__icon"><svg viewBox="0 0 20 20"><path d="M3.5 6.5 10 3.5l6.5 3v7L10 16.5l-6.5-3Z"/><path d="M3.5 6.5 10 9.5l6.5-3M10 9.5v7"/></svg></span>
            <span class="node__txt"><b>Check stock</b><small>Inventory</small></span>
            <span class="node__badge"><svg class="tick" viewBox="0 0 16 16"><circle cx="8" cy="8" r="6.2" pathLength="1"/><path d="M5.2 8.3 7.2 10.2 10.9 6" pathLength="1"/></svg></span>
          </div>
          <span class="ms" data-ms></span>
        </div>

        <div class="node" data-node="branch">
          <div class="node__card">
            <span class="node__glow"></span><span class="node__ring"></span>
            <span class="node__icon"><svg viewBox="0 0 20 20"><path d="M4 10h4.5M8.5 10c2.6 0 3-4.5 6-4.5M8.5 10c2.6 0 3 4.5 6 4.5"/><path d="M13 3.8l1.8 1.7L13 7.2M13 12.8l1.8 1.7L13 16.2"/></svg></span>
            <span class="node__txt"><b>If in stock</b><small>Condition</small></span>
            <span class="node__badge"><svg class="tick" viewBox="0 0 16 16"><circle cx="8" cy="8" r="6.2" pathLength="1"/><path d="M5.2 8.3 7.2 10.2 10.9 6" pathLength="1"/></svg></span>
          </div>
          <span class="ms" data-ms></span>
        </div>

        <div class="node" data-node="email">
          <div class="node__card">
            <span class="node__glow"></span><span class="node__ring"></span>
            <span class="node__icon"><svg viewBox="0 0 20 20"><rect x="3" y="5" width="14" height="10.5" rx="1.6"/><path d="m3.6 6 6.4 5 6.4-5"/></svg></span>
            <span class="node__txt"><b>Send email</b><small>Order confirmed</small></span>
            <span class="node__badge"><svg class="tick" viewBox="0 0 16 16"><circle cx="8" cy="8" r="6.2" pathLength="1"/><path d="M5.2 8.3 7.2 10.2 10.9 6" pathLength="1"/></svg></span>
          </div>
          <span class="ms" data-ms></span>
        </div>

        <div class="node" data-node="sheet">
          <div class="node__card">
            <span class="node__glow"></span><span class="node__ring"></span>
            <span class="node__icon"><svg viewBox="0 0 20 20"><rect x="3.5" y="3.5" width="13" height="13" rx="1.6"/><path d="M3.5 8h13M3.5 12.2h13M8.4 8v8.5"/></svg></span>
            <span class="node__txt"><b>Update sheet</b><small>Orders, row 214</small></span>
            <span class="node__badge"><svg class="tick" viewBox="0 0 16 16"><circle cx="8" cy="8" r="6.2" pathLength="1"/><path d="M5.2 8.3 7.2 10.2 10.9 6" pathLength="1"/></svg></span>
          </div>
          <span class="ms" data-ms></span>
        </div>

        <div class="node node--off" data-node="hold">
          <div class="node__card">
            <span class="node__glow"></span><span class="node__ring"></span>
            <span class="node__icon"><svg viewBox="0 0 20 20"><circle cx="10" cy="10" r="6.6"/><path d="M10 6.4V10l2.6 1.7"/></svg></span>
            <span class="node__txt"><b>Back-order</b><small>Notify buyer</small></span>
            </div>
          <span class="ms ms--skip" data-skip>Skipped</span>
        </div>
      </div>
    </div>

    <svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.2 19.2 11l-6.3 1.6-3.3 5.9Z"></path></svg>
  </main>

  <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
  <script src="script.js"></script>
</body>
</html>

Playground

Change values, colours and text with the controls and watch the animation respond live. Or write in the code yourself. Then download the folder with your changes.

34 values to change

Or ask your AI assistant for it

With the Animorio connector, Claude Code, ChatGPT, Cursor or VS Code take it from here, guide included, and fit it into your project. Paste this request:

Take “Automation flow signal” from Animorio and fit it into my site
Platform licenseFree on your sites and your clients’ sites. Want it inside a website builder, a template platform or a client dashboard? There’s a license for agencies and platforms.

What it does

On a near-black dotted canvas, at the top sits the bar of the «Order flow», with the line «Draft, saved 2 min ago» and the mint Run button. Below, six nodes: New order, Check stock, If in stock, and on the right Send email, Update sheet and Back-order, the last one dimmer. On arrival the bar drops in, the nodes rise one after the other and the wires draw themselves between their handles; on the branch leaving the condition there are two tags, true and false. Pressing Run turns the label into Running with a spinning ring, and a signal of light leaves the first node: a white spark with a green halo runs along the curve and leaves the lit wire behind it. Every node it reaches lifts by a pixel and a half, lights up with a green border and a soft light from the left, draws its check in the circle at the top right and writes its time below, from 4 ms to 341 ms. At the condition the true tag lights up and the signal takes that branch; the dashed wire to Back-order stays off and the node writes Skipped. At the end the button goes back to Run and the bar line becomes «Last run 624 ms, 5 of 6 steps», always with the old text leaving before the new one comes in. Hovering a node lifts the card with a bounce, its handles grow and take the colour, and the curves touching it pull taut, then relax with a spring when the pointer leaves. The canvas dots light up around the pointer. A drawn pointer shows it all on its own.

How it works

Two layouts

The nodes have fixed positions on a 786 by 412 pixel sheet (in a row, with the branch on the right) or a 380 by 590 one (in a column, for narrow boxes). The script picks the right one from the window’s shape and scales it whole as much as needed to fit, never beyond 1.3.

The wires

Every wire is a Bézier curve from the output handle to the input one: the two control points lie along the handle’s direction, at a distance equal to the span times SLACK. The script recomputes it on every frame, so a wire can pull taut while the signal runs along it.

The signal

Over every wire there are a green stroke and a wide blurred copy: both with stroke-dasharray equal to the length and a stroke-dashoffset that falls with the progress. The spark and its halo sit at the getPointAtLength point of the progress.

The node lighting up

The green border and the light are two layers over the card that rise in opacity; the check is a circle and a mark with pathLength 1 drawn one after the other; the time rises from five pixels below with a small spring.

The wire pulling taut

Hovering a node, the SLACK of the wires touching it drops to TAUT in just over half a second; leaving, it goes back with elastic.out, and the wire wobbles slightly before it stops.

Values to change

NameFileDefaultWhat it changes
WIRE_TIMEscript.js0.6The seconds the signal of light takes to run along a wire.
NODE_TIMEscript.js0.28The seconds a reached node takes to light up.
SLACKscript.js0.55How loose the wire curves are.
TAUTscript.js0.22How taut the curves of the hovered node get.
GLOWscript.js1How strong the signal’s light is.
SPOTscript.js180The radius in pixels of the light on the dots around the pointer.
PAUSEscript.js1.6The seconds the drawn pointer rests at the end of a loop.

Try them in the Playground

When to use it

For the page or the interface of an automation, integration or AI agent tool, to show how a process runs step by step; also to explain an order flow on a page that tells the product’s story.

On phones

In narrow boxes the nodes stack into a column, with the branch opening in two below the condition; the same wires, the same signal and the same checks, sized on width and height.

With reduced motion

No running spark and no lifting cards: pressing Run fades in the wires taken and the nodes one after the other, with the check already drawn; the drawn pointer is hidden.

Pitfalls

  • The wire is recomputed on every frame, so its length changes while it pulls taut: dasharray and dashoffset are rebuilt each time from the new length and the progress, never stored once.
  • The node sheet is scaled with transform: the handles and wires live on the same sheet, in sheet pixels, so they never come loose from the nodes at any size.
  • The check uses pathLength 1 on the circle and the mark: the dasharray stays 1 whatever the icon’s size.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0, JetBrains Mono (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 8.6 KB; the libraries: GSAP 28 KB.

Testing

Tested on 29 October 2026

  • Desktop: Done
  • Phone: Done
  • Reduced motion: Done
  • Safari on iPhone: To do

License

Use it in your own projects and in your clients’ projects. Do not resell it or redistribute it as is. GSAP stays under its own Standard license. Full license.

All animations