Cotton code
145 lines · 1.5 KB · JSONRaw
{  "viewWidth": 439.0,  "viewHeight": 629.0,  "knotRadius": 15.5,  "threadWidth": 13.5,  "knotInk": "#D9962E",  "threadInk": "#5FA1DF",  "ground": "#1D1E1E",  "points": [    {      "x": 234.7,      "y": 15.9,      "kind": "knot"    },    {      "x": 407.7,      "y": 93.0,      "kind": "knot"    },    {      "x": 66.6,      "y": 93.0,      "kind": "knot"    },    {      "x": 93.1,      "y": 259.1,      "kind": "knot"    },    {      "x": 92.9,      "y": 385.1,      "kind": "knot"    },    {      "x": 422.7,      "y": 442.1,      "kind": "knot"    },    {      "x": 64.3,      "y": 527.9,      "kind": "knot"    },    {      "x": 388.2,      "y": 529.9,      "kind": "knot"    },    {      "x": 248.2,      "y": 611.9,      "kind": "knot"    },    {      "x": 0.0,      "y": 318.3,      "kind": "turn"    },    {      "x": 232.7,      "y": 163.5,      "kind": "turn"    },    {      "x": 294.1,      "y": 497.0,      "kind": "turn"    }  ],  "threads": [    [      0,      1    ],    [      0,      2    ],    [      0,      3    ],    [      2,      3    ],    [      2,      9    ],    [      3,      4    ],    [      3,      9    ],    [      3,      10    ],    [      1,      10    ],    [      4,      6    ],    [      4,      8    ],    [      4,      9    ],    [      4,      11    ],    [      5,      11    ],    [      5,      7    ],    [      6,      8    ],    [      6,      9    ],    [      7,      8    ]  ]}