mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-14 18:01:20 +08:00
c3cf2a4577
App-mock animation showing a coding-assistant chat: typed prompt → user bubble → thinking dots → streamed code block → run → terminal output. 12s, 1920x1080, single sub-composition, vanilla GSAP (no plugins). Demonstrates that an entire React/HTML app surface can be authored as a HyperFrames composition and rendered to video by the engine. https://claude.ai/code/session_01J2p1PHWSwrbmKzbVQ9ai1s
62 lines
1.5 KiB
HTML
Vendored
62 lines
1.5 KiB
HTML
Vendored
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=1920, height=1080" />
|
|
<title>Code Agent</title>
|
|
<script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
<link
|
|
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=block"
|
|
rel="stylesheet"
|
|
/>
|
|
<style>
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
width: 1920px;
|
|
height: 1080px;
|
|
overflow: hidden;
|
|
background-color: #010409;
|
|
font-family:
|
|
"Inter",
|
|
-apple-system,
|
|
sans-serif;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div
|
|
id="root"
|
|
data-composition-id="main"
|
|
data-start="0"
|
|
data-duration="12"
|
|
data-width="1920"
|
|
data-height="1080"
|
|
>
|
|
<div
|
|
id="app-layer"
|
|
data-composition-id="code-agent-main"
|
|
data-composition-src="compositions/main.html"
|
|
data-start="0"
|
|
data-duration="12"
|
|
data-track-index="1"
|
|
data-width="1920"
|
|
data-height="1080"
|
|
></div>
|
|
</div>
|
|
|
|
<script>
|
|
window.__timelines = window.__timelines || {};
|
|
const tl = gsap.timeline({ paused: true });
|
|
window.__timelines["main"] = tl;
|
|
</script>
|
|
</body>
|
|
</html>
|