Write HTML. Render video. Built for agents.
JavaScript aiai-agentsanimationclaude-codeffmpegframeworkgsaphtmlhtml-to-videomcpmotion-graphicspuppeteerrenderingtypescriptvideo-editor
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, height=1080">
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js" integrity="sha384-d+vyQ0dYcymoP8ndq2hW7FGC50nqGdXUEgoOUGxbbkAJwZqL7h+jKN0GGgn9hFDS" crossorigin="anonymous"></script>
<style>
body { margin: 0; background: #0d1117; width: 1080px; height: 1080px; overflow: hidden; }
#box {
position: absolute; left: 440px; top: 440px; width: 200px; height: 200px;
background: #58a6ff; border-radius: 28px;
}
#label {
position: absolute; top: 90px; width: 1080px; text-align: center;
color: #e6edf3; font: bold 56px sans-serif;
}
</style>
</head>
<body>
<div id="root" data-composition-id="root" data-width="1080" data-height="1080" data-duration="2"
style="position:absolute;width:1080px;height:1080px;">
<div id="label">FAST CAPTURE</div>
<div id="box"></div>
</div>
<script>
const tl = gsap.timeline({ paused: true });
tl.to("#box", { rotation: 360, x: 220, y: -120, duration: 2, ease: "none" }, 0);
tl.to("#box", { backgroundColor: "#3fb950", duration: 2, ease: "none" }, 0);
window.__timelines["root"] = tl;
</script>
</body>
</html>