Last active
January 16, 2017 16:32
-
-
Save forresto/7804187 to your computer and use it in GitHub Desktop.
photobooth app flowhub demo: flowhub.io/demo/photobooth/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"properties": { | |
"name": "photobooth", | |
"environment": { | |
"runtime": "html", | |
"src": "preview/iframe.html", | |
"width": 300, | |
"height": 300, | |
"content": " <video id=\"vid\" autoplay loop width=\"640\" height=\"480\" style=\"display:none;\"></video>\n <canvas id=\"out\" width=\"640\" height=\"480\" style=\"max-width:100%;\"></canvas>\n\n<input id=\"slider\" type=\"range\" min=\"0\" max=\"1\" value=\"0.5\" step=\"0.01\"></input>\n <button id=\"start\">start camera</button>\n <button id=\"prev\">prev</button>\n <button id=\"next\">next</button>\n <button id=\"save\">save</button>\n\n<style>\n #saved img { width: 160px; height: 120px;}\n</style>\n<div id=\"saved\"></div>", | |
"type": "noflo-browser" | |
}, | |
"id": "7804187" | |
}, | |
"inports": {}, | |
"outports": {}, | |
"groups": [ | |
{ | |
"name": "saving", | |
"nodes": [ | |
"RepeatAsync", | |
"core/Kick_7efi8", | |
"core/MakeFunction_t17n", | |
"core/RunTimeout_3wulz", | |
"core/Split_xyb8x", | |
"dom/AddClass_9rihj", | |
"dom/GetElement_4houj", | |
"dom/GetElement_ah36i", | |
"dom/RemoveClass_ec7ug", | |
"img", | |
"img set src", | |
"interaction/ListenMouse_1u0rk", | |
"make img", | |
"strings/SendString_lnf0z", | |
"strings/SendString_zry4n" | |
], | |
"metadata": { | |
"description": "" | |
} | |
}, | |
{ | |
"name": "filtering", | |
"nodes": [ | |
"core/Split_jx318", | |
"routers/KickRouter_bzaiw", | |
"seriously/Ascii_17c9q", | |
"seriously/Edge_egmkb", | |
"seriously/Hex_lx162", | |
"seriously/HueSaturation_bzfvt", | |
"seriously/Invert_7xnl3", | |
"seriously/SetTarget_kii7s", | |
"seriously/Split_7oj15", | |
"seriously/TVGlitch_e1qre" | |
], | |
"metadata": { | |
"description": "" | |
} | |
}, | |
{ | |
"name": "adjust filter", | |
"nodes": [ | |
"dom/GetElement_j674o", | |
"interaction/ListenChange_z7m5u", | |
"math/Multiply_3eldx", | |
"math/Multiply_3v13k", | |
"math/Multiply_rbxrn" | |
], | |
"metadata": { | |
"description": "" | |
} | |
}, | |
{ | |
"name": "switch filter", | |
"nodes": [ | |
"dom/GetElement_85so0", | |
"dom/GetElement_e16dy", | |
"interaction/ListenMouse_aii7r", | |
"interaction/ListenMouse_bil4d" | |
], | |
"metadata": { | |
"description": "" | |
} | |
} | |
], | |
"processes": { | |
"dom/GetElement_f4nkd": { | |
"component": "dom/GetElement", | |
"metadata": { | |
"x": 288, | |
"y": 360, | |
"label": "startButton", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"interaction/ListenMouse_1w3vt": { | |
"component": "interaction/ListenMouse", | |
"metadata": { | |
"x": 288, | |
"y": 504, | |
"label": "clickStart", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"gum/GetUserMedia_9e9i4": { | |
"component": "gum/GetUserMedia", | |
"metadata": { | |
"x": 324, | |
"y": 648, | |
"label": "webCam", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"dom/GetElement_z64xf": { | |
"component": "dom/GetElement", | |
"metadata": { | |
"x": 432, | |
"y": 360, | |
"label": "videoEl", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"dom/SetAttribute_uto4k": { | |
"component": "dom/SetAttribute", | |
"metadata": { | |
"x": 432, | |
"y": 648, | |
"label": "setVideoSrc", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"seriously/SetSource_szf33": { | |
"component": "seriously/SetFilterSource", | |
"metadata": { | |
"x": 576, | |
"y": 648, | |
"label": "setFilterSource", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"seriously/Ascii_17c9q": { | |
"component": "seriously/Ascii", | |
"metadata": { | |
"x": 1080, | |
"y": 396, | |
"label": "seriously/Ascii", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"dom/GetElement_ah82a": { | |
"component": "dom/GetElement", | |
"metadata": { | |
"x": 1404, | |
"y": 144, | |
"label": "canvasEl", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"seriously/SetTarget_kii7s": { | |
"component": "seriously/SetTarget", | |
"metadata": { | |
"x": 1404, | |
"y": 648, | |
"label": "filterTarget", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"dom/GetElement_85so0": { | |
"component": "dom/GetElement", | |
"metadata": { | |
"x": 540, | |
"y": 108, | |
"label": "prevButton", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"interaction/ListenMouse_aii7r": { | |
"component": "interaction/ListenMouse", | |
"metadata": { | |
"x": 540, | |
"y": 252, | |
"label": "clickPrev", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"dom/GetElement_e16dy": { | |
"component": "dom/GetElement", | |
"metadata": { | |
"x": 684, | |
"y": 108, | |
"label": "nextButton", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"interaction/ListenMouse_bil4d": { | |
"component": "interaction/ListenMouse", | |
"metadata": { | |
"x": 684, | |
"y": 252, | |
"label": "clickNext", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"routers/KickRouter_bzaiw": { | |
"component": "routers/KickRouter", | |
"metadata": { | |
"x": 828, | |
"y": 648, | |
"label": "chooseFilter", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"seriously/TVGlitch_e1qre": { | |
"component": "seriously/TVGlitch", | |
"metadata": { | |
"x": 1080, | |
"y": 504, | |
"label": "seriously/TVGlitch", | |
"width": 72, | |
"height": 96 | |
} | |
}, | |
"seriously/Hex_lx162": { | |
"component": "seriously/Hex", | |
"metadata": { | |
"x": 1008, | |
"y": 612, | |
"label": "seriously/Hex", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"seriously/Edge_egmkb": { | |
"component": "seriously/Edge", | |
"metadata": { | |
"x": 1152, | |
"y": 612, | |
"label": "seriously/Edge", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"seriously/Invert_7xnl3": { | |
"component": "seriously/Invert", | |
"metadata": { | |
"x": 1008, | |
"y": 828, | |
"label": "negative", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"seriously/Split_7oj15": { | |
"component": "seriously/Split", | |
"metadata": { | |
"x": 1152, | |
"y": 756, | |
"label": "halfScreen", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"core/Split_jx318": { | |
"component": "core/Split", | |
"metadata": { | |
"x": 1008, | |
"y": 720, | |
"label": "core/Split", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"seriously/HueSaturation_bzfvt": { | |
"component": "seriously/HueSaturation", | |
"metadata": { | |
"x": 1080, | |
"y": 972, | |
"label": "seriously/HueSaturation", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"core/Split_jzzu2": { | |
"component": "core/Split", | |
"metadata": { | |
"x": 1404, | |
"y": 288, | |
"label": "core/Split", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"core/Kick_7efi8": { | |
"component": "core/Kick", | |
"metadata": { | |
"x": 1584, | |
"y": 792, | |
"label": "sendCanvas", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"core/MakeFunction_t17n": { | |
"component": "core/MakeFunction", | |
"metadata": { | |
"x": 1548, | |
"y": 972, | |
"label": "canvasToJPEG", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"dom/GetElement_ah36i": { | |
"component": "dom/GetElement", | |
"metadata": { | |
"x": 1584, | |
"y": 144, | |
"label": "saveButton", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"interaction/ListenMouse_1u0rk": { | |
"component": "interaction/ListenMouse", | |
"metadata": { | |
"x": 1584, | |
"y": 288, | |
"label": "clickSave", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"make img": { | |
"component": "dom/CreateElement", | |
"metadata": { | |
"x": 1836, | |
"y": 1044, | |
"label": "make img", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"img set src": { | |
"component": "dom/SetAttribute", | |
"metadata": { | |
"x": 1836, | |
"y": 1188, | |
"label": "img set src", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"RepeatAsync": { | |
"component": "core/RepeatAsync", | |
"metadata": { | |
"x": 1692, | |
"y": 1188, | |
"label": "RepeatAsync", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"dom/GetElement_4houj": { | |
"component": "dom/GetElement", | |
"metadata": { | |
"x": 1728, | |
"y": 792, | |
"label": "savedEl", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"core/Split_xyb8x": { | |
"component": "core/Split", | |
"metadata": { | |
"x": 1548, | |
"y": 1116, | |
"label": "core/Split", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"img": { | |
"component": "strings/SendString", | |
"metadata": { | |
"x": 1692, | |
"y": 1044, | |
"label": "img", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"core/Kick_4njgs": { | |
"component": "core/Kick", | |
"metadata": { | |
"x": 720, | |
"y": 792, | |
"label": "kickFirstFilter", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"dom/GetElement_j674o": { | |
"component": "dom/GetElement", | |
"metadata": { | |
"x": 360, | |
"y": 1044, | |
"label": "sliderEl", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"interaction/ListenChange_z7m5u": { | |
"component": "interaction/ListenChange", | |
"metadata": { | |
"x": 504, | |
"y": 1044, | |
"label": "slid", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"math/Multiply_3eldx": { | |
"component": "math/Multiply", | |
"metadata": { | |
"x": 648, | |
"y": 1188, | |
"label": "x2xPI", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"math/Multiply_3v13k": { | |
"component": "math/Multiply", | |
"metadata": { | |
"x": 648, | |
"y": 1080, | |
"label": "tenth", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"math/Multiply_rbxrn": { | |
"component": "math/Multiply", | |
"metadata": { | |
"x": 648, | |
"y": 972, | |
"label": "tenth", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"core/RunTimeout_3wulz": { | |
"component": "core/RunTimeout", | |
"metadata": { | |
"x": 1584, | |
"y": 504, | |
"label": "core/RunTimeout", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"dom/AddClass_9rihj": { | |
"component": "dom/AddClass", | |
"metadata": { | |
"x": 1836, | |
"y": 360, | |
"label": "dom/AddClass", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"dom/RemoveClass_ec7ug": { | |
"component": "dom/RemoveClass", | |
"metadata": { | |
"x": 1836, | |
"y": 504, | |
"label": "dom/RemoveClass", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"strings/SendString_zry4n": { | |
"component": "strings/SendString", | |
"metadata": { | |
"x": 1728, | |
"y": 360, | |
"label": "countdown", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"strings/SendString_lnf0z": { | |
"component": "strings/SendString", | |
"metadata": { | |
"x": 1728, | |
"y": 504, | |
"label": "countdown", | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"wait": { | |
"component": "core/RunTimeout", | |
"metadata": { | |
"label": "wait", | |
"x": 576, | |
"y": 792, | |
"width": 72, | |
"height": 72 | |
} | |
} | |
}, | |
"connections": [ | |
{ | |
"src": { | |
"process": "dom/GetElement_f4nkd", | |
"port": "element" | |
}, | |
"tgt": { | |
"process": "interaction/ListenMouse_1w3vt", | |
"port": "element" | |
}, | |
"metadata": { | |
"route": "10" | |
} | |
}, | |
{ | |
"src": { | |
"process": "interaction/ListenMouse_1w3vt", | |
"port": "click" | |
}, | |
"tgt": { | |
"process": "gum/GetUserMedia_9e9i4", | |
"port": "start" | |
}, | |
"metadata": { | |
"route": "9" | |
} | |
}, | |
{ | |
"src": { | |
"process": "gum/GetUserMedia_9e9i4", | |
"port": "url" | |
}, | |
"tgt": { | |
"process": "dom/SetAttribute_uto4k", | |
"port": "value" | |
}, | |
"metadata": { | |
"route": "5" | |
} | |
}, | |
{ | |
"src": { | |
"process": "seriously/Ascii_17c9q", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "seriously/SetTarget_kii7s", | |
"port": "source" | |
}, | |
"metadata": { | |
"route": "5" | |
} | |
}, | |
{ | |
"src": { | |
"process": "dom/GetElement_85so0", | |
"port": "element" | |
}, | |
"tgt": { | |
"process": "interaction/ListenMouse_aii7r", | |
"port": "element" | |
}, | |
"metadata": { | |
"route": "10" | |
} | |
}, | |
{ | |
"src": { | |
"process": "dom/GetElement_e16dy", | |
"port": "element" | |
}, | |
"tgt": { | |
"process": "interaction/ListenMouse_bil4d", | |
"port": "element" | |
}, | |
"metadata": { | |
"route": "10" | |
} | |
}, | |
{ | |
"src": { | |
"process": "interaction/ListenMouse_aii7r", | |
"port": "click" | |
}, | |
"tgt": { | |
"process": "routers/KickRouter_bzaiw", | |
"port": "prev" | |
}, | |
"metadata": { | |
"route": "9" | |
} | |
}, | |
{ | |
"src": { | |
"process": "interaction/ListenMouse_bil4d", | |
"port": "click" | |
}, | |
"tgt": { | |
"process": "routers/KickRouter_bzaiw", | |
"port": "next" | |
}, | |
"metadata": { | |
"route": "9" | |
} | |
}, | |
{ | |
"src": { | |
"process": "seriously/TVGlitch_e1qre", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "seriously/SetTarget_kii7s", | |
"port": "source" | |
}, | |
"metadata": { | |
"route": "5" | |
} | |
}, | |
{ | |
"src": { | |
"process": "routers/KickRouter_bzaiw", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "seriously/Hex_lx162", | |
"port": "source" | |
}, | |
"metadata": { | |
"route": "5" | |
} | |
}, | |
{ | |
"src": { | |
"process": "seriously/Edge_egmkb", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "seriously/SetTarget_kii7s", | |
"port": "source" | |
}, | |
"metadata": { | |
"route": "5" | |
} | |
}, | |
{ | |
"src": { | |
"process": "seriously/Hex_lx162", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "seriously/Edge_egmkb", | |
"port": "source" | |
}, | |
"metadata": { | |
"route": "5" | |
} | |
}, | |
{ | |
"src": { | |
"process": "routers/KickRouter_bzaiw", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "core/Split_jx318", | |
"port": "in" | |
}, | |
"metadata": { | |
"route": "5" | |
} | |
}, | |
{ | |
"src": { | |
"process": "core/Split_jx318", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "seriously/Invert_7xnl3", | |
"port": "source" | |
}, | |
"metadata": { | |
"route": "5" | |
} | |
}, | |
{ | |
"src": { | |
"process": "seriously/Split_7oj15", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "seriously/SetTarget_kii7s", | |
"port": "source" | |
}, | |
"metadata": { | |
"route": "5" | |
} | |
}, | |
{ | |
"src": { | |
"process": "routers/KickRouter_bzaiw", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "seriously/HueSaturation_bzfvt", | |
"port": "source" | |
}, | |
"metadata": { | |
"route": "5" | |
} | |
}, | |
{ | |
"src": { | |
"process": "seriously/HueSaturation_bzfvt", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "seriously/SetTarget_kii7s", | |
"port": "source" | |
}, | |
"metadata": { | |
"route": "5" | |
} | |
}, | |
{ | |
"src": { | |
"process": "dom/GetElement_ah82a", | |
"port": "element" | |
}, | |
"tgt": { | |
"process": "core/Split_jzzu2", | |
"port": "in" | |
}, | |
"metadata": { | |
"route": "10" | |
} | |
}, | |
{ | |
"src": { | |
"process": "core/Split_jzzu2", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "seriously/SetTarget_kii7s", | |
"port": "target" | |
}, | |
"metadata": { | |
"route": "10" | |
} | |
}, | |
{ | |
"src": { | |
"process": "core/Split_jzzu2", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "core/Kick_7efi8", | |
"port": "data" | |
}, | |
"metadata": { | |
"route": "10" | |
} | |
}, | |
{ | |
"src": { | |
"process": "core/Kick_7efi8", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "core/MakeFunction_t17n", | |
"port": "in" | |
}, | |
"metadata": { | |
"route": 0 | |
} | |
}, | |
{ | |
"src": { | |
"process": "core/Split_jx318", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "seriously/Split_7oj15", | |
"port": "sourcea" | |
}, | |
"metadata": { | |
"route": "5" | |
} | |
}, | |
{ | |
"src": { | |
"process": "seriously/Invert_7xnl3", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "seriously/Split_7oj15", | |
"port": "sourceb" | |
}, | |
"metadata": { | |
"route": "5" | |
} | |
}, | |
{ | |
"src": { | |
"process": "make img", | |
"port": "element" | |
}, | |
"tgt": { | |
"process": "img set src", | |
"port": "element" | |
}, | |
"metadata": { | |
"route": "10" | |
} | |
}, | |
{ | |
"src": { | |
"process": "dom/GetElement_4houj", | |
"port": "element" | |
}, | |
"tgt": { | |
"process": "make img", | |
"port": "container" | |
}, | |
"metadata": { | |
"route": "10" | |
} | |
}, | |
{ | |
"src": { | |
"process": "RepeatAsync", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "img set src", | |
"port": "value" | |
}, | |
"metadata": { | |
"route": 0 | |
} | |
}, | |
{ | |
"src": { | |
"process": "core/Split_xyb8x", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "RepeatAsync", | |
"port": "in" | |
}, | |
"metadata": { | |
"route": 0 | |
} | |
}, | |
{ | |
"src": { | |
"process": "core/MakeFunction_t17n", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "core/Split_xyb8x", | |
"port": "in" | |
}, | |
"metadata": { | |
"route": 0 | |
} | |
}, | |
{ | |
"src": { | |
"process": "core/Split_xyb8x", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "img", | |
"port": "in" | |
}, | |
"metadata": { | |
"route": 0 | |
} | |
}, | |
{ | |
"src": { | |
"process": "img", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "make img", | |
"port": "tagname" | |
}, | |
"metadata": { | |
"route": "3" | |
} | |
}, | |
{ | |
"src": { | |
"process": "core/Kick_4njgs", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "routers/KickRouter_bzaiw", | |
"port": "index" | |
}, | |
"metadata": { | |
"route": 0 | |
} | |
}, | |
{ | |
"src": { | |
"process": "routers/KickRouter_bzaiw", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "seriously/Ascii_17c9q", | |
"port": "source" | |
}, | |
"metadata": { | |
"route": "5" | |
} | |
}, | |
{ | |
"src": { | |
"process": "routers/KickRouter_bzaiw", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "seriously/TVGlitch_e1qre", | |
"port": "source" | |
}, | |
"metadata": { | |
"route": "5" | |
} | |
}, | |
{ | |
"src": { | |
"process": "dom/GetElement_j674o", | |
"port": "element" | |
}, | |
"tgt": { | |
"process": "interaction/ListenChange_z7m5u", | |
"port": "element" | |
}, | |
"metadata": { | |
"route": "10" | |
} | |
}, | |
{ | |
"src": { | |
"process": "interaction/ListenChange_z7m5u", | |
"port": "value" | |
}, | |
"tgt": { | |
"process": "math/Multiply_3eldx", | |
"port": "multiplicand" | |
}, | |
"metadata": { | |
"route": "3" | |
} | |
}, | |
{ | |
"src": { | |
"process": "math/Multiply_3eldx", | |
"port": "product" | |
}, | |
"tgt": { | |
"process": "seriously/Split_7oj15", | |
"port": "angle" | |
}, | |
"metadata": { | |
"route": "3" | |
} | |
}, | |
{ | |
"src": { | |
"process": "interaction/ListenChange_z7m5u", | |
"port": "value" | |
}, | |
"tgt": { | |
"process": "math/Multiply_3v13k", | |
"port": "multiplicand" | |
}, | |
"metadata": { | |
"route": "3" | |
} | |
}, | |
{ | |
"src": { | |
"process": "math/Multiply_3v13k", | |
"port": "product" | |
}, | |
"tgt": { | |
"process": "seriously/Hex_lx162", | |
"port": "size" | |
}, | |
"metadata": { | |
"route": "3" | |
} | |
}, | |
{ | |
"src": { | |
"process": "interaction/ListenChange_z7m5u", | |
"port": "value" | |
}, | |
"tgt": { | |
"process": "math/Multiply_rbxrn", | |
"port": "multiplicand" | |
}, | |
"metadata": { | |
"route": "3" | |
} | |
}, | |
{ | |
"src": { | |
"process": "math/Multiply_rbxrn", | |
"port": "product" | |
}, | |
"tgt": { | |
"process": "seriously/TVGlitch_e1qre", | |
"port": "distortion" | |
}, | |
"metadata": { | |
"route": "3" | |
} | |
}, | |
{ | |
"src": { | |
"process": "interaction/ListenChange_z7m5u", | |
"port": "value" | |
}, | |
"tgt": { | |
"process": "seriously/HueSaturation_bzfvt", | |
"port": "hue" | |
}, | |
"metadata": { | |
"route": "3" | |
} | |
}, | |
{ | |
"src": { | |
"process": "interaction/ListenMouse_1u0rk", | |
"port": "click" | |
}, | |
"tgt": { | |
"process": "core/RunTimeout_3wulz", | |
"port": "start" | |
}, | |
"metadata": { | |
"route": "9" | |
} | |
}, | |
{ | |
"src": { | |
"process": "strings/SendString_zry4n", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "dom/AddClass_9rihj", | |
"port": "class" | |
}, | |
"metadata": { | |
"route": "0" | |
} | |
}, | |
{ | |
"src": { | |
"process": "strings/SendString_lnf0z", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "dom/RemoveClass_ec7ug", | |
"port": "class" | |
}, | |
"metadata": { | |
"route": "0" | |
} | |
}, | |
{ | |
"src": { | |
"process": "interaction/ListenMouse_1u0rk", | |
"port": "click" | |
}, | |
"tgt": { | |
"process": "strings/SendString_zry4n", | |
"port": "in" | |
}, | |
"metadata": { | |
"route": "9" | |
} | |
}, | |
{ | |
"src": { | |
"process": "dom/SetAttribute_uto4k", | |
"port": "element" | |
}, | |
"tgt": { | |
"process": "seriously/SetSource_szf33", | |
"port": "source" | |
}, | |
"metadata": { | |
"route": 5 | |
} | |
}, | |
{ | |
"src": { | |
"process": "dom/GetElement_z64xf", | |
"port": "element" | |
}, | |
"tgt": { | |
"process": "dom/SetAttribute_uto4k", | |
"port": "element" | |
}, | |
"metadata": { | |
"route": 10 | |
} | |
}, | |
{ | |
"src": { | |
"process": "wait", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "core/Kick_4njgs", | |
"port": "in" | |
}, | |
"metadata": {} | |
}, | |
{ | |
"src": { | |
"process": "seriously/SetSource_szf33", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "routers/KickRouter_bzaiw", | |
"port": "in" | |
}, | |
"metadata": { | |
"route": 5 | |
} | |
}, | |
{ | |
"src": { | |
"process": "seriously/SetSource_szf33", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "wait", | |
"port": "start" | |
}, | |
"metadata": { | |
"route": 0 | |
} | |
}, | |
{ | |
"src": { | |
"process": "core/RunTimeout_3wulz", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "strings/SendString_lnf0z", | |
"port": "in" | |
}, | |
"metadata": { | |
"route": "0" | |
} | |
}, | |
{ | |
"src": { | |
"process": "core/RunTimeout_3wulz", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "core/Kick_7efi8", | |
"port": "in" | |
}, | |
"metadata": { | |
"route": "0" | |
} | |
}, | |
{ | |
"src": { | |
"process": "dom/GetElement_ah36i", | |
"port": "element" | |
}, | |
"tgt": { | |
"process": "dom/AddClass_9rihj", | |
"port": "element" | |
}, | |
"metadata": { | |
"route": "10" | |
} | |
}, | |
{ | |
"src": { | |
"process": "dom/GetElement_ah36i", | |
"port": "element" | |
}, | |
"tgt": { | |
"process": "interaction/ListenMouse_1u0rk", | |
"port": "element" | |
}, | |
"metadata": { | |
"route": "10" | |
} | |
}, | |
{ | |
"src": { | |
"process": "dom/GetElement_ah36i", | |
"port": "element" | |
}, | |
"tgt": { | |
"process": "dom/RemoveClass_ec7ug", | |
"port": "element" | |
}, | |
"metadata": { | |
"route": "10" | |
} | |
}, | |
{ | |
"data": "#start", | |
"tgt": { | |
"process": "dom/GetElement_f4nkd", | |
"port": "selector" | |
} | |
}, | |
{ | |
"data": "#vid", | |
"tgt": { | |
"process": "dom/GetElement_z64xf", | |
"port": "selector" | |
} | |
}, | |
{ | |
"data": "src", | |
"tgt": { | |
"process": "dom/SetAttribute_uto4k", | |
"port": "attribute" | |
} | |
}, | |
{ | |
"data": "#out", | |
"tgt": { | |
"process": "dom/GetElement_ah82a", | |
"port": "selector" | |
} | |
}, | |
{ | |
"data": "#prev", | |
"tgt": { | |
"process": "dom/GetElement_85so0", | |
"port": "selector" | |
} | |
}, | |
{ | |
"data": "#next", | |
"tgt": { | |
"process": "dom/GetElement_e16dy", | |
"port": "selector" | |
} | |
}, | |
{ | |
"data": 0.01, | |
"tgt": { | |
"process": "seriously/Split_7oj15", | |
"port": "fuzzy" | |
} | |
}, | |
{ | |
"data": "0.5", | |
"tgt": { | |
"process": "seriously/Split_7oj15", | |
"port": "split" | |
} | |
}, | |
{ | |
"data": "0.25", | |
"tgt": { | |
"process": "seriously/HueSaturation_bzfvt", | |
"port": "saturation" | |
} | |
}, | |
{ | |
"data": "return x.toDataURL(\"image/jpeg\", 0.85);", | |
"tgt": { | |
"process": "core/MakeFunction_t17n", | |
"port": "function" | |
} | |
}, | |
{ | |
"data": "#save", | |
"tgt": { | |
"process": "dom/GetElement_ah36i", | |
"port": "selector" | |
} | |
}, | |
{ | |
"data": "#saved", | |
"tgt": { | |
"process": "dom/GetElement_4houj", | |
"port": "selector" | |
} | |
}, | |
{ | |
"data": "src", | |
"tgt": { | |
"process": "img set src", | |
"port": "attribute" | |
} | |
}, | |
{ | |
"data": "img", | |
"tgt": { | |
"process": "img", | |
"port": "string" | |
} | |
}, | |
{ | |
"data": "#slider", | |
"tgt": { | |
"process": "dom/GetElement_j674o", | |
"port": "selector" | |
} | |
}, | |
{ | |
"data": "6.283185", | |
"tgt": { | |
"process": "math/Multiply_3eldx", | |
"port": "multiplier" | |
} | |
}, | |
{ | |
"data": 0.01, | |
"tgt": { | |
"process": "seriously/TVGlitch_e1qre", | |
"port": "verticalsync" | |
} | |
}, | |
{ | |
"data": "0.04", | |
"tgt": { | |
"process": "seriously/TVGlitch_e1qre", | |
"port": "linesync" | |
} | |
}, | |
{ | |
"data": 0.01, | |
"tgt": { | |
"process": "seriously/TVGlitch_e1qre", | |
"port": "time" | |
} | |
}, | |
{ | |
"data": "0.01", | |
"tgt": { | |
"process": "seriously/TVGlitch_e1qre", | |
"port": "bars" | |
} | |
}, | |
{ | |
"data": 0.15, | |
"tgt": { | |
"process": "seriously/TVGlitch_e1qre", | |
"port": "scanlines" | |
} | |
}, | |
{ | |
"data": "0.1", | |
"tgt": { | |
"process": "math/Multiply_3v13k", | |
"port": "multiplier" | |
} | |
}, | |
{ | |
"data": "0.1", | |
"tgt": { | |
"process": "math/Multiply_rbxrn", | |
"port": "multiplier" | |
} | |
}, | |
{ | |
"data": "3000", | |
"tgt": { | |
"process": "core/RunTimeout_3wulz", | |
"port": "time" | |
} | |
}, | |
{ | |
"data": "countdown", | |
"tgt": { | |
"process": "strings/SendString_zry4n", | |
"port": "string" | |
} | |
}, | |
{ | |
"data": "countdown", | |
"tgt": { | |
"process": "strings/SendString_lnf0z", | |
"port": "string" | |
} | |
}, | |
{ | |
"data": "0", | |
"tgt": { | |
"process": "core/Kick_4njgs", | |
"port": "data" | |
} | |
}, | |
{ | |
"data": 250, | |
"tgt": { | |
"process": "wait", | |
"port": "time" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment