Jsony and pixie are awesome.
Is there any declarative way to turn json into pixie drawings?
I've started to put together an extremely rudimentary way to draw boxes specified in json, with an easy way to copy/repeat things by using references. But I'm guessing something like that has already been done. OTOH, pixie allows arbitrary complexity and layering of things, which may not map well to a declarative thing like json.
{"shapes": [
{"rect": {
"name": "nikorect",
"lineWidth": 5,
"lineColor": "0xffcc00",
"pos": {"x": 10, "y": 20},
"size": {"w": 75, "h": 25}}},
{"rect": {
"name": "helenarect",
"lineWidth": 99,
"lineColor": "Pink",
"pos": {"x": 20, "y": 30},
"size": {"w": 76, "h": 27}}},
{"instance": {
"name": "mamarect",
"nameRef": "nikorect",
"pos": {"x":3, "y": 30}}},
{"instance": {
"name": "dadarect",
"nameRef": "helenarect",
"pos": {"x":5, "y": 35}}}
]
}
thanks
There's something called SVG. As much hate as XML gets some bits like SVG are pretty nice. ;)
Though if you really want JSON there's Lottie format. It's for animation but a subset is for vectors and layering.