Write HTML. Render video. Built for agents.
JavaScript aiai-agentsanimationclaude-codeffmpegframeworkgsaphtmlhtml-to-videomcpmotion-graphicspuppeteerrenderingtypescriptvideo-editor
<!DOCTYPE html>
<html>
<head>
<style>
html, body { margin: 0; padding: 0; width: 1920px; height: 1080px; background: #111; color: #fff; font-family: system-ui, sans-serif; overflow: hidden; }
.stage { display:flex; align-items:center; justify-content:center; width:100%; height:100%; gap:120px; }
.dial {
width: 400px; height: 400px;
border: 20px solid rgba(255,255,255,0.12);
border-top-color: #60a5fa;
border-radius: 50%;
transform: rotate(0deg);
}
.bar {
width: 600px; height: 120px;
background: linear-gradient(90deg, #f472b6, #60a5fa);
transform: translateX(-300px);
}
.label { font-size: 80px; font-weight: 800; }
</style>
</head>
<body>
<div class="stage">
<div class="dial" id="dial"></div>
<div>
<div class="label">LIVE SITE</div>
<div class="bar" id="bar"></div>
</div>
</div>
<script>
const dial = document.getElementById("dial");
const bar = document.getElementById("bar");
function animate(timeMs) {
const rotation = (timeMs / 2000) * 360;
const offset = Math.sin((timeMs / 3000) * Math.PI) * 300;
dial.style.transform = `rotate(${rotation.toFixed(3)}deg)`;
bar.style.transform = `translateX(${offset.toFixed(3)}px)`;
requestAnimationFrame(animate);
}
requestAnimationFrame(animate);
</script>
</body>
</html>