From b46384291430750fa49ebec7f33ccc93c7a0ab7e Mon Sep 17 00:00:00 2001 From: Michael Winter Date: Mon, 2 Dec 2019 19:22:20 -0600 Subject: [PATCH] adding open stage control gui and updating readme --- README.txt | 6 +- openstagecontrol/stepper_control_gui.json | 650 ++++++++++++++++++++++ 2 files changed, 654 insertions(+), 2 deletions(-) create mode 100644 openstagecontrol/stepper_control_gui.json diff --git a/README.txt b/README.txt index 463f2dc..a202921 100644 --- a/README.txt +++ b/README.txt @@ -3,6 +3,8 @@ a history of the domino problemo note that this code produces files in two subfolders the supercollider code makes png files in a subfolder called "visualization" the klayout code reads the above files and outputs gds files in a subfolder called "gds" -these are included in the attachment for the code release here or at: -www.unboundedpress.org/code_releases/a_history_of_the_domino_problem_source.zip +these are included in the attachment for the code release here: +https://gitea.unboundedpress.org/mwinter/a_history_of_the_domino_problem/releases + +more extensive readme coming soon... diff --git a/openstagecontrol/stepper_control_gui.json b/openstagecontrol/stepper_control_gui.json new file mode 100644 index 0000000..ebdcff1 --- /dev/null +++ b/openstagecontrol/stepper_control_gui.json @@ -0,0 +1,650 @@ +{ + "type": "root", + "id": "root", + "linkId": "", + "color": "auto", + "css": "", + "default": "", + "value": "", + "precision": 2, + "address": "/root", + "preArgs": "", + "target": "", + "bypass": false, + "traversing": false, + "variables": {}, + "tabs": [ + { + "type": "tab", + "id": "main_tab", + "linkId": "", + "label": "a history of the domino problem", + "color": "white", + "css": ":root {\n--color-bg: black;\n--color-raised: black;\n--color-accent: grey;\n--color-light: grey;\n}", + "default": "", + "value": "", + "precision": 2, + "address": "/tab_1", + "preArgs": "", + "target": "", + "bypass": false, + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "panel", + "top": "auto", + "left": "auto", + "id": "main_panel", + "linkId": "", + "width": 502, + "height": 312, + "label": false, + "color": "auto", + "css": "> .panel {\n background-color: black;\n border: 2px solid grey;\n}\n:host {\n top:calc(50% - 156rem);\n left:calc(50% - 251rem);\n}", + "scroll": true, + "border": true, + "default": "", + "value": "", + "precision": 2, + "address": "/main_panel", + "preArgs": "", + "target": "", + "bypass": true, + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "text", + "top": 248, + "left": 10, + "id": "message", + "linkId": "", + "width": 478, + "height": 50, + "label": false, + "color": "white", + "css": ".text {\n background-color: black;\n border: 1px solid grey;\n}", + "vertical": false, + "wrap": false, + "align": "", + "default": " ", + "value": "", + "address": "/message", + "preArgs": "" + }, + { + "type": "panel", + "top": 10, + "left": 248, + "id": "jog", + "linkId": "", + "width": 240, + "height": 240, + "label": false, + "color": "auto", + "css": ".panel {\n background-color: black;\n border: 2px solid grey;\n}", + "value": "", + "precision": 2, + "address": "/jog", + "preArgs": "", + "target": "", + "bypass": true, + "scroll": false, + "border": false, + "default": "", + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "push", + "top": 150, + "left": 90, + "id": "jog_down", + "linkId": "", + "width": 60, + "height": 60, + "label": "^arrow-alt-circle-down", + "color": "auto", + "css": ":host{\n--color-raised:#2A2A2D;\n}\n> .label {\nfont-size: 300%;\n}", + "doubleTap": false, + "on": -1, + "off": 0, + "norelease": false, + "value": "", + "precision": 1, + "address": "/jog_vertical", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "push", + "top": 90, + "left": 150, + "id": "jog_right", + "linkId": "", + "width": 60, + "height": 60, + "label": "^arrow-alt-circle-right", + "color": "auto", + "css": ":host{\n--color-raised:#2A2A2D;\n}\n> .label {\nfont-size: 300%;\n}", + "doubleTap": false, + "on": 1, + "off": 0, + "norelease": false, + "value": "", + "precision": 1, + "address": "/jog_horizontal", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "push", + "top": 90, + "left": 30, + "id": "jog_left", + "linkId": "", + "width": 60, + "height": 60, + "label": "^arrow-alt-circle-left", + "color": "auto", + "css": ":host{\n--color-raised:#2A2A2D;\n}\n> .label {\nfont-size: 300%;\n}", + "doubleTap": false, + "on": -1, + "off": 0, + "norelease": false, + "value": "", + "precision": 1, + "address": "/jog_horizontal", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "push", + "top": 30, + "left": 90, + "id": "jog_up", + "linkId": "", + "width": 60, + "height": 60, + "label": "^arrow-alt-circle-up", + "color": "auto", + "css": ":host{\n--color-raised:#2A2A2D;\n}\n> .label {\nfont-size: 300%;\n}", + "doubleTap": false, + "on": 1, + "off": 0, + "norelease": false, + "value": "", + "precision": 1, + "address": "/jog_vertical", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "toggle", + "top": 203, + "left": 203, + "id": "automate", + "linkId": "", + "width": 30, + "height": 30, + "label": "#{\n@{this} == 1 ? \"^stop\" : \"^play\"\n}", + "color": "grey", + "css": ":host{\n--color-raised:#2A2A2D;\n> .label {\nfont-size: 150%;\n}", + "doubleTap": false, + "on": 1, + "off": 0, + "value": "", + "precision": 1, + "address": "/automate", + "preArgs": "", + "target": "", + "bypass": false, + "led": false, + "default": "" + } + ], + "tabs": [] + }, + { + "type": "panel", + "top": 10, + "left": 10, + "id": "img_matrix", + "linkId": "", + "width": 240, + "height": 240, + "label": false, + "color": "auto", + "css": ".panel {\n background-color: black;\n border: 2px solid grey;\n}", + "scroll": false, + "border": false, + "default": "", + "value": "", + "precision": 2, + "address": "/image_select", + "preArgs": "", + "target": "", + "bypass": true, + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "toggle", + "top": 20, + "left": 20, + "id": "img_1_select", + "linkId": "", + "width": 40, + "height": 40, + "label": false, + "color": "auto", + "css": ":host{\n--color-raised:#2A2A2D;\n}\n:host.on{\n--color-bg:white;\n}", + "doubleTap": false, + "led": false, + "on": 1, + "off": -1, + "default": "", + "value": "", + "precision": 2, + "address": "/img_select", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "toggle", + "top": 20, + "left": 100, + "id": "img_2_select", + "linkId": "", + "width": 40, + "height": 40, + "label": false, + "color": "auto", + "css": ":host{\n--color-raised:#2A2A2D;\n}\n:host.on{\n--color-bg:white;\n}", + "doubleTap": false, + "led": false, + "on": 2, + "off": -2, + "default": "", + "value": "", + "precision": 2, + "address": "/img_select", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "toggle", + "top": 20, + "left": 180, + "id": "img_3_select", + "linkId": "", + "width": 40, + "height": 40, + "label": false, + "color": "auto", + "css": ":host{\n--color-raised:#2A2A2D;\n}\n:host.on{\n--color-bg:white;\n}", + "doubleTap": false, + "led": false, + "on": 3, + "off": -3, + "default": "", + "value": "", + "precision": 2, + "address": "/img_select", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "toggle", + "top": 100, + "left": 20, + "id": "img_4_select", + "linkId": "", + "width": 40, + "height": 40, + "label": false, + "color": "auto", + "css": ":host{\n--color-raised:#2A2A2D;\n}\n:host.on{\n--color-bg:white;\n}", + "doubleTap": false, + "led": false, + "on": 4, + "off": -4, + "default": "", + "value": "", + "precision": 2, + "address": "/img_select", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "toggle", + "top": 180, + "left": 20, + "id": "img_7_select", + "linkId": "", + "width": 40, + "height": 40, + "label": false, + "color": "auto", + "css": ":host{\n--color-raised:#2A2A2D;\n}\n:host.on{\n--color-bg:white;\n}", + "doubleTap": false, + "led": false, + "on": 7, + "off": -7, + "default": "", + "value": "", + "precision": 2, + "address": "/img_select", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "toggle", + "top": 100, + "left": 100, + "id": "img_5_select", + "linkId": "", + "width": 40, + "height": 40, + "label": false, + "color": "auto", + "css": ":host{\n--color-raised:#2A2A2D;\n}\n:host.on{\n--color-bg:white;\n}", + "doubleTap": false, + "led": false, + "on": 5, + "off": -5, + "default": "", + "value": "", + "precision": 2, + "address": "/img_select", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "toggle", + "top": 100, + "left": 180, + "id": "img_6_select", + "linkId": "", + "width": 40, + "height": 40, + "label": false, + "color": "auto", + "css": ":host{\n--color-raised:#2A2A2D;\n}\n:host.on{\n--color-bg:white;\n}", + "doubleTap": false, + "led": false, + "on": 6, + "off": -6, + "default": "", + "value": "", + "precision": 2, + "address": "/img_select", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "toggle", + "top": 180, + "left": 100, + "id": "img_8_select", + "linkId": "", + "width": 40, + "height": 40, + "label": false, + "color": "auto", + "css": ":host{\n--color-raised:#2A2A2D;\n}\n:host.on{\n--color-bg:white;\n}", + "doubleTap": false, + "led": false, + "on": 8, + "off": -8, + "default": "", + "value": "", + "precision": 2, + "address": "/img_select", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "toggle", + "top": 180, + "left": 180, + "id": "img_9_select", + "linkId": "", + "width": 40, + "height": 40, + "label": false, + "color": "auto", + "css": ":host{\n--color-raised:#2A2A2D;\n}\n:host.on{\n--color-bg:white;\n}", + "doubleTap": false, + "led": false, + "on": 9, + "off": -9, + "default": "", + "value": "", + "precision": 2, + "address": "/img_select", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "push", + "top": 48, + "left": 22, + "id": "img_1_calibrate", + "linkId": "", + "width": 36, + "height": 10, + "label": false, + "color": "auto", + "css": ":host{\n--color-raised:grey;\n}", + "doubleTap": false, + "on": 1, + "off": 0, + "norelease": false, + "value": "", + "precision": 2, + "address": "/img_calibrate", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "push", + "top": 48, + "left": 102, + "id": "img_2_calibrate", + "linkId": "", + "width": 36, + "height": 10, + "label": false, + "color": "auto", + "css": ":host{\n--color-raised:grey;\n}", + "doubleTap": false, + "on": 2, + "off": 0, + "norelease": false, + "value": "", + "precision": 2, + "address": "/img_calibrate", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "push", + "top": 48, + "left": 182, + "id": "img_3_calibrate", + "linkId": "", + "width": 36, + "height": 10, + "label": false, + "color": "auto", + "css": ":host{\n--color-raised:grey;\n}", + "doubleTap": false, + "on": 3, + "off": 0, + "norelease": false, + "value": "", + "precision": 2, + "address": "/img_calibrate", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "push", + "top": 128, + "left": 22, + "id": "img_4_calibrate", + "linkId": "", + "width": 36, + "height": 10, + "label": false, + "color": "auto", + "css": ":host{\n--color-raised:grey;\n}", + "doubleTap": false, + "on": 4, + "off": 0, + "norelease": false, + "value": "", + "precision": 2, + "address": "/img_calibrate", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "push", + "top": 128, + "left": 102, + "id": "img_5_calibrate", + "linkId": "", + "width": 36, + "height": 10, + "label": false, + "color": "auto", + "css": ":host{\n--color-raised:grey;\n}", + "doubleTap": false, + "on": 5, + "off": 0, + "norelease": false, + "value": "", + "precision": 2, + "address": "/img_calibrate", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "push", + "top": 128, + "left": 182, + "id": "img_6_calibrate", + "linkId": "", + "width": 36, + "height": 10, + "label": false, + "color": "auto", + "css": ":host{\n--color-raised:grey;\n}", + "doubleTap": false, + "on": 6, + "off": 0, + "norelease": false, + "value": "", + "precision": 2, + "address": "/img_calibrate", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "push", + "top": 208, + "left": 22, + "id": "img_7_calibrate", + "linkId": "", + "width": 36, + "height": 10, + "label": false, + "color": "auto", + "css": ":host{\n--color-raised:grey;\n}", + "doubleTap": false, + "on": 7, + "off": 0, + "norelease": false, + "value": "", + "precision": 2, + "address": "/img_calibrate", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "push", + "top": 208, + "left": 102, + "id": "img_8_calibrate", + "linkId": "", + "width": 36, + "height": 10, + "label": false, + "color": "auto", + "css": ":host{\n--color-raised:grey;\n}", + "doubleTap": false, + "on": 8, + "off": 0, + "norelease": false, + "value": "", + "precision": 2, + "address": "/img_calibrate", + "preArgs": "", + "target": "", + "bypass": false + }, + { + "type": "push", + "top": 208, + "left": 182, + "id": "img_9_calibrate", + "linkId": "", + "width": 36, + "height": 10, + "label": false, + "color": "white", + "css": ":host{\n--color-raised:grey;\n}", + "doubleTap": false, + "on": 9, + "off": 0, + "norelease": false, + "value": "", + "precision": 2, + "address": "/img_calibrate", + "preArgs": "", + "target": "", + "bypass": false + } + ], + "tabs": [] + } + ], + "tabs": [] + } + ], + "tabs": [], + "scroll": true + } + ], + "scroll": true, + "label": false +} \ No newline at end of file