Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By superhq-aiv0.18.2MITIn 1 marketplace
Authors deterministic motion-graphics videos in the browser from HTML markup or TypeScript and exports MP4 with WebCodecs. Runs client-side with no headless Chrome or FFmpeg, as a browser-native alternative to Remotion.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
video, motion-graphics, webcodecs, mp4, animation, video-rendering, browser-video, frame-accurate
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
WebMotion is a browser-native alternative to Remotion. No headless Chrome, no FFmpeg, no render farm: compose in the DOM or on a canvas, encode with WebCodecs, and download an MP4, all client-side.
It rests on one rule: everything visible is a pure function of the current frame. Seeking to frame N always produces the same image, whether it's the first frame rendered or the ten-thousandth, in preview or in export. That is what makes rendering seekable, cacheable, and frame-accurate without a server.
npm install @superhq/webmotion
Prefer a ready-made setup? Scaffold a Vite project with a live preview, a zoomable scrub timeline (section labels and an audio lane), and one-click MP4 export:
npx degit superhq-ai/webmotion/template my-video
cd my-video
npm install
npm run dev
Then author your video in src/scene.js and the preview reloads as you save. See template/README.md for the details.
Import the elements entry once and the scene is just markup:
<script type="module">
import "@superhq/webmotion/elements";
</script>
<w-composition width="1280" height="720" fps="30" duration="150" autoplay>
<w-defs>
<w-animation name="fade-up">
<w-animate property="opacity" from="0" to="1" start="0" end="18" easing="easeOutCubic"></w-animate>
<w-animate property="y" from="40" to="0" start="0" end="18" easing="easeOutCubic"></w-animate>
</w-animation>
</w-defs>
<w-rect x="0" y="0" width="1280" height="720" fill="#0d101b"></w-rect>
<w-sequence from="12">
<w-text motion="fade-up" x="0" y="250" width="1280" align="center"
font="700 96px system-ui" color="#f5f6f8">Author in HTML.</w-text>
</w-sequence>
</w-composition>
A <w-sequence from duration> shifts the frame origin for its subtree; a <w-animate> is one tween of one property over a frame window, pure function of the local frame, so the live preview and the exported video are pixel-for-pixel the same scene. Tweens can be written inline as children for one-offs, or defined once in <w-defs> and applied by name with motion="...", class-like. The full rules (scoping, ordering, staggering through sequences) are in the motion spec. Repetition is declarative too: <w-for> stamps templated children from <w-data> JSON with {path + arithmetic} placeholders (template spec); sound is <w-audio> on the same timeline (audio spec); cuts and dissolves between scenes are one element, <w-transition>, a frame-pure dither, wipe, or iris plate that stays cheap at export (transitions). For previewing there is a standard transport, <w-player>: wrap the composition and get play controls, a zoomable scrub timeline with chapter labels from <w-sequence label> and an audio lane, volume and mute, fullscreen, and keyboard control (player spec).
The element drives itself:
const comp = document.querySelector("w-composition");
comp.play();
comp.seek(42); // deterministic: always the exact same image
const blob = await comp.export(); // MP4, encoded in the browser
The programmatic API underneath is a small component contract: renderFrame receives a frame index and draws.
import { Composition, Runtime, Layer, Sequence, CanvasRenderer, interpolate, Easing } from "@superhq/webmotion";
const composition = new Composition({ width: 1280, height: 720, fps: 30, durationInFrames: 180 });
class Title {
mount() {}
renderFrame({ ctx, frame, width, height }) {
ctx.globalAlpha = interpolate(frame, [0, 20], [0, 1], { easing: Easing.easeOutCubic, extrapolateRight: "clamp" });
ctx.fillStyle = "#fff";
ctx.font = "600 84px system-ui";
ctx.textAlign = "center";
ctx.fillText("WebMotion", width / 2, height / 2);
}
destroy() {}
}
const runtime = new Runtime({
composition,
renderer: new CanvasRenderer(1280, 720, { canvas }),
layers: [new Layer({ component: new Title(), sequence: new Sequence({ from: 20 }) })],
});
await runtime.renderFrame(30); // draws exactly frame 30, every time
7-day copy clicks
npx claudepluginhub superhq-ai/webmotion --plugin webmotionPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.