Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Planowanie

kk-motion

/kk-motion

Doradza w animacji interfejsów: czy ruch jest potrzebny, czas i easing, sprężyny, hover, gesty, przerwania i wydajność, w oparciu o szkołę Birmana, Apple i Emila Kowalskiego.

Repozytorium
kk-1337 ↗
Licencja
MIT
Ostatnia zmiana repozytorium
09.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 09.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Doradza w animacji interfejsów: czy ruch jest potrzebny, czas i easing, sprężyny, hover, gesty, przerwania i wydajność, w oparciu o szkołę Birmana, Apple i Emila Kowalskiego.

Wyzwalacze z opisu

s school of interface animation, Apples craft, the Bureau
Oryginalny opis (EN)

Everything that moves on a screen, from whether it should move at all to how it feels under the hand — Birman's school of interface animation, Apple's fluid interfaces and Emil Kowalski's craft, the Bureau's timing of states, and the research on attention. The job and how often it is seen, who started it (easing or a spring), timing and easing, one change one movement, hover, gestures and physics (drag, throw, rubber band), interruption, performance (transform and opacity), reduced motion, and the measured motion check. Use it for any animation, transition, hover, press, drag, swipe, scroll, s

Jak działa

  1. Whether it moves
  2. Who started it
  3. Timing and easing
  4. One change, one movement
  5. The hand
  6. Interrupted at any moment
  7. What it costs
  8. Reduced motion and the other senses
  9. Whether before how
  10. How you know
Sekcje z nagłówków SKILL.md, w oryginale · 122 linii, 4 310 słów
Podgląd SKILL.md
---
name: kk-motion
description: Everything that moves on a screen, from whether it should move at all to how it feels under the hand — Birman's school of interface animation, Apple's fluid interfaces and Emil Kowalski's craft, the Bureau's timing of states, and the research on attention. The job and how often it is seen, who started it (easing or a spring), timing and easing, one change one movement, hover, gestures and physics (drag, throw, rubber band), interruption, performance (transform and opacity), reduced motion, and the measured motion check. Use it for any animation, transition, hover, press, drag, swipe, scroll, sheet, toast, loading or filtering effect — whenever something changes over time or motion is judged — even if nobody says animation. kk-1337 is the way of thinking around it. Triggers include "animation", "transition", "motion", "easing", "spring", "hover", "drag", "swipe", "smooth", "janky", "it jumps", "анимация", "переход", "плавно", "дёргается", "прыгает", "тормозит", "лагает", "пружинит", "ховер", "движение".
---

# kk-motion

Motion here is everything on a screen that changes over time: a transition, a hover, a press, a drag, a scroll, a sheet, a toast, a list being filtered. It is the strongest signal an interface has. The eye finds a moving thing among still ones at once (Wolfe & Horowitz 2004), a thing that appears takes attention by itself (Yantis & Jonides 1984), things that move together are seen as one (Wagemans et al. 2012), and the response to a signal repeated without news drops after a showing or two (Anderson et al. 2015). So motion is spent like novelty: only where it carries meaning, and there it says one thing — where something came from, what it became, that the hand was heard.

Whether a thing moves rests on two variables, **its job** and **how often it is seen**. How it moves rests on one model, **the physics of solid objects** that the eye already knows: nothing teleports or appears from nowhere, the held thing follows the hand, things at rest stay at rest unless pushed, the parts of one object move together, real things slow down before they stop and resist at an edge, and a thing that knows its target lands exactly on it. And on one question: **who started it**. Motion is judged in time, never in stills or in the code: slowed down, frame by frame, under the hand. KK's bar: "Beautifully means intuitively, simple, and elegant." Good motion shows how the thing works, and nobody notices it unless it is missing or jerky.

The sources are Ilya Birman's talk on interface animation and his note on springs, Apple's fluid interfaces as Emil Kowalski distils them, with Emil's own craft, the Bureau Gorbunov's rules on states, feedback and coordination in time, the gestalt of common motion, the research on attention, and KK's comments, kept here as principles. The demos in the sources are old: take the principle, never the demo. kk-1337 holds the laws of the hand and time (the three limits of waiting, pointing, target sizes) and the way of thinking around this skill; what a control, a drag or a drop does is kk-interface's; the look, and which element is the memorable one, is kk-look's.

## Whether it moves

- **Name its job.** Motion does one of four jobs, the oldest and most important first: attention (a moving thing is found at once, like a blinking cursor), explanation (where a thing came from or went, what it turned into, how things relate), an answer to the hand (the feel of moving the object itself: a scroll, a drag, a press that gives) and show (spectacle, joy, the brand). Motion with no job is decoration that people wait out. The bar for quality rises down the list: attention works on a text terminal, show must be flawless.
- **Frequency sets the dose.** Motion costs time and attention every time it is seen, and by the hundredth time it carries no news, only delay. A hundred times a day (a shortcut, a command palette, a tab, keyboard navigation): none. Tens of times (hover, moving down a list): near-imperceptible, fast and small, or none. Now and then (a sheet, a modal, a toast): the standard. Rarely or the first time (onboarding, a success): it may delight. Repeated all day, even a logical move becomes a buzzing fly: a whole screen sliding sideways tires, while a crossfade with a slight shift keeps the sense of place without the ride. Hint at the physics instead of replaying all of it. The test: is it still pleasant the hundredth time today?
- **Moving by hand is not animation.** A scroll, a drag or a swipe follows the hand one to one at any frequency, and without that the interface feels wooden. The frequency rule is for motion added on top of an action, never for the object following the hand.
- **The keyboard asks for none.** What the keyboard triggers repeats all day and should happen at once; it moves only when the motion is the content or explains a rare change.
- **Navigation keeps the platform's motion.** A screen push, a back gesture, a sheet: match the platform for navigation, beat it everywhere else. Peers don't slide: tabs switch in place, because a slide claims a depth that isn't there.
- **What people read doesn't move for style.** A chart that draws itself on a working dashboard, or figures that roll when nothing changed, compete with reading. A number may roll when its change is the news, on tabular figures.
- **A static fix first.** Before motion explains a seam, see whether the seam can go: a clearer state, the thing opening where it is. Motion finishes a clear design; it cannot rescue an unclear one.
- **Show is the answer, or it is rare.** Show is the product's one memorable element in motion (kk-look chooses the element), so it is flawless or it goes: people remember only the glitch. It may play often only when it is the answer itself, showing where the result went or what connected, and then its strength follows the news: full when something was found, barely there when nothing was. It never delays the result or the next keystroke, never covers what it serves, and gets out of the way under reduced motion. A performance with no answer in it stays rare: the first run, a success.

## Who started it

- **The system lands exactly.** Motion the system starts (a menu, a toast, a modal, a panel, a page, a list rearranging itself) knows its target, so it slows down smoothly and stops exactly there, with no overshoot and no bounce. An overshoot there reads as a bug, a system unsure where it was going. A tap puts no force into the motion, so what a tap opens is the system's motion too.
- **A throw may spring.** When the person throws something (a flick, a fling, a drag let go with speed), they did not measure the force, so a small overshoot and settle looks natural and even reports the force they used. Keep it small: a damping ratio near 0.8 overshoots by about 1.5% of the travel; Motion's default physics, at 0.5, overshoots by about 16%, which only decoration can afford.
- **The rule holds for each part of a gesture.** Within one gesture, the part the person threw may spring and the part the system completes may not: a sheet flicked back home may settle with a little bounce, while a sheet the system finishes dismissing lands without passing the screen's edge.
- **Write the spring out.** Library springs often bounce unless told not to (in Motion, a spring given only a duration overshoots by about 5%), so a default is someone else's choice. Critically damped (a damping ratio of 1, `bounce: 0`) for everything the system starts.
- **What moves by itself is show.** Breathing, winking or bouncing on its own (a character, a living island) is the product's show and follows the rule for show.

## Timing and easing

- **Instant in, smooth back.** Something answers the instant the hand acts, even when the result takes longer (kk-1337's first limit of waiting), and a state is entered at once (kk-interface). Smoothness belongs to the way back: a hover, focus or pressed look fades back to rest in 0.2–0.4 s, because nothing waits on it. Smoothness added to every change makes a slow interface. There are no decorative pauses, only the few that read intent: the double-click interval, the first tooltip's wait, the drag threshold.
- **A press may give.** The pressed look appears at once; the physical give, a scale to about 0.97 (0.95–0.98), runs about 100 ms on a strong ease-out, which covers 90% of its travel in about 36 ms, so it still reads as instant. Both come back in about 200 ms.
- **Time is what the eye sees: 90% of the path.** The eye watches the start. A strong ease-out covers 90% of its path in about a third of its declared duration, the built-in `ease-out` in three quarters, `ease-in` in 94%. So routine motion puts most of its travel inside about 300 ms and never blocks input: a 500 ms drawer on a drawer curve is 90% there in about 183 ms, while a 300 ms `ease-in` menu is only half-way at about 197 ms. About 150 ms for small changes and 250 ms for layout; longer needs a reason (a long path, a big surface, an explanation, a show).
- **Ease out, never in.** What enters, leaves or answers eases out: it starts at once and settles. What moves across the screen from one place to another eases in and out. Constant motion and progress are linear, because progress doesn't ease; a colour change takes a gentle ease. Nothing in an interface eases in: it holds back the very moment the person is watching. The built-in curves are weak, so take one shared set of strong ones as tokens, `cubic-bezier(0.23, 1, 0.32, 1)` out, `cubic-bezier(0.77, 0, 0.175, 1)` in and out, `cubic-bezier(0.32, 0.72, 0, 1)` for a sheet, and never a hand-made curve that almost matches.
- **Exits are quicker, and still ease out.** A thing the person dismissed leaves about a fifth faster than it came (a toast: 300 ms in, 250 ms out), because they have moved on; closing is an answer too, so it starts at once. The same path in and out means the same route, never a curve played backwards, which would ease in.
- **Slow only where the person decides.** A deliberate phase is slow and linear on purpose, because it is the confirmation and it is progress: holding to delete fills in about 2 s, and letting go snaps back in about 200 ms.
- **One rhythm.** A product's motion uses a few durations and curves, as tokens, and each distinct value has a job; five hand-typed curves that almost match are noise.
- **The pace follows the soul.** A tool used all day is crisp and quick; a calm product may run a little slower and softer; a playful one may bounce more, but only where the person started the motion, or in show. kk-look names the soul.
- **Speed is felt, not measured.** A faster spinner makes the same wait feel shorter, and once one tooltip is open, its neighbours open with no delay and no animation.

## One change, one movement

- **One movement.** Everything one action changes moves as one: the same axis, duration and easing, ending together. Things that end together read as one event; a scatter of endings reads as several events and splits attention. When a cascade must land together, each later part starts later and runs shorter.
- **Kill parasitic motion.** A part that moves in its own direction or dimension (sideways while the rest goes down, diagonally while the panel shrinks, in three steps where one would do) grabs attention as if it mattered most. Make it move with the rest, or remove it. "Make it smoother" is usually a call for coordination and clean frames, not for more frames per second.
- **Moving together is belonging together.** Common motion groups more strongly than nearness, so what belongs together moves together (a modal and its backdrop, an axis and its data, a card and what it contains), and unrelated things never move in sync, or they form a false group. What doesn't move with the content, a bar fixed over scrolling content, reads as its own layer.
- **Stagger only like items arriving.** A cascade turns one group into a sequence, so it suits only a list or grid of like items seen now and then, where the order is the message: 30–80 ms apart, the first few visible items only, never blocking input, never on a list scrolled past all day, never inside one object's change.
- **The motion comes from how the thing is built.** Parts turn into their counterparts, stay where they are, or leave and enter through the edges they belong to, and the middle frames point toward the outcome. An effect laid over a change (a flip, a ripple, a generic dissolve) knows nothing about the object, and people wait it out.
- **Back the way it came.** An entrance starts near full size (about 0.95, with opacity), never from zero; a menu, popover or sheet grows from what opened it; a modal, anchored to nothing, stays centred; a panel that came from the right leaves to the right.
- **Solid to the end.** Nothing pops in front of another mid-motion: the stacking order changes only for a visible reason, a lift or a turn. Things at rest don't pass through each other, and no text lies on text.
- **When a set changes, show what went where.** Filtering, searching, sorting, a new view: what leaves fades out in place, what stays glides from its old place to its new one, what arrives fades in, all as one movement, measured from the first and last layouts and run on transforms. Nothing snaps, nothing jumps.
- **Clean middle frames.** No doubled labels, multiplying lines or words hopping between lines while it moves. When two states overlap badly, fix the structure first: keep what coincides still and crossfade only what differs, let a still element screen the swap, or blend the two states while the box resizes. Then the timing. A blur of a couple of pixels to merge a double exposure comes last.

## The hand

What can be grabbed, where it may land and what a drop does are kk-interface's; how it moves is here.

- **On the press, with the hand.** The answer starts on the press, not on release. A drag picks its direction after about 10 px and then follows one to one, keeping the offset where the thing was grabbed: it never lags, never runs ahead and never jumps to its centre. It keeps following when the pointer leaves the element (pointer capture), ignores a second finger, and never waits for data to move.
- **The ground stays still.** While the hand moves one thing, the rest moves only to make room, and glides there; nothing snaps, containers don't jump, things at rest don't overlap, and only the lifted thing floats above.
- **The hand's speed carries on.** At release the motion continues at the hand's own velocity, with no seam between dragging and animating. Where a flick is going is projected from its speed, the way scrolling slows down (`current + (v / 1000) · d / (1 − d)`, d ≈ 0.998: a flick at 1,000 px/s goes on about 500 px), and it settles on the target nearest that point, not the one nearest where it was let go.
- **Speed decides, not only distance.** Keep or return is decided by the direction of the velocity and the projected position: a quick flick is enough (above about 0.11 px/ms, dismiss whatever the distance), and demanding a long pull makes a sheet feel heavy.
- **Edges give, then hold.** Past a boundary the thing moves less the further it is pulled, and springs back when let go (a rubber band: `offset = over · dim · 0.55 / (dim + 0.55 · |over|)`); a hard stop reads as frozen. Surfaces have their own friction: a light list rolls further than a heavy page.
- **Motion needs room.** What lifts, grows or is dragged is never clipped by its container, and nothing it passes over is left unreadable.
- **Scroll belongs to the hand.** It is the most frequent motion: never re-timed, hijacked or nested in another scroll, and whatever follows it (the current section, a sticky header) follows it exactly, driven by one mechanism, never by script and CSS at once. Motion driven by scrolling (a reveal, parallax) is for pages read once, plays once, and goes under reduced motion.
- **Hover lifts only what the click takes.** A card or anything bigger may lift a little and grow a few percent, as one shape, exactly the thing the click will open, and settle back when the pointer leaves; nothing else moves. A button, a link or a row gets a subtle change of background instead, and no motion. Hover motion exists only where a pointer can hover (`(hover: hover) and (pointer: fine)`), because touch leaves a false hover stuck.

## Interrupted at any moment

- **It turns back from where it is.** People decide while things move, so anything can be grabbed, reversed or redirected mid-flight, and it answers from its current place on screen, never from its target, or it jumps. Input is never locked while something moves.
- **The tool follows what interrupts it.** A CSS transition turns back from where it is but drops the speed: right for clicks and toggles. Keyframes restart from zero: never for anything that can fire twice in a second, such as a toast or a toggle. A spring carries the speed through a reversal: right for what the hand drags or throws, as long as the library really passes the velocity on (some spring forms start from zero, so check).

## What it costs

- **Transform and opacity.** Moving, scaling and fading are drawn without laying the page out again; animating width, height, top, left, margin or padding lays it out on every frame, and a text box that changes width makes words jump from line to line. The exceptions: a short accordion to a measured height, the width of a small positioned element with no children (a tab's pill, a progress fill), and `clip-path` for reveals. Name the properties; `transition: all` moves what nobody chose.
- **One driver, off the main thread.** Each moving thing has one driver. CSS transitions and animations stay smooth while the page loads; per-frame script drops frames under load. Per-frame values go straight onto the moving element, never through a variable on a parent (every child restyles) or through app state (a render per frame).
- **Smooth is what's in the frames.** Dropped frames are jank, and a high frame rate alone doesn't make motion smooth: coordination and clean frames do. Judge on the slowest device supported, and on a real phone for anything touched. `will-change` goes only where a 1 px shift at the start is actually seen; a blur stays under 20 px.

## Reduced motion and the other senses

- **Fewer and gentler, not none.** Under reduced motion, slides, springs, zooms and parallax become short crossfades; the opacity and colour changes that say what happened stay. Nothing large travels across the screen, nothing loops slowly (around one cycle every five seconds), brightness never jumps, and show rests out of the way instead of covering the content.
- **One switch.** When motion is off, by the system or by the product's own setting, everything obeys, hover included.
- **Sound and touch belong to the same event.** A sound or a vibration fires on the same frame as the picture, once per action (never per frame, on scroll, or for an entrance the person didn't cause), and never as the only answer, since many people turn them off.

## Whether before how

The order is part of the craft: whether before how, the structure before the curve, the curve before the polish. Motion that already exists is recorded and watched as it is before anything changes (How you know). Then the job and how often it is seen; then what the structure says (what stays, what turns into what, which edge each part uses, where a swap can hide); then the properties, the curve and the duration or the spring; then how it is interrupted and how it leaves; and reduced motion in the same change, never later. To fix motion, delete it first, then reduce it (shorter, smaller, fewer properties), and only then tune it. The honest answer is sometimes no motion at all. Motion comes once the main solution is found.

## How you know

- **Watch it before and after.** Before touching motion that exists, record it as it is and have Gemini 3.8 Flash watch the video and say how it moves: what starts it, what goes where, where it breaks the physics of solid objects. That is the pre-research, and the before that every change is compared with. After the change, the same recording, the same question and the same test show whether it improved. A fix counts when the watching and the numbers agree.
- **How Gemini watches.** Through the Antigravity CLI, where it is installed, on our own recordings only: `--gemini` in the motion check below, or `~/.local/bin/agy -p "…" --mode plan --sandbox --model gemini-3.8-flash-high` run from a folder that holds only the video, telling it to open the video with its file viewing tool and to run no terminal commands. A hand test is filmed by the motion check; a click or a transition, with Playwright's `recordVideo`. It sees about a frame a second, so slow the motion ten times before filming (CSS transitions and Web Animations slow down; drags driven by script don't), draw the pointer into the video, give it the laws of solid objects, and ask for every violation with its timestamp, marked seen or inferred. It can invent details, so each claim is checked against the frame trace.
- **Slow it down.** Play it at a tenth of its speed (the browser's Animations panel, or `Animation.setPlaybackRate` over the DevTools protocol) and step through it frame by frame. Does a part move its own way? Do the parts end together? What is in the middle frames? Does anything the system started pass its target, a library spring left at its defaults included?
- **Interrupt it.** Click, press Esc or grab it again mid-flight: it turns back from where it is, without a jump.
- **Stills with motion off.** For stills of the layout, switch the motion off so everything is in its final place; parts caught mid-entrance get lost. The motion is checked on its own.
- **Measure one action.** `node scripts/motion.cjs <url> --steps '[{"click": "#open"}]' --watch '#panel'`, from kk-1337's folder, records it: a contact sheet of frames, the animations running with their timings, and for each watched element the time to 90% of its travel, when it settles, how far it overshoots and the largest jump between two frames. `--reduced-motion` and `--touch` check those two cases.
- **The motion check** (`node scripts/snap.cjs <url> --motion`, from kk-1337's folder), a review of its own that is offered separately and run when the owner asks for it, and during an analysis when what is studied is itself a movement (it opens, switches, closes or reorders), because the frame trace is often the finding:
  - **Rhythm:** every duration and easing the page declares; more than three durations or two easings means there is no shared rhythm, unless each extra value has a job.
  - **Hover:** what each control on the first screen sets moving; one hover, one timing, no slow start, within 300 ms.
  - **Hands:** anything that moves under the hand (cards and lists, maps and canvases, sliders, splitters, sheets, resize handles) gets a snake (slow, pausing over targets, through every region) and chaotic fast moves (flicks and reversals), traced every frame and held to the laws:
    - the held thing stays within 4 px of the hand in 95% of frames;
    - nothing jumps 30 px ahead of it;
    - the ground stays still: no neighbour snaps 16 px in one frame, and no container jumps 20 px;
    - no reversal within 150 ms;
    - things at rest don't overlap; a lifted thing may float above them;
    - the landing glides: no more than 100 px in the first 100 ms, and no overshoot where the system moves it;
    - everything is at rest within a second.
  - The hand tests run only on a copy (`--sandbox` for a sandbox or staging URL, or a local file), never on live data, because a drop can move real things; `--drag SELECTOR` names what to drag when the check can't find it.
  - A fix counts only when the same test's numbers improve; `--gemini` has Gemini watch the hand tests' recording, as above.
- **On a real phone** for anything touched: the swipes, the sheets, a false tap, a stutter on an older device. Then once more with fresh eyes, the next day.
- **In values.** Each finding names the value before and after (the curve, the milliseconds, the property, the overshoot), never "make it smoother".

## What went wrong before

Seen in agents' work on KK's products:
- Swipes shipped without being tried on a phone: a swipe fired a false tap, the vertical animation didn't run, and everything lagged.
- An interaction was analysed from stills, with the motion left for the final polish. The frame trace, run later, was the core finding: the whole board changed in one frame, and the item just clicked jumped 516 px.
- A rebuilt page was compared with the original screen by screen, but not its animation, and screenshots lost the parts still on their way in.
- Cards grown on hover were clipped by their column, and a card and its children scaled as separate shapes.
- A sticky effect jumped and lagged on scroll, where one plain sticky mechanism was wanted.
- A photo animated as it opened, with no job ("Looks dumb"), and a fade needed a switch per case instead of one mechanism.
- 3D motion turned off in the settings still ran on hover, and motion KK had approved was removed when nobody asked.
- A character was built and animated before its idea was agreed, and had to be redone.

Wersje

W bazie nie ma innych skilli o nazwie kk-motion.

Migawka bazy z 13.11.2026 · wersja paczki 17e3ebc92f12 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 1 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100emil-animation-polish
    Dopracowuje animacje interfejsów webowych w duchu Emila Kowalskiego: przejścia CSS, własne easingi, czasy trwania, reakcje na dotyk i hover oraz audyt płynności.
  • 100motion-craft
    Doradza, czy i jak animować w sieci: czas trwania, krzywe, sprężyna czy przejście, prefers-reduced-motion, a także wejścia, hover, szuflady, odsłanianie przy przewijaniu i gesty przeciągania.
  • 90emilkowal-animations
    Stosuje zasady animacji Emila Kowalskiego w interfejsach webowych: pisanie i przegląd animacji w React, CSS i Framer Motion, w tym przejścia, easing, gesty, toasty i szuflady.
  • 90animation-systems
    Projektuje i wdraża produkcyjny ruch w sieci na wzór Stripe, Linear, Apple i Vercel: zasady ruchu, domyślne easing i czasy, choreografia, interakcje scroll i hover, wydajność i reduced motion.
  • 100ui-animation
    Projektuje, implementuje, recenzuje i odtwarza ruch w UI: przejścia CSS, keyframes, sprężyny, gesty, drag, easing, framer-motion oraz krzywe animacji z nagrań ekranu.
  • 95web-animation-design
    Doradza w projektowaniu animacji webowych: easing, czasy trwania, sprężyny, przejścia, wydajność i dostępność ruchu.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.