rossark-motion-skill README

The project's README from github.com/rossark0/rossark-motion-skill. As one markdown file: README.md.

A blue silhouette floats in with dangling feet, then a kid in a striped kit drops in, lands, kicks a ball that rolls in from the right, waves, grins and hops

Motion For Anything You Draw

For designers and engineers who want to bring their apps and drawings to life.

Making a drawing move is easy. Making it feel alive is hard: it has to breathe, look around, blink, shift its weight and act, without ever freezing or jumping. This skill helps your agent get there.

It started as the method I used to bring the illustrations in my app to life, and grew into a way to animate anything drawn: characters and creatures, plants, cloth, fire, smoke, water, weather, lights, machines, icons, logos, charts and whole scenes.

The animation above is drawn and animated entirely in code, with the templates in this repo.

Install

npx skills@latest add rossark0/rossark-motion-skill

Why use it?

Agents don't animate like animators.

Ask an agent to bring a character to life and it will often swap one drawing for another, so the face teleports from one expression to the next. It moves through each pose with its own eased tween, so the body stops dead at every pose. Everything moves in sync, like a machine. Blinks are so short they flicker, everything bounces, and a thin line shows across the face where two shapes meet.

All these small things add up, and the result looks like a slideshow instead of something alive.

This skill lists those mistakes and how to fix them: one clock for the whole scene, parts that turn around their real pivots, trailing parts that follow a beat later, idle life that never stops, smooth paths through key poses, small amplitudes and strong curves. When you have a reference video, it measures the motion frame by frame before building, because what makes a reference feel alive is often too small to see.

For motion in an interface, it follows Emil Kowalski's rules and Benji Taylor's Family values.

Reference

Demos

Reveal (source, MP4), at the top of this page. Full-body acting in a phone frame, on one clock, in a 9-second loop at 60 fps:

Garden (source, MP4), a 10-second loop:

A girl in a sun hat waters a sprout; it grows and blooms, a butterfly lands on the flower, she hops with joy, then the petals fall and the sprout returns

Chef (source, MP4), a 9.6-second loop:

A chef flips a pancake; the second flip goes too high, lands on his hat, wobbles, slides off and he catches it in the pan

Orbit (source, MP4):

A round bird with closed eyes floats while a tilted ring of cards orbits around it, with sparkles twinkling

To render them again on macOS 14+:

swiftc -parse-as-library -target arm64-apple-macos14 \
  templates/swiftui/Motion.swift templates/swiftui/LiveFace.swift demo/*.swift -o /tmp/render-demo
/tmp/render-demo reveal /tmp/frames phone fps=60   # or: garden, chef, orbit
ffmpeg -framerate 60 -i /tmp/frames/%04d.png -c:v libx264 -pix_fmt yuv420p -crf 20 demo/reveal.mp4

rossark-motion-skill (rossark0/rossark-motion-skill)

swiftui
Searching Database…

What is this?A Claude Code skill that teaches an AI agent how to turn any SVG drawing into a lifelike 60fps animation, covering live faces, full-body acting, and whole scenes for React Native and SwiftUI.
Is this an app or a skill my agent reads?It is a Claude Code skill: a SKILL.md file of principles and recipes plus supporting engine code (motion.ts for React Native, Motion.swift for SwiftUI) and helper scripts, not a standalone app.
How do I start using it with my agent?You keep SKILL.md next to your project and copy MOTION.md alongside your art, filling in your code locations and rules; the skill is written to be read by the agent first before it starts animating.
Do I need React Native or SwiftUI already in my project?Yes, the engine ships as two implementations: motion.ts/liveFace.tsx for React Native projects and Motion.swift/LiveFace.swift for SwiftUI projects, so you need one of those stacks.
Does this work with any coding agent, or specifically Claude Code?It is built and described specifically as a Claude Code skill, so it is designed around how a Claude Code agent reads and applies skill instructions.
Who is this skill for?Designers and engineers who want to animate their own drawings and app illustrations rather than hire an animator or hand-key every frame.
What platform do the demos render on?The included offline renderer that turns the demo scenes into MP4 and GIF runs on macOS 14 or later.
Why do agent-made animations usually look stiff?Agents tend to swap drawings instantly instead of moving parts, use separate eased tweens per pose so the body freezes between poses, and make blinks so short they flicker, which together make motion look like a slideshow instead of something alive.
What does trackedges.py do?It measures a reference video's subject edges frame by frame to catch motion too small for the eye to notice, like a 2% jiggle, a float, or a sway, before you try to recreate it in code.
What is in the demo folder?The example scenes shown on the project page, a phone frame mockup, and an offline renderer that converts the scenes into MP4 and GIF files.
What does liveFace give you out of the box?Ready-made live eyes and mouths that glide, blink, and smile; you just supply the geometry and colors for your character.
Creator
rossark0
Size
15.1 MB
Stars
864
Updated
CommitOct 22
Age
1mo
Commits · 90 Days