Skip to content

Instantly share code, notes, and snippets.

@forresto
Created January 16, 2019 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save forresto/fcf9c21e137d1e15c82ff5a94335c376 to your computer and use it in GitHub Desktop.
Save forresto/fcf9c21e137d1e15c82ff5a94335c376 to your computer and use it in GitHub Desktop.
meemoo passport photo grid
{
"info": {
"title": "cam to gif",
"author": "forresto",
"description": "webcam to animated gif",
"url": "passport-grid"
},
"nodes": [
{
"id": 2,
"src": "meemoo:image/cam",
"x": 133,
"y": 396,
"w": 163,
"h": 219,
"state": {
"width": 600,
"height": 600,
"fps": 12,
"showOnionskin": true
}
},
{
"id": 6,
"src": "meemoo:image/grid",
"x": 722,
"y": 660,
"w": 330,
"h": 262,
"state": {
"width": "=600*3",
"height": "=600*2",
"rows": 2,
"columns": 3,
"reverse": false
}
},
{
"id": 9,
"src": "meemoo:util/gate",
"x": 190,
"y": 815,
"w": 205,
"h": 66,
"state": {
"open": false
}
},
{
"id": 10,
"src": "meemoo:ui/checkbox",
"x": 206,
"y": 209,
"w": 127,
"h": 66,
"state": {}
},
{
"id": 11,
"src": "meemoo:ui/button",
"x": 128,
"y": 61,
"w": 155,
"h": 60,
"state": {
"label": "start"
}
},
{
"id": 12,
"src": "meemoo:ui/button",
"x": 443,
"y": 47,
"w": 155,
"h": 60,
"state": {
"label": "stop"
}
},
{
"id": 13,
"src": "meemoo:image/circle",
"x": 833,
"y": 59,
"w": 200,
"h": 210,
"state": {
"x": 300,
"y": 300,
"r": "=(1+(3/8))*300/2",
"fill": "",
"strokewidth": 5,
"stroke": "rgb(255, 255, 0)"
}
},
{
"id": 15,
"src": "meemoo:image/transform",
"x": 540,
"y": 334,
"w": 265,
"h": 250,
"state": {
"width": 600,
"height": 600,
"scale": 1,
"translateX": 0,
"translateY": 0,
"rotate": 0,
"composite": "source-over",
"smoothing": "true"
}
}
],
"edges": [
{
"source": [
2,
"stream"
],
"target": [
9,
"data"
]
},
{
"source": [
10,
"checked"
],
"target": [
9,
"open"
]
},
{
"source": [
9,
"data"
],
"target": [
6,
"image"
]
},
{
"source": [
11,
"bang"
],
"target": [
2,
"start"
]
},
{
"source": [
11,
"bang"
],
"target": [
10,
"on"
]
},
{
"source": [
12,
"bang"
],
"target": [
10,
"off"
]
},
{
"source": [
2,
"stream"
],
"target": [
15,
"background"
]
},
{
"source": [
13,
"image"
],
"target": [
15,
"image"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment