Skip to content

Turn one illustration into an animated 2D mesh avatar with a coding agent and a local editor

13.9 KB
Raw Blame
{
  "version": 1,
  "image": {
    "width": 1254,
    "height": 1254
  },
  "head": {
    "cx": 615,
    "cy": 400,
    "rx": 430,
    "ry": 470,
    "shiftX": 50,
    "shiftY": 40,
    "pivotX": 640,
    "pivotY": 700,
    "maxRoll": 0.15707963267948966,
    "weightBand": [
      630,
      800
    ],
    "turnBand": [
      640,
      900
    ]
  },
  "body": {
    "pivotX": 640,
    "pivotY": 1650,
    "maxRoll": 0.05235987755982988,
    "breathBand": [
      1040,
      1254
    ],
    "rollBand": [
      950,
      1254
    ],
    "chest": {
      "cx": 660,
      "cy": 960,
      "rx": 260,
      "ry": 200
    },
    "shoulders": [
      {
        "cx": 230,
        "cy": 800,
        "rx": 160,
        "ry": 120
      },
      {
        "cx": 1040,
        "cy": 870,
        "rx": 160,
        "ry": 120
      }
    ]
  },
  "face": {
    "nose": {
      "cx": 615,
      "cy": 515,
      "rx": 45,
      "ry": 45
    },
    "mouth": {
      "cx": 635,
      "cy": 568,
      "rx": 60,
      "ry": 30
    },
    "eyeA": {
      "cx": 493,
      "cy": 478,
      "rx": 80,
      "ry": 55
    },
    "eyeB": {
      "cx": 713,
      "cy": 415,
      "rx": 75,
      "ry": 55
    },
    "earR": {
      "cx": 828,
      "cy": 400,
      "rx": 35,
      "ry": 60
    },
    "earL": {
      "cx": 418,
      "cy": 520,
      "rx": 30,
      "ry": 55
    },
    "brow": {
      "cx": 700,
      "cy": 326,
      "rx": 78,
      "ry": 20,
      "band": [
        346,
        358
      ]
    },
    "jaw": {
      "cx": 632,
      "cy": 625,
      "rx": 100,
      "ry": 55,
      "band": [
        572,
        598
      ]
    }
  },
  "buns": {
    "bunL": {
      "cx": 262,
      "cy": 250,
      "rx": 105,
      "ry": 115
    },
    "bunR": {
      "cx": 820,
      "cy": 110,
      "rx": 115,
      "ry": 105
    }
  },
  "eyes": [
    {
      "opening": [
        [
          446,
          488
        ],
        [
          450,
          472
        ],
        [
          458,
          464
        ],
        [
          468,
          457
        ],
        [
          480,
          452
        ],
        [
          495,
          450
        ],
        [
          510,
          450
        ],
        [
          522,
          452
        ],
        [
          532,
          457
        ],
        [
          538,
          464
        ],
        [
          541,
          475
        ],
        [
          541,
          488
        ],
        [
          535,
          495
        ],
        [
          520,
          501
        ],
        [
          505,
          506
        ],
        [
          488,
          508
        ],
        [
          470,
          507
        ],
        [
          457,
          503
        ],
        [
          449,
          497
        ]
      ],
      "roi": [
        [
          424,
          478
        ],
        [
          432,
          458
        ],
        [
          445,
          440
        ],
        [
          470,
          428
        ],
        [
          500,
          424
        ],
        [
          530,
          426
        ],
        [
          552,
          436
        ],
        [
          556,
          452
        ],
        [
          552,
          470
        ],
        [
          548,
          495
        ],
        [
          540,
          505
        ],
        [
          520,
          512
        ],
        [
          495,
          516
        ],
        [
          465,
          514
        ],
        [
          445,
          506
        ],
        [
          430,
          500
        ]
      ],
      "x0": 446,
      "x1": 541,
      "top": [
        487.9,
        471.87,
        467.74,
        463.73,
        460.83,
        457.94,
        455.84,
        454.12,
        452.4,
        451.58,
        451.03,
        450.48,
        450.0,
        450.0,
        450.0,
        450.0,
        450.35,
        451.04,
        451.72,
        453.24,
        455.3,
        457.86,
        462.68,
        481.26
      ],
      "bot": [
        487.9,
        497.85,
        500.95,
        503.43,
        504.7,
        505.97,
        507.04,
        507.27,
        507.5,
        507.73,
        507.96,
        507.6,
        507.11,
        506.62,
        506.14,
        505.01,
        503.64,
        502.26,
        500.86,
        499.21,
        497.56,
        495.9,
        492.82,
        481.26
      ]
    },
    {
      "opening": [
        [
          666,
          402
        ],
        [
          672,
          393
        ],
        [
          685,
          387
        ],
        [
          700,
          384
        ],
        [
          718,
          383
        ],
        [
          735,
          385
        ],
        [
          752,
          388
        ],
        [
          764,
          392
        ],
        [
          768,
          402
        ],
        [
          768,
          420
        ],
        [
          762,
          430
        ],
        [
          748,
          438
        ],
        [
          730,
          443
        ],
        [
          712,
          447
        ],
        [
          695,
          451
        ],
        [
          682,
          451
        ],
        [
          672,
          445
        ],
        [
          667,
          432
        ],
        [
          665,
          418
        ]
      ],
      "roi": [
        [
          648,
          400
        ],
        [
          652,
          380
        ],
        [
          665,
          366
        ],
        [
          690,
          356
        ],
        [
          720,
          354
        ],
        [
          748,
          358
        ],
        [
          763,
          366
        ],
        [
          766,
          390
        ],
        [
          766,
          402
        ],
        [
          764,
          428
        ],
        [
          758,
          440
        ],
        [
          740,
          448
        ],
        [
          715,
          454
        ],
        [
          690,
          458
        ],
        [
          672,
          456
        ],
        [
          658,
          442
        ],
        [
          650,
          420
        ]
      ],
      "x0": 665,
      "x1": 768,
      "top": [
        417.07,
        396.78,
        392.1,
        390.03,
        387.96,
        386.52,
        385.63,
        384.73,
        383.95,
        383.71,
        383.46,
        383.21,
        383.09,
        383.61,
        384.14,
        384.67,
        385.29,
        386.08,
        386.87,
        387.66,
        388.86,
        390.35,
        391.84,
        410.91
      ],
      "bot": [
        417.07,
        438.44,
        446.17,
        448.86,
        451.0,
        451.0,
        451.0,
        450.68,
        449.63,
        448.58,
        447.52,
        446.5,
        445.5,
        444.51,
        443.51,
        442.4,
        441.15,
        439.91,
        438.66,
        436.81,
        434.25,
        431.69,
        427.46,
        410.91
      ]
    }
  ],
  "mouth": {
    "cx": 635.5,
    "cy": 567.5,
    "angle": -0.30522313379392135,
    "halfLen": 38.3,
    "bow": 5.5,
    "area": {
      "cx": 636,
      "cy": 574,
      "rx": 62,
      "ry": 34,
      "angle": -0.24434609527920614
    }
  },
  "cheeks": [
    [
      488,
      532
    ],
    [
      748,
      468
    ]
  ],
  "strands": [
    {
      "name": "bang1",
      "nodes": [
        [
          500,
          140
        ],
        [
          470,
          240
        ],
        [
          445,
          340
        ],
        [
          428,
          430
        ]
      ],
      "sigma": 18,
      "k": 1,
      "max": 8
    },
    {
      "name": "bang2",
      "nodes": [
        [
          530,
          130
        ],
        [
          505,
          240
        ],
        [
          485,
          340
        ],
        [
          468,
          438
        ]
      ],
      "sigma": 18,
      "k": 0.92,
      "max": 8
    },
    {
      "name": "bang3",
      "nodes": [
        [
          555,
          125
        ],
        [
          540,
          230
        ],
        [
          525,
          330
        ],
        [
          510,
          432
        ]
      ],
      "sigma": 18,
      "k": 1.06,
      "max": 8
    },
    {
      "name": "bang4",
      "nodes": [
        [
          575,
          130
        ],
        [
          568,
          230
        ],
        [
          558,
          330
        ],
        [
          550,
          422
        ]
      ],
      "sigma": 18,
      "k": 0.95,
      "max": 8
    },
    {
      "name": "bang5",
      "nodes": [
        [
          590,
          140
        ],
        [
          590,
          230
        ],
        [
          590,
          320
        ],
        [
          590,
          405
        ]
      ],
      "sigma": 18,
      "k": 1.03,
      "max": 8
    },
    {
      "name": "bang6",
      "nodes": [
        [
          600,
          160
        ],
        [
          608,
          220
        ],
        [
          618,
          280
        ],
        [
          628,
          335
        ]
      ],
      "sigma": 16,
      "k": 1.1,
      "max": 7
    },
    {
      "name": "sideL",
      "nodes": [
        [
          420,
          300
        ],
        [
          400,
          430
        ],
        [
          398,
          560
        ],
        [
          415,
          700
        ]
      ],
      "sigma": 26,
      "k": 0.55,
      "max": 12
    },
    {
      "name": "sideR",
      "nodes": [
        [
          770,
          260
        ],
        [
          782,
          380
        ],
        [
          792,
          480
        ],
        [
          800,
          580
        ]
      ],
      "sigma": 22,
      "k": 0.65,
      "max": 10
    }
  ],
  "accessories": [
    {
      "name": "tassel_l",
      "pivot": [
        292,
        419
      ],
      "tip": [
        289,
        598
      ],
      "split": 0.4,
      "box": [
        236,
        416,
        348,
        610
      ],
      "color": {
        "redness": 0.5,
        "minRed": 60
      }
    },
    {
      "name": "tassel_r",
      "pivot": [
        868,
        282
      ],
      "tip": [
        903,
        462
      ],
      "split": 0.4,
      "box": [
        856,
        279,
        952,
        474
      ],
      "color": {
        "redness": 0.5,
        "minRed": 60
      }
    }
  ],
  "hand": {
    "outline": [
      [
        472,
        609
      ],
      [
        492,
        608
      ],
      [
        515,
        618
      ],
      [
        535,
        633
      ],
      [
        552,
        653
      ],
      [
        566,
        668
      ],
      [
        575,
        690
      ],
      [
        579,
        715
      ],
      [
        577,
        745
      ],
      [
        575,
        772
      ],
      [
        565,
        772
      ],
      [
        550,
        762
      ],
      [
        546,
        790
      ],
      [
        547,
        830
      ],
      [
        543,
        870
      ],
      [
        536,
        920
      ],
      [
        521,
        975
      ],
      [
        506,
        1025
      ],
      [
        491,
        1075
      ],
      [
        476,
        1125
      ],
      [
        461,
        1175
      ],
      [
        448,
        1215
      ],
      [
        436,
        1254
      ],
      [
        241,
        1254
      ],
      [
        253,
        1215
      ],
      [
        273,
        1175
      ],
      [
        298,
        1130
      ],
      [
        326,
        1094
      ],
      [
        352,
        1082
      ],
      [
        380,
        1046
      ],
      [
        412,
        1004
      ],
      [
        440,
        952
      ],
      [
        462,
        904
      ],
      [
        464,
        860
      ],
      [
        458,
        815
      ],
      [
        445,
        780
      ],
      [
        430,
        748
      ],
      [
        421,
        715
      ],
      [
        426,
        690
      ],
      [
        441,
        660
      ],
      [
        458,
        630
      ]
    ],
    "jaw": [
      [
        470,
        585.5
      ],
      [
        476,
        585.5
      ],
      [
        482,
        592.5
      ],
      [
        488,
        598.5
      ],
      [
        502,
        610.5
      ],
      [
        514,
        618.5
      ],
      [
        526,
        624.5
      ],
      [
        538,
        628.5
      ],
      [
        550,
        634.5
      ],
      [
        560,
        638.5
      ],
      [
        566,
        640.5
      ],
      [
        572,
        641.5
      ],
      [
        578,
        644
      ]
    ],
    "jawRange": [
      470,
      600
    ],
    "background": [
      [
        440,
        560
      ],
      [
        560,
        626
      ],
      [
        556,
        638
      ],
      [
        552,
        665
      ],
      [
        535,
        700
      ],
      [
        440,
        700
      ]
    ],
    "elbow": [
      300,
      1390
    ],
    "wrist": [
      505,
      850
    ],
    "knuckle": [
      497,
      652
    ],
    "contact": [
      530,
      628
    ],
    "forearmShare": 0.3,
    "armBand": [
      1180,
      1300
    ],
    "wristBand": [
      790,
      900
    ],
    "handBand": [
      800,
      900
    ],
    "fingerXBand": [
      482,
      540
    ],
    "fingerYBand": [
      678,
      722
    ],
    "pinBand": [
      1180,
      1254
    ]
  },
  "mesh": {
    "baseCell": 14,
    "fine": {
      "x0": 340,
      "x1": 880,
      "y0": 60,
      "y1": 760,
      "cell": 7
    },
    "handCell": 9,
    "tasselCell": 6,
    "eyeBallCell": 4,
    "eyeCell": 3,
    "spriteCell": 4
  },
  "view": {
    "padTop": -0.07,
    "padSide": 0,
    "gazeCenter": [
      615,
      470
    ]
  }
}