mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-12 20:47:30 +00:00
47 lines
1018 B
Plaintext
47 lines
1018 B
Plaintext
---
|
||
title: "Whip Pan"
|
||
description: "Shader transition simulating a fast camera whip pan"
|
||
---
|
||
|
||
import { HyperframesPreview } from "../../snippets/HyperframesPreview.jsx";
|
||
|
||
# Whip Pan
|
||
|
||
Shader transition simulating a fast camera whip pan
|
||
|
||
`transition` `shader`
|
||
|
||
<HyperframesPreview src="/registry/blocks/whip-pan/whip-pan.html" poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/whip-pan.png" />
|
||
|
||
## Install
|
||
|
||
<CodeGroup>
|
||
|
||
```bash Terminal
|
||
npx hyperframes add whip-pan
|
||
```
|
||
|
||
</CodeGroup>
|
||
|
||
## Details
|
||
|
||
| Property | Value |
|
||
| --- | --- |
|
||
| Type | Block |
|
||
| Dimensions | 1920×1080 |
|
||
| Duration | 4s |
|
||
|
||
## Files
|
||
|
||
| File | Target | Type |
|
||
| --- | --- | --- |
|
||
| `whip-pan.html` | `compositions/whip-pan.html` | hyperframes:composition |
|
||
|
||
## Usage
|
||
|
||
After installing, add the block to your host composition:
|
||
|
||
```html
|
||
<div data-composition-id="whip-pan" data-composition-src="compositions/whip-pan.html" data-start="0" data-duration="4" data-track-index="1" data-width="1920" data-height="1080"></div>
|
||
```
|