
Falling tools
Physics, Hover
Parcel & Pine, a made-up shop that ships with care: a sheet of bubble wrap to pop. Hover a bubble and it swells a hair, press it and it squashes and goes flat with creases, its highlight breaks and the neighbours jump on a spring with a wave that travels slowly outwards. Drag to pop a whole row, the tally rolls and New sheet inflates everything again. Hand-written physics on canvas, minimal style, GSAP.
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>
<!--
"Bubble wrap pop" 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>Bubble wrap</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>
<!-- Parcel & Pine, a made-up shop that ships with care: a sheet of bubble wrap to pop. Hover a bubble and it swells
a hair, press it and it squashes and goes flat with creases, the neighbours jump on a spring, the tally rolls.
Drag to pop a whole row; New sheet inflates everything again in a wave -->
<main class="stage">
<section class="pack" aria-label="A sheet of bubble wrap to pop">
<header class="head">
<p class="brand">Parcel <span class="brand__amp">&</span> Pine</p>
<h1 class="title">Packed with care</h1>
</header>
<div class="sheet" data-sheet>
<canvas class="sheet__canvas" data-canvas aria-hidden="true"></canvas>
<svg class="cursor" data-cursor viewBox="0 0 24 24" aria-hidden="true">
<path d="M5 3 L5 19 L9.2 15.2 L12 21.2 L14.6 20 L11.9 14.2 L17.6 14.2 Z" fill="#1f1c18" stroke="#fff" stroke-width="1.4" stroke-linejoin="round"/>
</svg>
</div>
<footer class="foot">
<p class="tally" aria-live="polite"><span class="tally__num" data-tally><span class="tally__n">0</span></span><span class="tally__word">popped</span></p>
<button class="pill" type="button" data-reset><span class="pill__bg" aria-hidden="true"></span><span class="pill__label">New sheet</span></button>
</footer>
</section>
</main>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
<script src="script.js"></script>
</body>
</html>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.
20 values to change
Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI
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 “Bubble wrap pop” from Animorio and fit it into my siteThe bubbles are drawn on a canvas: rows at 0.88 of the step, every other one shifted by half a step. The diameter is measured on the box (never more than BUBBLE, never less than 22 pixels) and the grid is rebuilt on resize, keeping the bubbles already popped.
Each bubble has an offset z and a velocity: every frame z gets −SPRING·z − DAMPING·v. Hover adds a 5% swell, pressing squashes it.
Deflating is a tween from 0 to 1 over POP_TIME seconds: the edge takes its creases from sixteen fixed random numbers per bubble, the shadow and highlight fade, two highlight fragments and three creases appear, and the accent ring widens.
A pop queues a kick for every bubble within seven radii, delayed by the distance divided by WAVE_SPEED and weakened with the square of the distance: the neighbours jump first, the far ones later and less.
The new number rises from below on a back.out while the old one leaves at the top; New sheet reinflates the bubbles with a delay by distance and an upward kick on the spring.
| Name | File | Default | What it changes |
|---|---|---|---|
BUBBLE | script.js | 44 | Bubble diameter in pixels. |
GAP | script.js | 0.2 | Gap between bubbles, as a share of the diameter. |
SPRING | script.js | 260 | Stiffness of each bubble’s spring. |
DAMPING | script.js | 11 | Damping of the spring. |
WAVE | script.js | 0.55 | Strength of the neighbours’ jump. |
WAVE_SPEED | script.js | 520 | Wave speed in pixels per second. |
POP_TIME | script.js | 0.26 | Seconds to deflate. |
ACCENT | script.js | #2f6b4f | The colour of the tally and the flash. |
For a shop that ships, the shipping or packaging page, an order just confirmed, a 404 page or a stress-relief moment inside a product.
The same sheet, with bubbles sized on the box height; pop them with a finger and by dragging.
No springs, no waves and no self-moving pointer: a pressed bubble is flat at once, the tally changes without rolling and New sheet makes them full again.
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 6.9 KB; the libraries: GSAP 28 KB.
Tested on 2 December 2026
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.
You asked for
We made it for you: it’s in the library, with the preview, the Playground and the code to copy.
An animation you can’t find, or a site to take apart in the journal: tell us which. We pick the next ones from here.
With your account’s email and password.
or with your email
You’re signed in as .
With your account, you can download the zip of every animation and every pack, for free.