Skip to content

Instantly share code, notes, and snippets.

@forresto
Last active October 7, 2015 07:08
Show Gist options
  • Save forresto/3124854 to your computer and use it in GitHub Desktop.
Save forresto/3124854 to your computer and use it in GitHub Desktop.
meemoo app: recursive spirography feedback thing (native)
{
"info": {
"title": "recursive spirograph thing",
"author": "forresto",
"description": "colored squares feeding back to oblivion",
"url": "spiro-native",
"parents": [
"https://gist.github.com/3122332",
"https://gist.github.com/3124854"
]
},
"nodes": [
{
"id": 2,
"src": "meemoo:image/transform",
"x": 653,
"y": 587,
"w": 511,
"h": 512,
"state": {
"scale": 1,
"translateX": 0,
"translateY": 0,
"rotate": 0.125,
"clearEvery": true,
"width": 500,
"height": 500,
"composite": "source-over",
"smoothing": "true"
}
},
{
"id": 4,
"src": "meemoo:image/rectangle",
"x": 700,
"y": 259,
"w": 200,
"h": 210,
"state": {
"x": 75,
"y": 75,
"w": 350,
"h": 350,
"fill": "",
"strokewidth": 1,
"stroke": "hsla(25, 50%, 75%, 1)"
}
},
{
"id": 5,
"src": "meemoo:image/transform",
"x": 252,
"y": 1185,
"w": 195,
"h": 203,
"state": {
"scale": 0.92,
"translateX": 0,
"translateY": 0,
"rotate": 0.31,
"clearEvery": true,
"width": 500,
"height": 500,
"composite": "source-over",
"smoothing": "true"
}
},
{
"id": 6,
"src": "meemoo:util/color-hsla",
"x": 940,
"y": 77,
"w": 199,
"h": 154,
"state": {
"hue": 0,
"saturation": 0.75,
"lightness": 0.5,
"alpha": 0.9
}
},
{
"id": 9,
"src": "meemoo:image/transform",
"x": 689,
"y": 1188,
"w": 200,
"h": 210,
"state": {
"scale": 0.4,
"translateX": -100,
"translateY": -100,
"rotate": 0,
"clearEvery": true,
"width": 500,
"height": 500,
"composite": "source-over",
"smoothing": "true"
}
},
{
"id": 11,
"src": "meemoo:time/tween",
"x": 154,
"y": 492,
"w": 217,
"h": 159,
"state": {
"from": 0.31,
"to": 0.69,
"duration": 20,
"type": "Bounce",
"ease": "Out",
"pingpong": true,
"loop": false,
"start": "!",
"percent": 0
}
},
{
"id": 8,
"src": "meemoo:time/countdown",
"x": 124,
"y": 84,
"w": 141,
"h": 89,
"state": {
"duration": 2,
"start": "!"
}
},
{
"id": 10,
"src": "meemoo:time/countdown",
"x": 141,
"y": 256,
"w": 197,
"h": 64,
"state": {
"duration": 3,
"start": "!"
}
},
{
"id": 12,
"src": "meemoo:util/stats",
"x": 460,
"y": 438,
"w": 99,
"h": 60,
"state": {}
},
{
"id": 13,
"src": "meemoo:time/tween",
"x": 150,
"y": 698,
"w": 215,
"h": 161,
"state": {
"from": 0.91,
"to": 0.99,
"duration": 2,
"type": "Sinusoidal",
"ease": "InOut",
"pingpong": true,
"percent": 0
}
},
{
"id": 14,
"src": "meemoo:util/math",
"x": 504,
"y": 70,
"w": 173,
"h": 56,
"state": {
"x": 0,
"equation": "random()"
}
}
],
"edges": [
{
"source": [
4,
"image"
],
"target": [
2,
"image"
]
},
{
"source": [
5,
"image"
],
"target": [
2,
"background"
]
},
{
"source": [
2,
"image"
],
"target": [
5,
"image"
]
},
{
"source": [
6,
"color"
],
"target": [
4,
"stroke"
]
},
{
"source": [
5,
"image"
],
"target": [
9,
"image"
]
},
{
"source": [
9,
"image"
],
"target": [
4,
"background"
]
},
{
"source": [
11,
"value"
],
"target": [
5,
"rotate"
]
},
{
"source": [
8,
"bang"
],
"target": [
8,
"start"
]
},
{
"source": [
10,
"bang"
],
"target": [
11,
"start"
]
},
{
"source": [
13,
"value"
],
"target": [
5,
"scale"
]
},
{
"source": [
10,
"bang"
],
"target": [
13,
"start"
]
},
{
"source": [
8,
"bang"
],
"target": [
14,
"evaluate"
]
},
{
"source": [
14,
"equals"
],
"target": [
6,
"hue"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment