created example_new.json

master
ArgonarioD 2022-11-23 11:33:51 +08:00
parent 03cd768f21
commit 1a54a11e32
1 changed files with 289 additions and 0 deletions

289
1st_encode/example_new.json Normal file
View File

@ -0,0 +1,289 @@
{
"height": 1080,
"width": 1080,
"elements": [
{
"type": "path",
"data": {
"operations": [
{
"type": "line",
"data": {
"target": {
"x": 15,
"y": 20
}
}
},
{
"type": "cubic",
"data": {
"target": {
"x": 18,
"y": 21
},
"control": {
"start": {
"x": 17,
"y": 22
},
"end": {
"x": 20,
"y": 23
}
}
}
},
{
"type": "cubic-smooth",
"data": {
"target": {
"x": 18,
"y": 21
},
"control": {
"x": 18,
"y": 21
}
}
},
{
"type": "quadratic",
"data": {
"target": {
"x": 18,
"y": 21
},
"control": {
"x": 18,
"y": 21
}
}
},
{
"type": "quadratic-smooth",
"data": {
"target": {
"x": 18,
"y": 21
}
}
},
{
"type": "arc",
"data": {
"center": {
"x": 18,
"y": 21
},
"x-axis": 40,
"y-axis": 50,
"angle": 6000
}
},
{
"type": "zeal"
}
]
}
},
{
"type": "polygon",
"data": {
"points": [
{
"x": 10,
"y": 20
},
{
"x": 10,
"y": 20
},
{
"x": 10,
"y": 20
},
{
"x": 10,
"y": 20
},
{
"x": 10,
"y": 20
}
]
}
},
{
"type": "round",
"data": {
"x-axis": 30,
"y-axis": 40,
"angle": 6000
}
},
{
"type": "group",
"reference-layer": "0.0"
}
],
"root-layer": {
"name": "root",
"offset": {
"x": 0,
"y": 0
},
"transformation": [
0,0,0,
0,0,0,
0,0,0
],
"effects": [],
"is-folder": true,
"referenced-by": null,
"children": [
{
"name": "GroupFolderExample",
"offset": {
"x": 5,
"y": 10
},
"transformation": [
0,0,0,
0,0,0,
0,0,0
],
"effects": [
{
"type": "iteration",
"data": {
"times": 5,
"operation": [
[
{
"type": "move",
"data": {
"dx": 5,
"dy": 6
}
},
{
"type": "rotate",
"data": {
"center": {
"dx": 0,
"dy": 0
},
"dθ": 6000
}
},
{
"type": "zoom",
"data": {
"zoom": 1.5
}
},
{
"type": "flip"
}
],
[
{
"type": "move",
"data": {
"dx": 5,
"dy": 6
}
},
{
"type": "rotate",
"data": {
"center": {
"dx": 0,
"dy": 0
},
"dθ": 6000
}
},
{
"type": "zoom",
"data": {
"zoom": 1.5
}
},
{
"type": "flip"
}
]
]
}
}
],
"is-folder": true,
"referenced-by": 3,
"children": [
{
"name": "GroupedLayer1",
"offset": {
"x": 10,
"y": 20
},
"transformation": [
5,0,0,
0,6,0,
0,0,0
],
"effects": [],
"is-folder": false,
"element": 0
},
{
"name": "GroupedLayer2",
"offset": {
"x": 15,
"y": 25
},
"transformation": [
5,0,0,
0,6,0,
0,0,0
],
"effects": [],
"is-folder": false,
"element": 1
}
]
},
{
"name": "ReferencingGroupLayer",
"offset": {
"x": 10,
"y": 20
},
"transformation": [
5,0,0,
0,6,0,
0,0,0
],
"effects": [],
"is-folder": false,
"element": 3
},
{
"name": "Layer1",
"offset": {
"x": 10,
"y": 20
},
"transformation": [
5,0,0,
0,6,0,
0,0,0
],
"effects": [],
"is-folder": false,
"element": 3
}
]
}
}