Skip to content

Instantly share code, notes, and snippets.

@forresto
Last active December 27, 2024 21:17
Show Gist options
  • Save forresto/7df546c9866309a441fc4f6429d9d31b to your computer and use it in GitHub Desktop.
Save forresto/7df546c9866309a441fc4f6429d9d31b to your computer and use it in GitHub Desktop.
{
"info": {
"title": "microphone audio in demo",
"author": "forresto",
"description": "combining again",
"url": "mic-cam-twist-circles",
"parents": [
"https://gist.github.com/forresto/43346efc3436e849bf77f4e681a1bfcb",
"https://gist.github.com/forresto/52832b3b34f76eb0dbbabfea3f692369",
"https://gist.github.com/forresto/7df546c9866309a441fc4f6429d9d31b"
]
},
"nodes": [
{
"id": 0,
"src": "meemoo:audio/mic",
"x": 183,
"y": 249,
"w": 206,
"h": 145,
"state": {}
},
{
"id": 2,
"src": "meemoo:image/circle",
"x": 674,
"y": 93,
"w": 113,
"h": 135,
"state": {
"x": 250,
"y": 250,
"r": "=x*500",
"fill": "black",
"strokewidth": 1
}
},
{
"id": 3,
"src": "meemoo:image/circle",
"x": 938,
"y": 93,
"w": 110,
"h": 136,
"state": {
"x": 250,
"y": 250,
"r": "=x*500",
"fill": "black",
"strokewidth": 1
}
},
{
"id": 4,
"src": "meemoo:image/circle",
"x": 1201,
"y": 94,
"w": 92,
"h": 131,
"state": {
"x": 250,
"y": 250,
"r": "=x*500",
"fill": "black",
"strokewidth": 1
}
},
{
"id": 5,
"src": "meemoo:image/cam",
"x": 178,
"y": 484,
"w": 251,
"h": 326,
"state": {
"width": 500,
"height": 500,
"fps": 30
}
},
{
"id": 6,
"src": "meemoo:image/transform",
"x": 1215,
"y": 813,
"w": 518,
"h": 531,
"state": {
"width": 500,
"height": 500,
"scale": 1,
"translateX": 0,
"translateY": 0,
"rotate": 0.125,
"composite": "darken",
"smoothing": "true"
}
},
{
"id": 7,
"src": "meemoo:ui/button",
"x": 187,
"y": 90,
"w": 221,
"h": 71,
"state": {
"label": "start cam and mic",
"color": "rgb(0, 0, 0)",
"background": "rgb(221, 253, 255)"
}
},
{
"id": 8,
"src": "meemoo:image/circle",
"x": 200,
"y": 893,
"w": 200,
"h": 210,
"state": {
"x": 250,
"y": 250,
"r": 250,
"fill": "black",
"strokewidth": 1
}
},
{
"id": 9,
"src": "meemoo:image/transform",
"x": 729,
"y": 754,
"w": 200,
"h": 210,
"state": {
"width": 500,
"height": 500,
"scale": 1,
"translateX": 0,
"translateY": 0,
"rotate": 0.125,
"composite": "source-over",
"smoothing": "true"
}
},
{
"id": 13,
"src": "meemoo:util/math",
"x": 704,
"y": 436,
"w": 200,
"h": 210,
"state": {
"x": 0,
"equation": "x*0.05"
}
},
{
"id": 14,
"src": "meemoo:util/math",
"x": 1086,
"y": 426,
"w": 200,
"h": 210,
"state": {
"x": 0,
"equation": "x*-1"
}
}
],
"edges": [
{
"source": [
0,
"low"
],
"target": [
2,
"r"
]
},
{
"source": [
0,
"mid"
],
"target": [
3,
"r"
]
},
{
"source": [
0,
"high"
],
"target": [
4,
"r"
]
},
{
"source": [
7,
"bang"
],
"target": [
0,
"start"
]
},
{
"source": [
7,
"bang"
],
"target": [
5,
"start"
]
},
{
"source": [
5,
"stream"
],
"target": [
8,
"matte"
]
},
{
"source": [
8,
"image"
],
"target": [
6,
"image"
]
},
{
"source": [
8,
"image"
],
"target": [
9,
"image"
]
},
{
"source": [
9,
"image"
],
"target": [
6,
"background"
]
},
{
"source": [
0,
"mid"
],
"target": [
13,
"x"
]
},
{
"source": [
13,
"equals"
],
"target": [
14,
"x"
]
},
{
"source": [
14,
"equals"
],
"target": [
9,
"rotate"
]
},
{
"source": [
13,
"equals"
],
"target": [
6,
"rotate"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment