Przejdź do treści
Biblioteka skilli
Marketing i treści · Konwersja i formaty

loop-cover

/loop-cover

Zamienia okładkę newslettera lub bloga w płynnie zapętlony GIF 896 x 640 (180 klatek, 20 fps), w którym rusza się tylko wskazany element, a szew pętli jest zmierzony.

Licencja
MIT
Ostatnia zmiana repozytorium
11.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 11.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

Zamienia okładkę newslettera lub bloga w płynnie zapętlony GIF 896 x 640 (180 klatek, 20 fps), w którym rusza się tylko wskazany element, a szew pętli jest zmierzony.

Wyzwalacze z opisu

animated covermake my cover movelooping GIF covernewsletter cover GIFanimate my thumbnail
Oryginalny opis (EN)

Turn a newsletter or blog cover into a seamless looping GIF at 896 x 640, 180 frames at 20fps. Only the one element you name moves, the loop is rotated so frame 1 shows the finished picture, and the seam is measured, not eyeballed. Use when someone says "animated cover", "make my cover move", "looping GIF cover", "newsletter cover GIF", "animate my thumbnail" or wants a cover that moves in the inbox without looking busy.

Jak działa

  1. Step 1: Ask for three things, then wait
  2. Step 2: Build it
  3. Step 3: Measure it
  4. What I learned the hard way
Sekcje z nagłówków SKILL.md, w oryginale · 55 linii, 581 słów
Podgląd SKILL.md
---
name: loop-cover
description: Turn a newsletter or blog cover into a seamless looping GIF at 896 x 640, 180 frames at 20fps. Only the one element you name moves, the loop is rotated so frame 1 shows the finished picture, and the seam is measured, not eyeballed. Use when someone says "animated cover", "make my cover move", "looping GIF cover", "newsletter cover GIF", "animate my thumbnail" or wants a cover that moves in the inbox without looking busy.
---

# Looping cover GIF

A cover that moves gets noticed in a feed full of stills. It only works if the move is small, the loop never jumps and the first frame still makes sense on its own.

**Before you start:** read `brand.md` and `MOTION.md` if they exist. If not, run `brand-intake` first, or ask for hex codes, a font and a logo file. Never call a result on-brand without them.

## Step 1: Ask for three things, then wait

1. **The cover.** A finished still (PNG) or a cover built in HTML. 896 x 640, or a larger image with the same 7:5 shape.
2. **The one element that moves,** named plainly. "The lighthouse beam." "The orange line drawing itself." "The lines between the cells."
3. **How it moves.** A pulse, a draw-on, a slow drift or a glow. One move, not three.

## Step 2: Build it

**If the cover is HTML:** animate only the named element as a pure function of time, add `window.seek(seconds)`, and capture 180 frames at 20fps (9 seconds).

**If the cover is an image:** animate the still in code. Make a mask of the named element by colour (for example every pixel where blue is much stronger than red), soften its edge a few pixels, and change only those pixels, frame by frame. Nothing outside the mask moves.

For both, use one clean sine cycle or one draw-on, hold and fade across the 9 seconds, so the last frame flows into the first.

**Rotate the loop so frame 1 is the finished picture.** Inboxes and link previews show frame 1 as a still. Frame i draws the moment `((i + offset) mod 180) / 20` seconds, where `offset` puts the fully drawn state first.

Encode with no dithering, because dither adds flicker to every frame of a flat image:

```
ffmpeg -y -framerate 20 -i f%03d.png -filter_complex "split[x][y];[x]palettegen=max_colors=128:stats_mode=full[p];[y][p]paletteuse=dither=none" -loop 0 cover.gif
```

## Step 3: Measure it

```
ffmpeg -v error -y -i cover.gif -vf scale=216:154,format=gray -f rawvideo frames.raw
python3 -c "
n = 216 * 154
d = open('frames.raw', 'rb').read()
f = [d[i:i + n] for i in range(0, len(d), n)]
diff = lambda a, b: sum(abs(x - y) for x, y in zip(a, b)) / n
print('frames', len(f))
print('seam', round(diff(f[-1], f[0]), 2))
print('excursion', round(max(diff(x, f[0]) for x in f), 2))
"
```

Targets from covers I shipped: 180 frames, a seam of 0.0 to 0.3, an excursion of about 0.7 to 2.8, and a file between 0.6 and 2.3 MB. An excursion near zero means nothing visible moves.

## What I learned the hard way

- **"You changed the image entirely."** My first GIF swept a band across the whole frame. Animate only the thing that was named.
- **A video model adds a camera move.** Told "camera holds completely still", it still pushed in. Animating the still in code is the only way to lock the camera.
- **Never measure motion at the halfway frame.** A sine is back at zero there, so a working animation reports no motion. Measure the biggest change against frame 0.
- **In ffmpeg's `eq` filter, add `eval=frame`,** or the expression runs once and nothing moves.
- **Shrink it to 240px wide and look again.** That is the size in an inbox. If the moving element disappears, it is too small.
- **Upload the GIF itself.** Some upload tools convert to PNG and the animation is silently gone. Check the uploaded link still ends in `.gif`.

Wersje

RepozytoriumWynikLicencja
Ta strona · charlie947/motion-graphics-skills100MIT
EyesofInfinity/claude-resolve-editing-suite100MIT

Migawka bazy z 13.11.2026 · wersja paczki ee2366e8db18 (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

  • 90extract-gif-moment
    Wyciąga z nagrania kluczowy moment interakcji jako zapętlony GIF lub krótki klip do changelogu, newslettera i podpowiedzi.
  • 100gif-loop
    Tworzy krótką, bezszwową pętlę GIF od 4 do 10 sekund do README lub postu, renderując stronę HTML i kodując ją w budżecie rozmiaru.
  • 100animated-email-signature
    Tworzy animowaną stopkę e-mail jako zapętlony GIF z imieniem, tytułem i firmą oraz kod HTML do wklejenia w Gmailu.
  • 100animated-diagram
    Zamienia temat projektowania systemów w zapętlony animowany diagram GIF, MP4 lub PNG z marszem strzałek i ikonami, do postów technicznych.
  • 100visual-motion
    Animuje markową kartę w pętlę gotową do publikacji: plik MP4 oraz GIF w limicie pikseli LinkedIn, renderowany w Remotion lub Playwright.
  • 100code-loop
    Tworzy bezszwowe, zapętlone wideo generatywne z kodu lub shadera GLSL i sprawdza, czy pętla nie migocze.

Uwagi i zgłoszenia

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