Skip to content

Instantly share code, notes, and snippets.

@nemrosim
Created December 4, 2024 00:03
Show Gist options
  • Save nemrosim/e3f5fdfe8ff472e075d112b364cf47f5 to your computer and use it in GitHub Desktop.
Save nemrosim/e3f5fdfe8ff472e075d112b364cf47f5 to your computer and use it in GitHub Desktop.
const OLD = {
image: { __typename__: 'Image' },
sprites: [
{ x: 0, y: 0, width: 2, height: 2 },
{ x: 0, y: 0, width: 2, height: 23 },
{ x: 0, y: 0, width: 2, height: 36 },
{ x: 0, y: 0, width: 2, height: 42 },
{ x: 0, y: 0, width: 2, height: 48 },
{ x: 0, y: 0, width: 2, height: 140 },
{ x: 0, y: 0, width: 2, height: 129 },
{ x: 0, y: 0, width: 2, height: 77 },
{ x: 0, y: 0, width: 2, height: 58 },
{ x: 0, y: 0, width: 2, height: 81 },
{ x: 0, y: 0, width: 2, height: 87 },
{ x: 0, y: 0, width: 2, height: 33 },
{ x: 0, y: 0, width: 2, height: 56 },
{ x: 0, y: 0, width: 2, height: 55 },
{ x: 0, y: 0, width: 2, height: 79 },
{ x: 0, y: 0, width: 2, height: 133 },
{ x: 0, y: 0, width: 2, height: 128 },
{ x: 0, y: 0, width: 2, height: 80 },
{ x: 0, y: 0, width: 2, height: 55 },
{ x: 0, y: 0, width: 2, height: 108 },
{ x: 0, y: 0, width: 2, height: 105 },
{ x: 0, y: 0, width: 2, height: 42 },
{ x: 0, y: 0, width: 2, height: 42 },
{ x: 0, y: 0, width: 2, height: 64 },
{ x: 0, y: 0, width: 2, height: 101 },
{ x: 0, y: 0, width: 2, height: 74 },
{ x: 0, y: 0, width: 2, height: 160 },
{ x: 0, y: 0, width: 2, height: 118 },
{ x: 0, y: 0, width: 2, height: 88 },
{ x: 0, y: 0, width: 2, height: 72 },
{ x: 0, y: 0, width: 2, height: 84 },
{ x: 0, y: 0, width: 2, height: 98 },
{ x: 0, y: 0, width: 2, height: 40 },
{ x: 0, y: 0, width: 2, height: 74 },
{ x: 0, y: 0, width: 2, height: 147 },
{ x: 0, y: 0, width: 2, height: 95 },
{ x: 0, y: 0, width: 2, height: 7 },
{ x: 0, y: 0, width: 2, height: 55 },
{ x: 0, y: 0, width: 2, height: 33 },
{ x: 0, y: 0, width: 2, height: 124 },
{ x: 0, y: 0, width: 2, height: 100 },
{ x: 0, y: 0, width: 2, height: 105 },
{ x: 0, y: 0, width: 2, height: 21 },
{ x: 0, y: 0, width: 2, height: 24 },
{ x: 0, y: 0, width: 2, height: 60 },
{ x: 0, y: 0, width: 2, height: 60 },
{ x: 0, y: 0, width: 2, height: 115 },
{ x: 0, y: 0, width: 2, height: 155 },
{ x: 0, y: 0, width: 2, height: 71 },
{ x: 0, y: 0, width: 2, height: 71 },
{ x: 0, y: 0, width: 2, height: 71 },
{ x: 0, y: 0, width: 2, height: 73 },
{ x: 0, y: 0, width: 2, height: 59 },
{ x: 0, y: 0, width: 2, height: 44 },
{ x: 0, y: 0, width: 2, height: 61 },
{ x: 0, y: 0, width: 2, height: 52 },
{ x: 0, y: 0, width: 2, height: 123 },
{ x: 0, y: 0, width: 2, height: 139 },
{ x: 0, y: 0, width: 2, height: 112 },
{ x: 0, y: 0, width: 2, height: 70 },
{ x: 0, y: 0, width: 2, height: 42 },
{ x: 0, y: 0, width: 2, height: 64 },
{ x: 0, y: 0, width: 2, height: 85 },
{ x: 0, y: 0, width: 2, height: 25 },
{ x: 0, y: 0, width: 2, height: 48 },
{ x: 0, y: 0, width: 2, height: 65 },
{ x: 0, y: 0, width: 2, height: 75 },
{ x: 0, y: 0, width: 2, height: 144 },
{ x: 0, y: 0, width: 2, height: 153 },
{ x: 0, y: 0, width: 2, height: 91 },
{ x: 0, y: 0, width: 2, height: 54 },
{ x: 0, y: 0, width: 2, height: 66 },
{ x: 0, y: 0, width: 2, height: 105 },
{ x: 0, y: 0, width: 2, height: 22 },
{ x: 0, y: 0, width: 2, height: 30 },
{ x: 0, y: 0, width: 2, height: 140 },
{ x: 0, y: 0, width: 2, height: 130 },
{ x: 0, y: 0, width: 2, height: 30 },
{ x: 0, y: 0, width: 2, height: 9 },
{ x: 0, y: 0, width: 2, height: 94 },
{ x: 0, y: 0, width: 2, height: 113 },
{ x: 0, y: 0, width: 2, height: 136 },
{ x: 0, y: 0, width: 2, height: 71 },
{ x: 0, y: 0, width: 2, height: 66 },
{ x: 0, y: 0, width: 2, height: 13 },
{ x: 0, y: 0, width: 2, height: 47 },
{ x: 0, y: 0, width: 2, height: 18 },
],
transforms: [
{ ty: 84, tx: 0, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 74, tx: 4, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 67, tx: 8, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 64, tx: 12, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 61, tx: 16, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 15, tx: 20, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 21, tx: 24, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 47, tx: 28, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 56, tx: 32, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 45, tx: 36, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 42, tx: 40, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 69, tx: 44, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 57, tx: 48, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 58, tx: 52, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 46, tx: 56, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 19, tx: 60, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 21, tx: 64, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 45, tx: 68, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 58, tx: 72, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 31, tx: 76, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 33, tx: 80, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 64, tx: 84, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 64, tx: 88, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 53, tx: 92, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 35, tx: 96, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 48, tx: 100, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 5, tx: 104, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 26, tx: 108, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 41, tx: 112, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 49, tx: 116, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 43, tx: 120, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 36, tx: 124, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 65, tx: 128, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 48, tx: 132, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 12, tx: 136, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 38, tx: 140, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 82, tx: 144, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 58, tx: 148, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 69, tx: 152, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 23, tx: 156, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 35, tx: 160, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 33, tx: 164, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 75, tx: 168, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 73, tx: 172, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 55, tx: 176, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 55, tx: 180, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 28, tx: 184, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 8, tx: 188, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 50, tx: 192, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 50, tx: 196, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 50, tx: 200, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 49, tx: 204, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 56, tx: 208, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 63, tx: 212, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 55, tx: 216, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 59, tx: 220, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 24, tx: 224, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 16, tx: 228, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 29, tx: 232, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 50, tx: 236, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 64, tx: 240, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 53, tx: 244, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 43, tx: 248, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 73, tx: 252, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 61, tx: 256, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 53, tx: 260, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 48, tx: 264, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 13, tx: 268, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 9, tx: 272, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 40, tx: 276, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 58, tx: 280, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 52, tx: 284, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 33, tx: 288, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 74, tx: 292, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 70, tx: 296, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 15, tx: 300, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 20, tx: 304, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 70, tx: 308, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 81, tx: 312, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 38, tx: 316, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 29, tx: 320, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 17, tx: 324, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 50, tx: 328, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 52, tx: 332, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 79, tx: 336, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 62, tx: 340, ssin: 0, scos: 1, __typename__: '"RSXform"' },
{ ty: 76, tx: 344, ssin: 0, scos: 1, __typename__: '"RSXform"' },
],
colors: [
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
{ '0': 0.4235294461250305, '1': 0.46666669845581055, '2': 0.5098039507865906, '3': 1 },
],
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment