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

motionproof

/motionproof

Porównuje animację z oryginałem na dwóch nagraniach lub klatkach i określa jej easing oraz czasy trwania.

Repozytorium
motionproof ↗
Licencja
MIT
Ostatnia zmiana repozytorium
04.11.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 04.11.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

Porównuje animację z oryginałem na dwóch nagraniach lub klatkach i określa jej easing oraz czasy trwania.

Oryginalny opis (EN)

Compare an animation copy against its original from two recordings (mp4, mov, webm, gif or PNG frames). Use when rebuilding or cloning an animation, checking whether motion matches a reference, or naming the easing and timing of a clip.

Jak działa

  1. Commands
  2. The loop
  3. Reading the numbers
Sekcje z nagłówków SKILL.md, w oryginale · 36 linii, 301 słów
Podgląd SKILL.md
---
name: motionproof
description: "Compare an animation copy against its original from two recordings (mp4, mov, webm, gif or PNG frames). Use when rebuilding or cloning an animation, checking whether motion matches a reference, or naming the easing and timing of a clip."
---

# motionproof

Grade an animation copy against its original with numbers, then fix the biggest difference and grade it again. Requires Python 3.9+ and ffmpeg on PATH. It does not film anything: get both recordings first, at the same size and frame rate.

## Commands

Run from the repo root:

```bash
python motionproof.py compare reference.mp4 copy.mp4 --out proof --width 480
python motionproof.py ease --video reference.mp4
python motionproof.py ease --series "[[0,0],[100,30],[200,60],[300,80]]"
python motionproof.py --demo
```

Options for `compare`: `--fps`, `--region x,y,w,h`, `--width`, `--start`, `--end`, `--threshold` (default 0.05, use 0.02 for a pixel-exact copy), `--motion-threshold` (default 0.08 s), `--pixel-threshold`, `--blur N` for particles and grain, `--offset K`.

## The loop

1. Run `ease --video` on the reference and use the verdict and fitted `durationMs` in the first build.
2. Film the copy the same way as the reference.
3. Run `compare`, and read `proof/report.md` and `pass` in `proof/report.json`.
4. Fix one cause, then run it again. Keep each round's folder.
5. Stop when `pass.motion` holds in `proof/report.json`: start delay, aligned timing and easing family all match. For a pixel-exact copy, `pass.pixels` must hold too. After 5 rounds with no progress, report the last numbers and the reason. Never loosen a threshold silently.

## Reading the numbers

- `pass.motion` is the verdict for motion: `pass.start`, `pass.timing` and `pass.easing` together.
- `pass.start` compares the raw start of motion before alignment. A copy that starts late fails it.
- `pass.timing` is measured after alignment, so on its own it does not catch a late start.
- `pass.easing` compares best-fit families: out, in, in-out, linear, spring.
- A copy with its own colours fails `pass.pixels` and can still pass `pass.motion`. That is correct.
- Easing from video assumes one main moving subject. Use `--region` when several things move.
- Pure Python: pass `--width 480` for large clips.

Wersje

W bazie nie ma innych skilli o nazwie motionproof.

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

Pobrania w ostatnich 30 dniach: 0 · ranking

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

Podobne skille

  • 100analyze
    Analizuje nagranie ekranu animacji, by określić czasy, easing, transformacje i sekwencje, i odtworzyć ruch jako kod webowy.
  • 95refilm
    Odtwarza animację z wzorca w kodzie projektu, nagrywa obie wersje i porównuje je klatka po klatce, aż timing się zgodzi.
  • 100motiscope-analyze
    Analizuje nagranie ekranu z animacją, aby opisać jej timing, easing, transformacje i sekwencję, tak by można ją odtworzyć w kodzie webowym.
  • 90move-system
    Projektuje system ruchu dla produktu: tokeny czasu trwania, krzywe easingu i zasady animacji.
  • 100motion-design
    Rekomenduje easing i czasy trwania, generuje kod animacji CSS i Framer Motion oraz audytuje ruch pod kątem wydajności i zgodności z prefers-reduced-motion.
  • 85reanimate
    Odtwarza sekcje, widżet lub animację z wzorca klatka po klatce w kodzie użytkownika, a następnie porównuje wynik z wzorcem.

Uwagi i zgłoszenia

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