explaingit

kumarsashank/motiscope

Analysis updated 2026-05-18

91PythonAudience · developerComplexity · 3/5LicenseSetup · moderate

TLDR

Motiscope turns a screen recording of a web animation into runnable GSAP, CSS, Framer Motion, or Lottie code by measuring exact timing and handing curated frames to an AI model.

Mindmap

mindmap
  root((motiscope))
    What it does
      Video to animation code
      Motion timing analysis
      AI frame interpretation
    Tech stack
      Python
      ffmpeg
      Claude Code
      GSAP
    Use cases
      Animation recreation
      Landing page rebuild
      Easing extraction
    Audience
      Frontend developers
      Motion designers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Recreate a web animation you liked by recording it and generating matching GSAP or CSS code.

USE CASE 2

Rebuild a whole landing page's layout, copy, and animations from a screen-recorded walkthrough.

USE CASE 3

Extract precise easing curves and timing from an existing animation for reuse in a new design.

USE CASE 4

Add animation-recreation as a skill to Claude Code, Cursor, or Codex workflows.

What is it built with?

PythonffmpegClaude CodeGSAP

How does it compare?

kumarsashank/motiscopehuey1in/claudexjiaran-king/re-zero---starting-llm-
Stars919191
LanguagePythonPythonPython
Setup difficultymoderatemoderateeasy
Complexity3/53/51/5
Audiencedeveloperdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires ffmpeg, ffprobe, and Python 3 installed locally to process video recordings.

Permissive open-source license, free to use, modify, and distribute including for commercial purposes.

In plain English

Motiscope is a tool that takes a screen recording of a web animation and turns it back into working code, such as GSAP, CSS, Framer Motion, or Lottie. It is built as a plugin for Claude Code, and also ships as portable skills that work with other coding agents like Codex and Cursor, or anything that reads an AGENTS.md file. It is written in pure Python using only the standard library plus ffmpeg, and does not require the cloud, npm, or any account signups. The core idea is that a still screenshot has no sense of time, so motiscope focuses specifically on measuring timing precisely: it analyzes the video frame by frame to build a motion-energy curve, then uses ffmpeg's signal analysis tools to work out exact durations, easing curves fitted as real cubic-bezier values, when staggered elements start, and how long a loop takes to repeat. It then hands a curated set of the most meaningful frames to an AI model, which uses its vision capabilities to identify what is actually happening visually, like a fade, slide, scale, or shape morph. The measured timing plus the model's read of the visuals together produce the final animation code. Installing it inside Claude Code is done through the plugin marketplace with two commands. For other coding agents, you clone the repository, run an install script that creates a symlink with no admin rights needed, and then run a command to add the skill to your chosen tool's configuration. It requires ffmpeg, ffprobe, and Python 3 to be available, and includes a doctor command that checks for and can install missing dependencies with your permission. Once set up, the main workflow is dropping a video file into an animations folder in your project, then running an analyze command followed by a recreate command targeting the framework you want. It also includes a command that can rebuild an entire landing page, including layout, text, and animations, from a walkthrough recording of an existing site. The project is MIT licensed.

Copy-paste prompts

Prompt 1
Analyze this screen recording and recreate the animation as GSAP code.
Prompt 2
Walk me through installing motiscope as a Claude Code plugin.
Prompt 3
Explain how motiscope measures timing and easing from a video before generating code.
Prompt 4
Rebuild this landing page's scroll animations from a recorded walkthrough using motiscope.

Frequently asked questions

What is motiscope?

Motiscope turns a screen recording of a web animation into runnable GSAP, CSS, Framer Motion, or Lottie code by measuring exact timing and handing curated frames to an AI model.

What language is motiscope written in?

Mainly Python. The stack also includes Python, ffmpeg, Claude Code.

What license does motiscope use?

Permissive open-source license, free to use, modify, and distribute including for commercial purposes.

How hard is motiscope to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is motiscope for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.