Skip to content

Commit 8762887

Browse files
committed
docs: four more guides show the thing instead of describing it
HTML in Canvas, MCP, Skills, and Images and video all had nothing to look at. **HTML in Canvas** puts a real HTML dashboard beside the same pixels running as a live WebGL texture, bent by a shader while the DOM underneath keeps updating and the texture re-captures every frame. That is the whole feature in one shot. **MCP** is an honest reconstruction and says so on screen for its full length — "Illustration of the flow". It could not reach a live connector, so it does not pretend to have one. Describe the video, revise it in plain language, ask for a format, get the render. **Skills** shows a real run of the install command, then the router reading two different requests and picking a different workflow for each. **Images and video** walks the five basic moves — import, place, crop, trim, swap the source — adding one attribute at a time on the left with the result on the right. It serves both /guides/media and /guides/video-components. All four carry a music bed from HeyGen's own catalogue at about -22 dB. Each was checked on a contact sheet before publishing, not taken on the session's word. Blind guides: 15 down to 9.
1 parent 951c6ea commit 8762887

5 files changed

Lines changed: 58 additions & 0 deletions

File tree

‎docs/guides/html-in-canvas.mdx‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,22 @@ title: "HTML in Canvas"
33
description: "Use live DOM content as a texture for WebGL and canvas effects."
44
---
55

6+
import { DocsVideo } from "/snippets/docs-video.jsx";
7+
68
HTML in Canvas uses Chrome's experimental `drawElementImage()` API to copy rendered DOM content into a canvas. That canvas can become a Three.js texture or the input to a shader effect.
79

810
Use it when the visual treatment depends on both real HTML and GPU effects—for example, an interface inside a 3D device or a DOM scene passing through a distortion shader. It is an advanced, browser-dependent technique.
911

12+
<DocsVideo
13+
title="Your dashboard, drawn as a live WebGL texture while its numbers keep updating"
14+
src="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/html-in-canvas-demo-v1.mp4"
15+
poster="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/html-in-canvas-demo-v1.jpg"
16+
/>
17+
18+
The left panel is ordinary HTML and CSS. The right is the same pixels inside a
19+
WebGL scene — bent and lit by a shader, while the DOM underneath keeps changing
20+
and the texture re-captures every frame.
21+
1022
## Start with a proven block
1123

1224
The fastest path is to install a Catalog block that already handles capability detection and fallback behavior:

‎docs/guides/mcp.mdx‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title: "Create through an AI chat"
33
description: "Use the hosted HyperFrames MCP connector to create and render without installing the local CLI."
44
---
55

6+
import { DocsVideo } from "/snippets/docs-video.jsx";
7+
68
HyperFrames MCP is a hosted connector for supported AI chat products. It lets
79
the chat call HyperFrames creation and rendering tools through your HeyGen
810
account without installing the local CLI.
@@ -12,6 +14,16 @@ account without installing the local CLI.
1214
can change.
1315
</Note>
1416

17+
<DocsVideo
18+
title="Making and revising a video inside an AI chat, then rendering it"
19+
src="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/mcp-flow-demo-v1.mp4"
20+
poster="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/mcp-flow-demo-v1.jpg"
21+
/>
22+
23+
An illustration of the flow, labelled as such on screen — describe the video,
24+
revise it in plain language, ask for the format you need, and the render comes
25+
back. Nothing is installed locally.
26+
1527
## Choose hosted or local
1628

1729
Use the hosted connector when you want:

‎docs/guides/media.mdx‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,21 @@ sidebarTitle: "Overview"
44
description: "Use footage, images, audio, captions, backgrounds, and color in a HyperFrames project."
55
---
66

7+
import { DocsVideo } from "/snippets/docs-video.jsx";
8+
79
Media can come from your project, a captured website, an upload, or a generated
810
asset. Put anything required for the final result inside the project so preview
911
and rendering use the same file.
1012

13+
<DocsVideo
14+
title="The five basic moves: import, place, crop, trim, and swap the source"
15+
src="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/media-basics-demo-v1.mp4"
16+
poster="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/media-basics-demo-v1.jpg"
17+
/>
18+
19+
Each step adds one attribute on the left and shows the result on the right. The
20+
last one swaps the file entirely — everything else about the scene stays put.
21+
1122
## Start with the role, not the effect
1223

1324
| Media | Give it one main job |

‎docs/guides/skills.mdx‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,20 @@ sidebarTitle: "Agent skills"
44
description: "Teach a coding agent how to create valid HyperFrames projects and load specialized workflows when needed."
55
---
66

7+
import { DocsVideo } from "/snippets/docs-video.jsx";
8+
79
HyperFrames skills teach coding agents the project format, animation rules, media workflow, validation loop, and creation workflows that generic web knowledge does not cover.
810

11+
<DocsVideo
12+
title="One command installs the skills, and the router picks the workflow"
13+
src="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/skills-install-demo-v1.mp4"
14+
poster="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/skills-install-demo-v1.jpg"
15+
/>
16+
17+
The terminal output is a real run of the command. Afterwards the router reads a
18+
request and chooses the workflow for it, instead of the agent guessing at the
19+
framework's rules.
20+
921
## Install for a person
1022

1123
Run the interactive installer:

‎docs/guides/video-components.mdx‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ sidebarTitle: "Images and video"
44
description: "Import, place, replace, trim, and review images and footage in a HyperFrames project."
55
---
66

7+
import { DocsVideo } from "/snippets/docs-video.jsx";
8+
79
Images and footage should enter the project once, remain easy to identify, and
810
behave the same in preview and the final render.
911

@@ -19,6 +21,15 @@ behave the same in preview and the final render.
1921
/>
2022
</Frame>
2123

24+
<DocsVideo
25+
title="The five basic moves: import, place, crop, trim, and swap the source"
26+
src="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/media-basics-demo-v1.mp4"
27+
poster="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/media-basics-demo-v1.jpg"
28+
/>
29+
30+
Each step adds one attribute and shows the result. The last swaps the source
31+
file; the crop, timing and placement around it stay exactly as they were.
32+
2233
## Import a file
2334

2435
In Studio:

0 commit comments

Comments
 (0)