Skip to content

Instantly share code, notes, and snippets.

@forresto
Forked from anonymous/test-mapper.json
Last active December 17, 2015 13:39
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/5618386 to your computer and use it in GitHub Desktop.
Save forresto/5618386 to your computer and use it in GitHub Desktop.
meemoo test: "mapper" projection mapping module test
{
"info": {
"author": "meemoo",
"title": "Untitled",
"description": "Meemoo app description",
"parents": [
"https://gist.github.com/5540121",
"https://gist.github.com/5615184"
],
"url": "test-mapper"
},
"nodes": [
{
"id": 0,
"src": "meemoo:image/rectangle",
"x": 136,
"y": 91,
"w": 138,
"h": 149,
"state": {
"x": 0,
"y": 0,
"w": 300,
"h": 300,
"stroke": "black",
"strokewidth": 1,
"fill": "red"
}
},
{
"id": 1,
"src": "meemoo:image/circle",
"x": 134,
"y": 289,
"w": 145,
"h": 160,
"state": {
"x": 250,
"y": 250,
"r": 225,
"stroke": "black",
"strokewidth": 1,
"fill": "green"
}
},
{
"id": 2,
"src": "meemoo:image/mapper",
"x": 453,
"y": 105,
"w": 578,
"h": 415,
"state": {
"layers": [
{
"name": "canvas-1",
"visible": true,
"sort": 1,
"x0": 232,
"y0": 20,
"x1": 423,
"y1": 33,
"x2": 216,
"y2": 190,
"x3": 386,
"y3": 242
},
{
"name": "canvas-4",
"visible": true,
"sort": 2,
"x0": 18,
"y0": 51,
"x1": 207,
"y1": 11,
"x2": 43,
"y2": 283,
"x3": 214,
"y3": 175
},
{
"name": "canvas-0",
"visible": true,
"sort": 3,
"x0": 218,
"y0": 193,
"x1": 385,
"y1": 235,
"x2": 39,
"y2": 287,
"x3": 243,
"y3": 358
}
]
}
},
{
"id": 4,
"src": "meemoo:image/circle",
"x": 134,
"y": 505,
"w": 145,
"h": 160,
"state": {
"x": 150,
"y": 150,
"r": 100,
"stroke": "black",
"strokewidth": 1,
"fill": "blue"
}
}
],
"edges": [
{
"source": [
4,
"image"
],
"target": [
2,
"image"
]
},
{
"source": [
1,
"image"
],
"target": [
2,
"image"
]
},
{
"source": [
0,
"image"
],
"target": [
2,
"image"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment