animacao
Skill4 starsChanged 5 days agoMITView on GitHub
Cria animações e motion graphics por código (Manim ou ffmpeg) — diagramas animados, contadores, gráficos, tipografia cinética, intros — e sobrepõe ou insere no vídeo. Use para /animacao, "anima esse diagrama", "faz uma intro", "motion graphic".
In this repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- 3dSkill
- bancoSkill
- cameraSkill
- cena-webSkill
- checklistSkill
- corteSkill
- destaquesSkill
- editarSkill
- efeitosSkill
- ganchosSkill
- legendaSkill
- ler-telaSkill
- letteringSkill
- marcaSkill
- partituraSkill
- provaSkill
- rastrearSkill
- referenciaSkill
- tela-divididaSkill
- tela-verdeSkill
- texto-atrasSkill
- tomadaSkill
- trilhaSkill
- video-animadoSkill
- videoaulaSkill
- video-docsSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 63
Use /prova para mostrar frames da animação ao usuário antes de compor.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/animacao — motion graphics por código
Siga ${CLAUDE_PLUGIN_ROOT}/docs/convencoes.md (pastas, nomes de saída, loudness, privacidade). Dependências: ${CLAUDE_PLUGIN_ROOT}/scripts/doctor.sh.
Escolha da ferramenta
- Manim Community (MIT) — diagramas, fluxos, gráficos, equações, texto animado. Padrão.
- ffmpeg puro — zoom/punch-in, ken burns em imagem, transições (
xfade), contadores simples. - HTML (Three.js, CSS, GSAP) — 3D com câmera e sombra, cartela com layout de página: skill
/cena-web.
Manim
- Escreva
anim.pycom umaScene. Para sobrepor ao vídeo, use fundo transparente.from manim import * class Cena(Scene): def construct(self): t = Text("TEXTO", weight=BOLD).scale(1.4) self.play(Write(t), run_time=0.8) self.play(t.animate.scale(1.2).set_color(YELLOW), run_time=0.3) self.wait(1) self.play(FadeOut(t, shift=UP), run_time=0.4) - Renderize. Vertical 9:16:
-r 1080,1920. Transparente:-t(gera .mov com alpha).manim -qh -t -r 1080,1920 --fps 30 anim.py Cena -o anim.mov - Sobreponha no momento certo (T0 em segundos):
ffmpeg -i IN.mp4 -itsoffset T0 -i media/videos/anim/*/anim.mov \ -filter_complex "[0:v][1:v]overlay=0:0:eof_action=pass[v]" -map "[v]" -map 0:a -c:a copy IN_anim.mp4
Movimento com vida (easing)
Entre dois quadros-chave, o que muda a sensação é como o movimento acelera e freia. Linear parece robô; o padrão do Manim (smooth) já acelera e freia, e vale escolher de propósito:
| O que se move | rate_func | Por quê |
| elemento que entra na tela | rate_functions.ease_out_cubic | chega rápido e assenta |
| elemento que sai | rate_functions.ease_in_cubic | arranca devagar e some depressa |
| destaque, "pop" de um número ou palavra | rate_functions.ease_out_back | passa um pouco do ponto e volta |
| câmera, deslocamento longo | smooth (padrão) ou rate_functions.ease_in_out_sine | sem tranco nas pontas |
| contador, barra de progresso, rolagem | linear | velocidade constante é a informação |
self.play(FadeIn(cartao, shift=UP * 0.4), rate_func=rate_functions.ease_out_cubic, run_time=0.45)
self.play(numero.animate.scale(1.25), rate_func=rate_functions.ease_out_back, run_time=0.3)Entradas e saídas curtas (0,25–0,5 s); o que precisa ser lido fica parado. No ASS do /lettering, o equivalente é o anim: pop.
ffmpeg — receitas rápidas
- Punch-in (zoom 1.15x num trecho):
-vf "scale=iw*1.15:-2,crop=iw/1.15:ih/1.15"aplicado só ao trecho (separe comtrim+concat) ouzoompanpara zoom progressivo. - Ken Burns em foto (5s):
ffmpeg -loop 1 -i foto.jpg -vf "zoompan=z='min(zoom+0.0015,1.3)':d=150:s=1080x1920:fps=30" -pix_fmt yuv420p -t 5 kb.mp4 - Transição entre clipes:
[0][1]xfade=transition=slideleft:duration=0.3:offset=N, em queNé um número: a duração do primeiro clipe menos 0,3 (calcule comffprobe;xfadenão aceita expressão).
Sincronizar com a fala (diagrama que acompanha a narração)
Use a base "${CLAUDE_PLUGIN_ROOT}/skills/videoaula/templates/base_cenas.py": Trecho com T0/DUR (início e duração do trecho no vídeo), att(t_abs) espera até o instante absoluto da palavra (do .transcript.json, ou do transcript_corte.txt se o vídeo foi cortado) e fim() desvanece exatamente no fim do trecho. Vários diagramas independentes: escreva um por subagente (mesma base, mesma área segura) e revise só a folha dos últimos quadros; renderize em paralelo com skills/videoaula/scripts/render_cenas.sh.
Regras
- Sempre teste com
-ql(baixa qualidade) antes do-qh. - Use
/provapara mostrar frames da animação ao usuário antes de compor.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

