Last active
May 10, 2024 19:07
-
-
Save forresto/78b469fa2969a7c06146ae84c9500071 to your computer and use it in GitHub Desktop.
webcam-particle-paintbrush https://app.meemoo.org/#gist/78b469fa2969a7c06146ae84c9500071
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
{ | |
"info": { | |
"title": "webcam particle paintbrush", | |
"author": "forresto", | |
"description": "webcam particle paintbrush", | |
"url": "webcam-particle-paintbrush", | |
"parents": [ | |
"https://gist.github.com/forresto/78b469fa2969a7c06146ae84c9500071" | |
] | |
}, | |
"nodes": [ | |
{ | |
"id": 2, | |
"src": "meemoo:image/cam", | |
"x": 471, | |
"y": 81, | |
"w": 250, | |
"h": 231, | |
"state": { | |
"width": 100, | |
"height": 100, | |
"fps": 30, | |
"showOnionskin": true | |
} | |
}, | |
{ | |
"id": 4, | |
"src": "meemoo:image/circle", | |
"x": 150, | |
"y": 454, | |
"w": 200, | |
"h": 210, | |
"state": { | |
"x": 50, | |
"y": 50, | |
"r": 50, | |
"fill": "black", | |
"strokewidth": 1 | |
} | |
}, | |
{ | |
"id": 6, | |
"src": "meemoo:image/trails", | |
"x": 884, | |
"y": 159, | |
"w": 1039, | |
"h": 1028, | |
"state": { | |
"composite": "source-over" | |
} | |
}, | |
{ | |
"id": 7, | |
"src": "meemoo:image/particles", | |
"x": 158, | |
"y": 780, | |
"w": 453, | |
"h": 498, | |
"state": { | |
"width": 1000, | |
"height": 1000, | |
"x": 500, | |
"y": 500, | |
"xSpread": 0, | |
"ySpread": 0, | |
"angle": 0, | |
"angleSpread": 0, | |
"matchAngle": true, | |
"speed": 1, | |
"speedSpread": 0, | |
"wander": 0, | |
"accelAngle": 0.5, | |
"accelSpeed": 0.05, | |
"spawn": 0, | |
"spawnRate": 5, | |
"maxParticles": 100, | |
"life": 0, | |
"loop": false | |
} | |
}, | |
{ | |
"id": 9, | |
"src": "meemoo:time/tween", | |
"x": 490, | |
"y": 458, | |
"w": 200, | |
"h": 210, | |
"state": { | |
"from": 0, | |
"to": 1, | |
"duration": 1.667, | |
"type": "Linear", | |
"ease": "InOut", | |
"loop": true, | |
"pingpong": false | |
} | |
}, | |
{ | |
"id": 5, | |
"src": "meemoo:ui/button", | |
"x": 116, | |
"y": 91, | |
"w": 200, | |
"h": 210, | |
"state": { | |
"label": "start" | |
} | |
} | |
], | |
"edges": [ | |
{ | |
"source": [ | |
2, | |
"stream" | |
], | |
"target": [ | |
4, | |
"matte" | |
] | |
}, | |
{ | |
"source": [ | |
4, | |
"image" | |
], | |
"target": [ | |
7, | |
"image" | |
] | |
}, | |
{ | |
"source": [ | |
7, | |
"image" | |
], | |
"target": [ | |
6, | |
"image" | |
] | |
}, | |
{ | |
"source": [ | |
9, | |
"value" | |
], | |
"target": [ | |
7, | |
"accelAngle" | |
] | |
}, | |
{ | |
"source": [ | |
9, | |
"value" | |
], | |
"target": [ | |
7, | |
"angle" | |
] | |
}, | |
{ | |
"source": [ | |
5, | |
"bang" | |
], | |
"target": [ | |
2, | |
"start" | |
] | |
}, | |
{ | |
"source": [ | |
5, | |
"bang" | |
], | |
"target": [ | |
9, | |
"start" | |
] | |
}, | |
{ | |
"source": [ | |
5, | |
"bang" | |
], | |
"target": [ | |
7, | |
"start" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment