Skip to content
animorio
IT
Back to the library

Honeycomb integrations

Physics, HoverGSAPAdvancedCompressed weight: Demo 12 KBGSAP 28 KBFreeDownload the zip

A physics animation on a real panel: the integrations of an AI agent for teams, nineteen tools in a honeycomb of glass bubbles like the app grid of a watch. Push it with a finger: it glides on its inertia, slows down on its friction, stretches like rubber past the last ring and settles on a spring on the nearest bubble, which lights up and grows in the middle while the others shrink towards the edge. Each bubble follows on a spring of its own, so the far ones arrive a beat later and the honeycomb wobbles like jelly. Below, the dock names it, rolls its numbers and connects the tool.

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>
<!--
  "Honeycomb integrations" 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 honeycomb of integrations to drag</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <main class="stage" data-stage>
    <!-- the Integrations panel of Ondo, an AI agent for teams. Nineteen tools sit in a honeycomb of glass bubbles:
         push it with a finger and it glides, slows down on its friction, stretches like rubber past the last ring and
         settles with a spring on the nearest bubble, which grows in the middle while the others shrink towards the
         edge. Each bubble follows on its own spring, so the far ones arrive a beat later. The dock below names the
         tool in the middle and connects it -->
    <section class="panel" aria-labelledby="panel-title" data-panel>
      <span class="panel__rim" aria-hidden="true" data-rim></span>
      <header class="panel__head">
        <div class="panel__words">
          <h1 class="panel__title" id="panel-title">Integrations</h1>
          <p class="panel__sub">Give Ondo access to your tools</p>
        </div>
        <p class="panel__count"><span class="roll" data-count>3</span><span class="panel__of">of 19 on</span></p>
      </header>

      <div class="field" data-field aria-label="Drag to explore the tools" role="group">
        <span class="field__glow" aria-hidden="true" data-glow></span>
        <div class="field__layer" data-layer></div>
      </div>

      <footer class="dock" data-dock>
        <span class="dock__icon" aria-hidden="true">
          <svg viewBox="0 0 24 24"><path data-dicon d=""/></svg>
        </span>
        <div class="dock__text">
          <p class="dock__name" data-dname>Ledgerly</p>
          <p class="dock__meta"><span class="dock__cat" data-dcat>Finance</span><span class="dock__events"><span class="roll" data-dnum>0</span><span class="dock__unit">/day</span></span></p>
        </div>
        <button class="dock__btn" type="button" data-btn>
          <span class="dock__btn-face" data-face>
            <svg class="dock__btn-icon" viewBox="0 0 16 16" aria-hidden="true">
              <path class="dock__plus" data-plus d="M8 3.5v9M3.5 8h9"/>
              <circle class="dock__spin" data-spin cx="8" cy="8" r="5.4" pathLength="1"/>
              <path class="dock__check" data-check pathLength="1" d="M3.6 8.4l2.9 2.9 5.9-6.3"/>
            </svg>
            <span class="dock__btn-words" data-words>Connect</span>
          </span>
        </button>
      </footer>
    </section>
    <p class="sr" aria-live="polite" data-live></p>
  </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.

27 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 “Honeycomb integrations” 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 page with two soft lights, violet and blue, and a little grain, a frosted glass panel with very round corners rises: at the top ‘Integrations’, the line ‘Give Ondo access to your tools’ and on the right a pill with the count ‘3 of 19 on’. In the middle a honeycomb of nineteen dark glass bubbles, each with the drawn mark of an invented tool (mail, docs, calendar, payments, database…): the one in the middle is big and lit in a violet and blue gradient with a glow beneath, the others shrink and fade towards the edge, like the app grid of a watch. The bubbles of the tools already connected carry a small mint badge with a check. Below, a dock with the icon of the tool in the middle, its name, its category, the events a day with rolling digits and the light ‘Connect’ button. The honeycomb pushes itself: it glides, slows down, passes the bubble by a hair and comes back, and the far bubbles arrive a beat after the near ones, like jelly. It settles on Harbor CRM, the button is pressed, gives and comes back on a spring, a small loading arc spins with ‘Connecting’, then the check draws itself, it turns mint ‘Connected’, the badge pops on the bubble and the count rolls to 4. Then a hard push towards the edge: past the last ring the honeycomb bounces back. With a finger you really drag it, with inertia, friction and rubber at the edges; a tap on a bubble brings it to the middle, and the panel's rim catches the light where the pointer goes.

How it works

A honeycomb in axial coordinates

The nineteen bubbles are the middle, a ring of six and a ring of twelve, generated in axial coordinates and turned into pixels with x = d(q + r/2) and y = d·√3/2·r, where d is the bubble's size plus a tenth. The size comes from the field's width and height, so on a phone the honeycomb fits the box.

The projected throw

While dragging, the speed is read from the last 90 ms of the finger. On release, the point where the honeycomb would stop is projected (position plus speed times FRICTION seconds), the bubble nearest to that point is chosen and a spring (STIFFNESS, DAMPING) carries it there starting with the finger's speed: it glides, passes the mark by a hair and settles.

Rubber past the last ring

Past the radius of the last ring the offset is squeezed with 1 − 1/(x·RUBBER/reach + 1), the same curve as the rubber edges of phones: the harder you pull, the less it moves, and on release the spring brings it back inside.

A spring for every bubble

Every bubble follows the honeycomb's position on a spring of its own, damped at 62%: stiff near the point where the push starts and softer far from it (JELLY). The far bubbles arrive a beat later and the honeycomb wobbles like jelly without ever losing its shape.

The lens and the dock

Each bubble's size drops with a gaussian of its distance from the middle (FISHEYE) and its position tightens a little too, as on the watch. The bubble nearest to the middle lights up at once; the dock changes once it has stayed there a tenth of a second: the name fades with a touch of blur, the digits roll in columns from zero to nine and the button takes its state.

Values to change

NameFileDefaultWhat it changes
FRICTIONscript.js0.34How far a flick glides: the throw is projected this many seconds ahead.
STIFFNESSscript.js150The spring that settles the honeycomb on a bubble: higher is quicker.
DAMPINGscript.js19Lower lets the honeycomb pass the bubble and come back.
JELLYscript.js0.6How far the distant bubbles lag behind the near ones (0 = one rigid honeycomb).
FISHEYEscript.js0.62How much the bubbles shrink towards the edge.
RUBBERscript.js0.55How hard the honeycomb resists past the last ring.
SPEEDscript.js12 = the walk on its own twice as fast, 0.5 = half.
LOOPscript.jstrueRepeats the walk on its own.

Try them in the Playground

When to use it

For the integrations page of an AI app or a SaaS, to pick the apps to connect during onboarding, for a catalogue of extensions or channels in a dashboard: when there are many items and you want to explore them with a finger instead of scrolling a list.

On phones

The same animation with adapted sizes: the panel is as wide as the box, the honeycomb is as tall as the screen allows and the bubbles are sized on both dimensions; the field takes the finger without scrolling the page; in the dock, when space runs short, the category is shortened and never the number of events.

With reduced motion

The honeycomb neither glides nor wobbles: changing bubble it fades out and reappears already in place, the button changes its label and check with a fade, the badge and the digits appear without a spring.

Pitfalls

  • The script writes each bubble's transform every frame, so the hover and the colour live on its face (.hb__face): one owner per element, otherwise one wipes out the other.
  • The release speed has to be read from the last milliseconds and reset if the finger rested before lifting, otherwise a slow drag ends in a throw.
  • With the bubbles' stiff springs at 560 the integration needs small steps (four per frame): at a whole frame they turn unstable and blow up.
  • The field has touch-action: none, otherwise on a phone the finger scrolls the page instead of the honeycomb.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.

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

Testing

Tested on 2 November 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