
Falling tools
Physics, Hover
The profile card of a photographer on a portfolio platform: the portrait on the left, the name, the role and the buttons on the right. Her skills are glass tags that fall into the card through its top edge with real physics, bounce, slide and pile up on its floor; you grab them with the pointer or a finger and throw them, and a tap opens a small glass tooltip above the tag with the years of experience, which follows it wherever it goes.
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>
<!--
"Photographer profile card" 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 photographer's profile card with skills that fall</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 profile card of a photographer on a portfolio platform. Her skills are glass tags that fall into the card
through its top edge with real physics (gravity, bounces, friction), pile up on its floor, and can be grabbed
and thrown; a tap on one opens a small glass tooltip with her years in that skill -->
<section class="card" data-card aria-label="Mira Halvorsen, photographer">
<figure class="card__photo" data-photo>
<img src="ritratto.webp" alt="A woman in a long patterned dress stands in a snowy field of dry grass, seen in profile, holding pink tulips" width="683" height="1024" data-img>
<figcaption class="card__place">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M8 14.2s4.6-4.1 4.6-7.6a4.6 4.6 0 0 0-9.2 0c0 3.5 4.6 7.6 4.6 7.6Z"/><circle cx="8" cy="6.6" r="1.6"/></svg>
<span>Oslo</span>
</figcaption>
</figure>
<div class="card__body">
<header class="card__head" data-line>
<h1 class="card__name">Mira Halvorsen</h1>
<svg class="card__badge" viewBox="0 0 16 16" aria-label="Verified"><path class="card__badge-seal" d="M8 1.2l1.7 1.3 2.1-.2.7 2 1.8 1.1-.5 2.1.9 1.9-1.6 1.4-.2 2.1-2.1.4L9.6 15 8 13.8 6.4 15l-1.2-1.7-2.1-.4-.2-2.1L1.3 9.4l.9-1.9-.5-2.1 1.8-1.1.7-2 2.1.2Z"/><path class="card__badge-tick" d="M5.4 8.2l1.8 1.8 3.4-3.6"/></svg>
</header>
<p class="card__role" data-line>Photographer & art director</p>
<p class="card__line" data-line>Quiet portraits and brand stories for slow fashion labels.</p>
<div class="card__actions" data-line>
<button class="btn btn--main" type="button">
<span class="btn__face">
<span>Book a shoot</span>
<svg class="btn__arrow" viewBox="0 0 16 16" aria-hidden="true"><path d="M3.5 8h8.6M8.6 4.4 12.2 8l-3.6 3.6"/></svg>
</span>
</button>
<button class="btn btn--ghost" type="button" aria-pressed="false" data-follow>
<span class="btn__face">
<svg class="btn__plus" viewBox="0 0 16 16" aria-hidden="true"><path d="M8 3.6v8.8M3.6 8h8.8"/></svg>
<span data-follow-words>Follow</span>
</span>
</button>
</div>
<p class="card__skills" data-line><span>Skills</span><span class="card__hint">Drag, throw or tap</span></p>
</div>
<!-- the world of the physics: the tags are built here from SKILLS in script.js -->
<div class="world" data-world aria-label="Skills" role="list"></div>
<div class="tip" data-tip role="status" aria-live="polite">
<div class="tip__pop" data-tip-pop>
<div class="tip__glass">
<span class="tip__skill" data-tip-skill>Photography</span>
<span class="tip__years"><span class="tip__num" data-tip-num>12</span><span class="tip__unit" data-tip-unit>years</span></span>
<span class="tip__ticks" data-tip-ticks aria-hidden="true"></span>
<span class="tip__since" data-tip-since>since 2014</span>
</div>
<svg class="tip__notch" viewBox="0 0 20 9" aria-hidden="true"><path d="M0 0h20c-4 0-6.6 2.6-8.4 7.2-.6 1.4-2.6 1.4-3.2 0C6.6 2.6 4 0 0 0Z"/></svg>
</div>
</div>
</section>
<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="https://cdn.jsdelivr.net/npm/matter-js@0.20.0/build/matter.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.
28 values to change
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 “Photographer profile card” from Animorio and fit it into my siteEach skill is an HTML span with its text, measured after the font has loaded. Matter.js keeps a rectangle of the same size for each one, with corners rounded by half its height, and its inertia multiplied by 2.4 so the tags tip over little and stay readable. Every frame the tag takes its body's position and rotation with a single transform.
The .tag gets the physics transform, the .tag__face the squash of hard landings (GSAP, scaleX and scaleY with elastic.out), the .tag__skin the look and the hover in CSS. If they were the same element, GSAP would wipe out the physics transform and the other way round.
The physics runs in steps of 1/60 of a second counted on GSAP's clock: an accumulator collects each frame's time and spends it in whole steps. So the fall is the same at 60, 120 or 30 frames per second, and the drawn pointer's round repeats the same.
Pressing a tag creates a springy constraint (stiffness 0.16) between the point you hold and the pointer; moving the pointer, the body follows it with its own inertia, and on release the constraint goes: the tag leaves with the speed it had. A short tap (under 6 pixels and 0.32 seconds) opens the tooltip instead.
The tooltip lives in the card, outside the clipped physics layer, and every frame it places itself above its tag's body, kept inside the card; its point shifts by itself to stay on the tag. It opens with back.out, the number counts up from zero and the year ticks rise one after another.
| Name | File | Default | What it changes |
|---|---|---|---|
SKILLS | script.js | 'Photography 12, Art direction 9, Portrait 11, Editorial 8, Branding 6, Colour 7, Type 5, Motion 4, Film 10, 3D 2' | The tags: name and years, separated by commas. |
GRAVITY | script.js | 1.1 | How hard the tags fall. |
BOUNCE | script.js | 0.32 | How much they bounce. |
FRICTION | script.js | 0.35 | How much they grip each other and the floor. |
STEADINESS | script.js | 2.4 | Multiplies the inertia: the higher, the less they tip over. |
DROP_GAP | script.js | 0.13 | Seconds between one tag and the next as they fall. |
THROW | script.js | 1 | How hard the drawn pointer throws. |
SQUASH | script.js | 1 | How much a tag squashes on a hard landing. |
UPRIGHT | script.js | 1 | How readily a tag left upside down hops and turns over by itself: 0 never. |
LOOP | script.js | true | The drawn pointer plays again and again. |
For the about page of a portfolio, the card of a photographer, a designer or a freelancer on a platform for creatives, the team section of a studio or an agency: when the skills should spark curiosity and invite a touch instead of sitting in a list.
The same animation with adapted sizes: the card takes almost the whole width and 86 % of the height, the photo narrows to 38 %, the description line and the hint go, the tags get smaller and pile up in three rows. With a finger you grab them, throw them and tap them to open the tooltip.
No physics and no movement: the card fades in with the tags already in rows on the floor; Photography's tooltip fades in and out, and a tap on a tag opens its own.
GSAP 3.15.0, Matter.js 0.20.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 12 KB; the libraries: GSAP 28 KB, Matter.js 25 KB.
Tested on 6 November 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.
Support Animorio
Animorio stays free thanks to the people who support it. If you like, buy us a coffee: it helps us make the next animations.
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.