Files
hyperframes/docs/catalog/blocks/whip-pan.mdx

47 lines
1018 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
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>
```