Skip to content

Instantly share code, notes, and snippets.

Created May 20, 2013 20:21

Revisions

  1. @invalid-email-address Anonymous created this gist May 20, 2013.
    145 changes: 145 additions & 0 deletions test-mapper.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,145 @@
    {
    "info": {
    "author": "meemoo",
    "title": "Untitled",
    "description": "Meemoo app description",
    "parents": [
    "https://gist.github.com/5540121"
    ],
    "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": 33,
    "y0": 22,
    "x1": 400,
    "y1": 0,
    "x2": 0,
    "y2": 400,
    "x3": 400,
    "y3": 400
    },
    {
    "name": "canvas-4",
    "visible": true,
    "sort": 2,
    "x0": 39,
    "y0": 48,
    "x1": 300,
    "y1": 0,
    "x2": 0,
    "y2": 300,
    "x3": 300,
    "y3": 300
    },
    {
    "name": "canvas-0",
    "visible": true,
    "sort": 3,
    "x0": 154,
    "y0": 88,
    "x1": 235,
    "y1": 64,
    "x2": 103,
    "y2": 287,
    "x3": 322,
    "y3": 309
    }
    ]
    }
    },
    {
    "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"
    ]
    }
    ]
    }