105 lines
2.7 KiB
JSON
105 lines
2.7 KiB
JSON
{
|
|
"createdWith": "Open Stage Control",
|
|
"version": "1.30.3",
|
|
"type": "session",
|
|
"content": {
|
|
"type": "root",
|
|
"lock": false,
|
|
"id": "root",
|
|
"visible": true,
|
|
"interaction": true,
|
|
"comments": "",
|
|
"width": "auto",
|
|
"height": "auto",
|
|
"colorText": "auto",
|
|
"colorWidget": "auto",
|
|
"alphaFillOn": "auto",
|
|
"borderRadius": "auto",
|
|
"padding": "auto",
|
|
"html": "",
|
|
"css": "",
|
|
"colorBg": "auto",
|
|
"layout": "default",
|
|
"justify": "start",
|
|
"gridTemplate": "",
|
|
"contain": true,
|
|
"scroll": true,
|
|
"innerPadding": true,
|
|
"tabsPosition": "top",
|
|
"hideMenu": false,
|
|
"variables": "@{parent.variables}",
|
|
"traversing": false,
|
|
"value": "",
|
|
"default": "",
|
|
"linkId": "",
|
|
"address": "auto",
|
|
"preArgs": "",
|
|
"typeTags": "",
|
|
"decimals": 2,
|
|
"target": "127.0.0.1:9000",
|
|
"ignoreDefaults": false,
|
|
"bypass": false,
|
|
"onCreate": "",
|
|
"onValue": "",
|
|
"onTouch": "",
|
|
"onPreload": "",
|
|
"widgets": [
|
|
{
|
|
"type": "xy",
|
|
"top": 120,
|
|
"left": 120,
|
|
"lock": false,
|
|
"id": "fisheye_pan_tilt",
|
|
"visible": true,
|
|
"interaction": true,
|
|
"comments": "XY control for Fisheye Reproject pan and tilt.",
|
|
"width": 420,
|
|
"height": 420,
|
|
"expand": false,
|
|
"colorText": "auto",
|
|
"colorWidget": "auto",
|
|
"colorStroke": "auto",
|
|
"colorFill": "auto",
|
|
"alphaStroke": "auto",
|
|
"alphaFillOff": "auto",
|
|
"alphaFillOn": "auto",
|
|
"lineWidth": "auto",
|
|
"borderRadius": "auto",
|
|
"padding": "auto",
|
|
"html": "",
|
|
"css": "",
|
|
"design": "default",
|
|
"pips": true,
|
|
"snap": false,
|
|
"spring": false,
|
|
"rangeX": {
|
|
"min": -180,
|
|
"max": 180
|
|
},
|
|
"rangeY": {
|
|
"min": -120,
|
|
"max": 120
|
|
},
|
|
"logScaleX": false,
|
|
"logScaleY": false,
|
|
"sensitivity": 1,
|
|
"value": [0, 0],
|
|
"default": [0, 0],
|
|
"linkId": "",
|
|
"address": "/VideoShaderToys/fisheye-reproject/xy",
|
|
"preArgs": "",
|
|
"typeTags": "",
|
|
"decimals": "2f",
|
|
"target": "127.0.0.1:9000",
|
|
"ignoreDefaults": false,
|
|
"bypass": true,
|
|
"split": [],
|
|
"onCreate": "",
|
|
"onValue": "if (touch !== undefined) return;\nvar pan = Array.isArray(value) ? Number(value[0]) : 0;\nvar tilt = Array.isArray(value) ? Number(value[1]) : 0;\nsend('127.0.0.1:9000', '/VideoShaderToys/fisheye-reproject/panDegrees', {type: 'f', value: pan});\nsend('127.0.0.1:9000', '/VideoShaderToys/fisheye-reproject/tiltDegrees', {type: 'f', value: tilt});",
|
|
"onTouch": ""
|
|
}
|
|
],
|
|
"tabs": []
|
|
}
|
|
}
|