mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-07 01:56:04 +00:00
This reverts commit 3b53bfd2f7.
This commit is contained in:
@@ -1,57 +0,0 @@
|
||||
{
|
||||
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
||||
"name": "fade-through",
|
||||
"type": "hyperframes:component",
|
||||
"title": "Fade Through",
|
||||
"description": "A calm transition primitive that fades one layer out, passes through a wash, and reveals the next layer",
|
||||
"tags": ["motion-primitive", "transition", "fade", "scene"],
|
||||
"files": [
|
||||
{
|
||||
"path": "fade-through.html",
|
||||
"target": "compositions/components/fade-through.html",
|
||||
"type": "hyperframes:snippet"
|
||||
}
|
||||
],
|
||||
"variables": [
|
||||
{
|
||||
"id": "wash",
|
||||
"type": "enum",
|
||||
"role": "style",
|
||||
"label": "Wash",
|
||||
"description": "Colour of the mid-transition frame. Paper resolves through --hf-fade-through-wash, accent rides --accent.",
|
||||
"default": "paper",
|
||||
"options": [
|
||||
{ "value": "paper", "label": "Paper" },
|
||||
{ "value": "white", "label": "White" },
|
||||
{ "value": "ink", "label": "Ink" },
|
||||
{ "value": "accent", "label": "Accent" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "strength",
|
||||
"type": "number",
|
||||
"role": "style",
|
||||
"label": "Strength",
|
||||
"description": "How far the wash covers at its peak. 1 is a full flash, 0.3 a light veil.",
|
||||
"default": 1,
|
||||
"min": 0.1,
|
||||
"max": 1,
|
||||
"step": 0.05
|
||||
},
|
||||
{
|
||||
"id": "shape",
|
||||
"type": "enum",
|
||||
"role": "style",
|
||||
"label": "Shape",
|
||||
"description": "Flat fills the frame evenly, bloom concentrates the wash in the centre.",
|
||||
"default": "flat",
|
||||
"options": [
|
||||
{ "value": "flat", "label": "Flat" },
|
||||
{ "value": "bloom", "label": "Bloom" }
|
||||
]
|
||||
}
|
||||
],
|
||||
"preview": {
|
||||
"poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/fade-through.png"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user