78 lines
1.7 KiB
JSON
78 lines
1.7 KiB
JSON
{
|
|
"id": "trigger-ripple",
|
|
"name": "Trigger Ripple",
|
|
"description": "A water-drop style ripple that expands across the video whenever the trigger is pressed.",
|
|
"category": "Utility",
|
|
"entryPoint": "shadeVideo",
|
|
"parameters": [
|
|
{
|
|
"id": "drop",
|
|
"label": "Drop",
|
|
"type": "trigger",
|
|
"description": "Momentary trigger that starts a new ripple from the selected center."
|
|
},
|
|
{
|
|
"id": "center",
|
|
"label": "Center",
|
|
"type": "vec2",
|
|
"default": [
|
|
0.5,
|
|
0.5
|
|
],
|
|
"min": [
|
|
0,
|
|
0
|
|
],
|
|
"max": [
|
|
1,
|
|
1
|
|
],
|
|
"step": [
|
|
0.01,
|
|
0.01
|
|
],
|
|
"description": "Origin of the triggered ripple in normalized coordinates."
|
|
},
|
|
{
|
|
"id": "strength",
|
|
"label": "Strength",
|
|
"type": "float",
|
|
"default": 0.12,
|
|
"min": 0,
|
|
"max": 0.3,
|
|
"step": 0.001,
|
|
"description": "Amount of UV distortion caused by the ripple."
|
|
},
|
|
{
|
|
"id": "speed",
|
|
"label": "Duration",
|
|
"type": "float",
|
|
"default": 0.3,
|
|
"min": 0.3,
|
|
"max": 5,
|
|
"step": 0.01,
|
|
"description": "How long the ripple takes to expand and fade."
|
|
},
|
|
{
|
|
"id": "width",
|
|
"label": "Wave Width",
|
|
"type": "float",
|
|
"default": 0.09,
|
|
"min": 0.01,
|
|
"max": 0.25,
|
|
"step": 0.001,
|
|
"description": "Thickness of the travelling ripple ring."
|
|
},
|
|
{
|
|
"id": "damping",
|
|
"label": "Damping",
|
|
"type": "float",
|
|
"default": 0.25,
|
|
"min": 0.05,
|
|
"max": 3,
|
|
"step": 0.05,
|
|
"description": "How quickly the ripple fades as it expands."
|
|
}
|
|
]
|
|
}
|