Motion Prompts AI

Remotion vs HyperFrames vs Plain HTML: Which Should You Use for YouTube Motion Graphics?

All three draw your animation in a browser and turn it into video. They differ in what Claude writes, how you check the result, what you can export and what the license allows.

Updated 9 min read

On this page

Choose HyperFrames if you want plain HTML files, no build step and a permissive Apache 2.0 license. Choose Remotion if you or your team already work in React, want typed and reusable templates and the longest track record, and either qualify for its free license (individuals, companies with up to 3 employees, non-profits) or are ready to buy a company license. Use a single HTML file for quick tests and web embeds, and capture it with a short headless-browser script when you need a video. All three render through Chrome, so the visual ceiling is the same; the real differences are workflow, export and license.

Short verdict by profile

ProfilePickWhy
Solo YouTuberEither; HyperFrames for the lightest setupBoth are free for an individual. HyperFrames projects are HTML files you can open in a browser; Remotion gives you Remotion Studio and a large template ecosystem.
For-profit team of more than 3 peopleHyperFrames, or Remotion with a company licenseRemotion's free license stops at 3 employees for for-profit companies; Apache 2.0 has no threshold.
Developer building a product or pipelineRemotion on a React stack, otherwise HyperFramesRemotion reuses your React components, typed inputs and chart libraries; HyperFrames needs no React and its CLI is non-interactive by default.
Designer fluent in HTML, CSS and GSAPHyperFramesYour existing CSS and GSAP skills carry over directly.

How each one works

Remotion: React components driven by the frame number

A Remotion video is a React component. useCurrentFrame() returns the current frame, and you compute every style from it, usually with interpolate() and an Easing function. A <Composition> registers the component with an id, a duration in frames, a frame rate and a size. npm run dev opens Remotion Studio for preview, and npx remotion render writes the file. By default Remotion downloads its own Chrome Headless Shell and provides its own FFmpeg, so you do not install a browser or FFmpeg yourself.

HyperFrames: HTML with a seekable timeline

A HyperFrames video is an HTML file. Data attributes (data-start, data-duration, data-track-index) say when each clip is on screen, and an animation library says how it moves, usually a GSAP timeline created paused and registered on window.__timelines. The renderer seeks that timeline to each frame in headless Chrome and encodes with FFmpeg, so the same input gives the same video. Adapters also cover CSS animations, Lottie, Three.js, Anime.js and the Web Animations API.

Plain HTML: one file and your own capture

A single file with a render(t) function that draws the scene at time t. It previews in any browser with no tooling. To export, a short script steps a headless browser through every frame, screenshots each one, and FFmpeg encodes the sequence. You own the whole pipeline, which is flexible and also the most work to keep reliable.

The same scene, built three ways

Here is one title that rises into place over 2.4 seconds, starting at 0.3 seconds, with a bell-shaped speed curve (a cubic ease-in-out). The motion is identical in all three; only the authoring model changes.

Remotion (Title.tsx)
import {AbsoluteFill, Easing, interpolate, useCurrentFrame, useVideoConfig} from 'remotion';

export const Title = () => {
  const frame = useCurrentFrame();
  const {fps} = useVideoConfig();
  // 2.4 s rise starting at 0.3 s: slow, fast, slow
  const k = interpolate(frame, [0.3 * fps, 2.7 * fps], [0, 1], {
    easing: Easing.inOut(Easing.cubic),
    extrapolateLeft: 'clamp',
    extrapolateRight: 'clamp',
  });
  return (
    <AbsoluteFill style={{justifyContent: 'center', alignItems: 'center'}}>
      <h1 style={{opacity: k, transform: `translateY(${(1 - k) * 60}px)`}}>Key insight</h1>
    </AbsoluteFill>
  );
};
HyperFrames (index.html)
<div id="stage" data-composition-id="title" data-start="0" data-duration="6"
     data-width="1920" data-height="1080">
  <h1 id="t" class="clip" data-start="0" data-duration="6" data-track-index="0">Key insight</h1>
</div>
<script src="https://cdn.jsdelivr.net/npm/gsap@3/dist/gsap.min.js"></script>
<script>
  // 2.4 s rise starting at 0.3 s: slow, fast, slow
  const tl = gsap.timeline({paused: true});
  tl.fromTo('#t', {opacity: 0, y: 60}, {opacity: 1, y: 0, duration: 2.4, ease: 'power3.inOut'}, 0.3);
  window.__timelines = window.__timelines || {};
  window.__timelines.title = tl;
</script>
Plain HTML (scene.html)
<h1 id="t">Key insight</h1>
<script>
  const ease = (x) => (x < 0.5 ? 4 * x * x * x : 1 - Math.pow(-2 * x + 2, 3) / 2);
  const clamp = (x) => Math.min(1, Math.max(0, x));
  // Every frame is computed from t in seconds; a capture script calls render(frame / fps)
  window.render = (t) => {
    const k = ease(clamp((t - 0.3) / 2.4));
    const el = document.getElementById('t');
    el.style.opacity = k;
    el.style.transform = `translateY(${(1 - k) * 60}px)`;
  };
</script>

Remotion counts in frames, so you convert seconds yourself; HyperFrames and plain HTML count in seconds. The Remotion version is a pure function you can reason about line by line. The HyperFrames version is a page you can open and inspect with developer tools, but it depends on rules: the timeline must be created paused and registered under the composition id, and an unregistered timeline renders as a still frame. That is the kind of mistake npx hyperframes check, which looks for runtime, layout and motion problems in a real browser, is there to catch. The plain HTML version is the shortest and the least guarded.

We do not publish render-time benchmarks: render time depends on your machine, resolution and effects far more than on the framework. HyperFrames' own comparison page (opens in a new tab) runs one agent request through each tool and notes that a single run decides nothing about quality, which matches our view.

Capturing the plain HTML version

This is the whole export pipeline for a file like the one above, using Playwright (opens in a new tab) (Puppeteer works the same way). omitBackground drops the browser's default white background, so as long as the page paints no background of its own, the PNG frames carry alpha.

capture.mjs
// capture.mjs  (npm i playwright, create a frames/ folder, then: node capture.mjs)
import {chromium} from 'playwright';
import {pathToFileURL} from 'node:url';

const fps = 30, seconds = 6;
const browser = await chromium.launch();
const page = await browser.newPage({viewport: {width: 1920, height: 1080}});
await page.goto(pathToFileURL('scene.html').href);
await page.evaluate(async () => { await document.fonts.ready; });
for (let f = 0; f < fps * seconds; f++) {
  await page.evaluate((t) => window.render(t), f / fps);
  await page.screenshot({path: `frames/${String(f).padStart(5, '0')}.png`, omitBackground: true});
}
await browser.close();
Encode with FFmpeg
# MP4 for upload
ffmpeg -framerate 30 -i frames/%05d.png -c:v libx264 -pix_fmt yuv420p -crf 18 scene.mp4
# ProRes 4444 with alpha, for your editor
ffmpeg -framerate 30 -i frames/%05d.png -c:v prores_ks -profile:v 4444 -pix_fmt yuva444p10le overlay.mov

Setup with Claude Code

ItemRemotionHyperFramesPlain HTML
Installnpx create-video --yes --blank my-video, then npx remotion skills addThe Claude Code plugin: claude plugin marketplace add heygen-com/hyperframes, then claude plugin install hyperframes@hyperframesNothing to preview; Playwright or Puppeteer and FFmpeg to export
What Claude writesTypeScript React components and a composition registryHTML files with data attributes and a GSAP timelineOne HTML file with a render(t) function
PreviewRemotion Studio (npm run dev)Browser editor (npx hyperframes preview)Any browser
Checks before renderingType errors, npx remotion stillnpx hyperframes lint, check and snapshotWhatever you script
RequirementsNode.js; Windows (x64), macOS or LinuxNode.js 22 or newer and FFmpegA browser; Node.js and FFmpeg to export

Whichever you pick, install the official skills before the first prompt (Remotion (opens in a new tab), HyperFrames (opens in a new tab)). The step-by-step workflow, from plan mode to the final render, is in how to make motion graphics with Claude.

Licenses

Remotion. Under its license (opens in a new tab), Remotion is free for individuals, for-profit organizations with up to 3 employees, non-profit or not-for-profit organizations, and anyone evaluating it before using it commercially. Everyone else needs a company license (pricing (opens in a new tab)). The license also forbids selling, renting or relicensing your own modified copy of Remotion, and Remotion has announced that the license will change slightly in version 5.0, so re-read it when you upgrade.

HyperFrames. Apache 2.0, which allows use, modification and distribution, commercial work included, under its terms, with no per-render fees or commercial-use thresholds. Rendering on your own computer needs no account; HeyGen's hosted extras, such as cloud rendering, voices and avatars, are billed separately.

Plain HTML. Your code is yours. Libraries keep their own licenses: GSAP (opens in a new tab), for example, is free for commercial use under its standard license; its main restriction targets no-code visual animation builders that compete with Webflow.

Control and quality

  • Easing. Any curve in both: Easing.bezier() or Easing.inOut(Easing.cubic) in Remotion; GSAP eases such as power3.inOut, or a CustomEase, in HyperFrames. The bell-shaped curve our library uses is available everywhere.
  • 3D camera. Both render in Chrome, so CSS 3D (perspective, translateZ) works in both. For true 3D scenes, Remotion has @remotion/three for Three.js, and HyperFrames supports Three.js through an adapter.
  • Fonts. Load fonts before capture in both. Remotion offers @remotion/fonts and @remotion/google-fonts; HyperFrames expects an @font-face declaration, and its linter reports fonts the project does not declare.
  • Motion blur and transitions. Remotion has @remotion/motion-blur and @remotion/transitions. HyperFrames ships WebGL shader transitions and catalog blocks you install with npx hyperframes add.
  • Determinism. Remotion is deterministic when every value derives from the frame number. HyperFrames seeks every supported animation runtime, so GSAP, CSS animations and Lottie render the same frame every time.

Export: MP4, transparent WebM and ProRes 4444

Flags from the Remotion transparent-video docs, the HyperFrames rendering guide and the FFmpeg codec documentation.
FormatRemotionHyperFramesPlain HTML + FFmpeg
MP4 (H.264)The default of npx remotion rendernpx hyperframes render --output final.mp4-c:v libx264 -pix_fmt yuv420p
WebM with alpha--codec=vp8 --pixel-format=yuva420p --image-format=png--format webm-c:v libvpx-vp9 -pix_fmt yuva420p
ProRes 4444 with alpha--codec=prores --prores-profile=4444 --pixel-format=yuva444p10le --image-format=png--format mov-c:v prores_ks -profile:v 4444 -pix_fmt yuva444p10le

For editing, Remotion's docs (opens in a new tab) list Final Cut Pro, Adobe Premiere and DaVinci Resolve as supporting ProRes, and the 4444 profile carries alpha. WebM with alpha suits browsers. CapCut's handling of alpha imports varies, so test a short clip; if the background comes in black, render over a solid green and key it out, or render the scene full-frame. Whatever the tool, a transparent export only works if the scene leaves its background unpainted.

Ecosystem

Remotion has the longer history: Remotion Elements (opens in a new tab) (drop-in, remixable building blocks), a Prompt Showcase (opens in a new tab) of community videos made with its skills and coding agents, official templates, and Remotion Lambda for distributed rendering, which the HyperFrames documentation itself calls mature and heavily documented.

HyperFrames has a catalog (opens in a new tab) of blocks and components (transitions, captions, charts, 3D, camera moves) you add with one command, a browser editor, a desktop Studio app with a free plan, and rendering paths from your own computer to AWS Lambda, Google Cloud Run and HeyGen's cloud.

In our library, every animation can be built either way: the same scene comes with a prompt for Remotion, HyperFrames or plain HTML. Start from the Remotion, HyperFrames or HTML hub, or browse all animations.

Decision table

If youChoose
Already write React or want typed, reusable templatesRemotion
Want files you can open in a browser, with no build stepHyperFrames
Are a for-profit company with more than 3 employees and want no license feeHyperFrames
Need the most established distributed rendererRemotion, with Remotion Lambda
Want to reuse existing GSAP or CSS animationHyperFrames
Need a quick test, a prototype or a web embedPlain HTML
Want to fine-tune by hand after Claude builds itEither: Remotion Studio or the HyperFrames browser editor

FAQ

Can I move a Remotion project to HyperFrames?

Yes. HyperFrames publishes a migration skill, installed with npx skills add heygen-com/hyperframes --skill remotion-to-hyperframes. According to its documentation, it maps useCurrentFrame and interpolate onto timeline tweens and Sequence onto clips, renders both versions to compare them frame by frame, and flags what it cannot translate, such as React state machines and third-party React UI libraries. We know of no official tool for the opposite direction; there, ask Claude to rewrite the scene as React components.

Which one does Claude get right more often?

We have not run a controlled benchmark, and a handful of runs would not settle it. What makes the biggest difference is that the official skills are installed and that the prompt fixes the text, the timeline and the motion rules (how to write that prompt). The failure modes differ: a Remotion mistake usually surfaces as a type or render error, while a HyperFrames mistake can fail quietly, as with an unregistered timeline, which is why its lint and check commands are worth running before every render.

Do both work on Windows?

Yes. Remotion supports Windows on x64, macOS and Linux, and HyperFrames states that its CLI and skills run on Windows, including rendering from PowerShell.

Will my scenes look better in one of them?

Not by default. Both render the same Chrome pixels, so the look comes from the design decisions in your prompt: durations, easing, depth, fonts and color. Those rules are covered in why AI motion graphics look generic.

Try it

Open a live animation, type your own text, pick a color and a format, then copy the prompt for Claude.

Browse all animations

Sources

Official documentation, checked on .

Claude is a trademark of Anthropic. Motion Prompts AI is independent and not affiliated with Anthropic, Remotion or HeyGen.