91 lines
1.7 KiB
JSON
91 lines
1.7 KiB
JSON
{
|
|
"id": "singularity",
|
|
"name": "Singularity",
|
|
"description": "Whirling blackhole and accretion disk. Original by XorDev, adapted from https://www.shadertoy.com/view/3csSWB.",
|
|
"category": "Generative",
|
|
"entryPoint": "shadeVideo",
|
|
"parameters": [
|
|
{
|
|
"id": "speed",
|
|
"label": "Speed",
|
|
"type": "float",
|
|
"default": 1.0,
|
|
"min": 0.0,
|
|
"max": 4.0,
|
|
"step": 0.01
|
|
},
|
|
{
|
|
"id": "scale",
|
|
"label": "Scale",
|
|
"type": "float",
|
|
"default": 0.7,
|
|
"min": 0.25,
|
|
"max": 1.5,
|
|
"step": 0.01
|
|
},
|
|
{
|
|
"id": "strength",
|
|
"label": "Gravity",
|
|
"type": "float",
|
|
"default": 1.0,
|
|
"min": 0.1,
|
|
"max": 3.0,
|
|
"step": 0.01
|
|
},
|
|
{
|
|
"id": "ringRadius",
|
|
"label": "Ring Radius",
|
|
"type": "float",
|
|
"default": 0.7,
|
|
"min": 0.2,
|
|
"max": 1.4,
|
|
"step": 0.01
|
|
},
|
|
{
|
|
"id": "tightness",
|
|
"label": "Tightness",
|
|
"type": "float",
|
|
"default": 1.35,
|
|
"min": 0.5,
|
|
"max": 3.0,
|
|
"step": 0.01
|
|
},
|
|
{
|
|
"id": "brightness",
|
|
"label": "Brightness",
|
|
"type": "float",
|
|
"default": 1.0,
|
|
"min": 0.1,
|
|
"max": 4.0,
|
|
"step": 0.01
|
|
},
|
|
{
|
|
"id": "colorShift",
|
|
"label": "Color Shift",
|
|
"type": "float",
|
|
"default": 1.0,
|
|
"min": -2.0,
|
|
"max": 2.0,
|
|
"step": 0.01
|
|
},
|
|
{
|
|
"id": "center",
|
|
"label": "Center",
|
|
"type": "vec2",
|
|
"default": [0.0, 0.0],
|
|
"min": [-1.0, -1.0],
|
|
"max": [1.0, 1.0],
|
|
"step": [0.001, 0.001]
|
|
},
|
|
{
|
|
"id": "sourceMix",
|
|
"label": "Source Mix",
|
|
"type": "float",
|
|
"default": 0.0,
|
|
"min": 0.0,
|
|
"max": 1.0,
|
|
"step": 0.01
|
|
}
|
|
]
|
|
}
|