text: // ((width, height, n) => `const int16_t posTable[${n}][2] = {\n` + [...Array(n).keys()].map(x => (x / n) * (2 * Math.PI)).map(r => `  {${Math.floor(Math.cos(r) * width)}, ${Math.floor(Math.sin(r) * height)}},`).join('\n') + '\n};')(500,500,512)
  const int16_t posTable[512][2] = {
    {500, 0},
    {499, 6},
    {499, 12},
    {499, 18},
    {499, 24},
    {499, 30},
    {498, 36},
    {498, 42},
    {497, 49},
    {496, 55},
    {496, 61},
    {495, 67},
    {494, 73},
    {493, 79},
    {492, 85},
    {491, 91},
    {490, 97},
    {489, 103},
    {487, 109},
    {486, 115},
    {485, 121},
    {483, 127},
    {481, 133},
    {480, 139},
    {478, 145},
    {476, 151},
    {474, 156},
    {472, 162},
    {470, 168},
    {468, 174},
    {466, 179},
    {464, 185},
    {461, 191},
    {459, 196},
    {457, 202},
    {454, 208},
    {451, 213},
    {449, 219},
    {446, 224},
    {443, 230},
    {440, 235},
    {438, 241},
    {435, 246},
    {431, 251},
    {428, 257},
    {425, 262},
    {422, 267},
    {419, 272},
    {415, 277},
    {412, 282},
    {408, 287},
    {405, 292},
    {401, 297},
    {397, 302},
    {394, 307},
    {390, 312},
    {386, 317},
    {382, 321},
    {378, 326},
    {374, 331},
    {370, 335},
    {366, 340},
    {362, 344},
    {357, 349},
    {353, 353},
    {349, 357},
    {344, 362},
    {340, 366},
    {335, 370},
    {331, 374},
    {326, 378},
    {321, 382},
    {317, 386},
    {312, 390},
    {307, 394},
    {302, 397},
    {297, 401},
    {292, 405},
    {287, 408},
    {282, 412},
    {277, 415},
    {272, 419},
    {267, 422},
    {262, 425},
    {257, 428},
    {251, 431},
    {246, 435},
    {241, 438},
    {235, 440},
    {230, 443},
    {224, 446},
    {219, 449},
    {213, 451},
    {208, 454},
    {202, 457},
    {196, 459},
    {191, 461},
    {185, 464},
    {179, 466},
    {174, 468},
    {168, 470},
    {162, 472},
    {156, 474},
    {151, 476},
    {145, 478},
    {139, 480},
    {133, 481},
    {127, 483},
    {121, 485},
    {115, 486},
    {109, 487},
    {103, 489},
    {97, 490},
    {91, 491},
    {85, 492},
    {79, 493},
    {73, 494},
    {67, 495},
    {61, 496},
    {55, 496},
    {49, 497},
    {42, 498},
    {36, 498},
    {30, 499},
    {24, 499},
    {18, 499},
    {12, 499},
    {6, 499},
    {0, 500},
    {-7, 499},
    {-13, 499},
    {-19, 499},
    {-25, 499},
    {-31, 499},
    {-37, 498},
    {-43, 498},
    {-50, 497},
    {-56, 496},
    {-62, 496},
    {-68, 495},
    {-74, 494},
    {-80, 493},
    {-86, 492},
    {-92, 491},
    {-98, 490},
    {-104, 489},
    {-110, 487},
    {-116, 486},
    {-122, 485},
    {-128, 483},
    {-134, 481},
    {-140, 480},
    {-146, 478},
    {-152, 476},
    {-157, 474},
    {-163, 472},
    {-169, 470},
    {-175, 468},
    {-180, 466},
    {-186, 464},
    {-192, 461},
    {-197, 459},
    {-203, 457},
    {-209, 454},
    {-214, 451},
    {-220, 449},
    {-225, 446},
    {-231, 443},
    {-236, 440},
    {-242, 438},
    {-247, 435},
    {-252, 431},
    {-258, 428},
    {-263, 425},
    {-268, 422},
    {-273, 419},
    {-278, 415},
    {-283, 412},
    {-288, 408},
    {-293, 405},
    {-298, 401},
    {-303, 397},
    {-308, 394},
    {-313, 390},
    {-318, 386},
    {-322, 382},
    {-327, 378},
    {-332, 374},
    {-336, 370},
    {-341, 366},
    {-345, 362},
    {-350, 357},
    {-354, 353},
    {-358, 349},
    {-363, 344},
    {-367, 340},
    {-371, 335},
    {-375, 331},
    {-379, 326},
    {-383, 321},
    {-387, 317},
    {-391, 312},
    {-395, 307},
    {-398, 302},
    {-402, 297},
    {-406, 292},
    {-409, 287},
    {-413, 282},
    {-416, 277},
    {-420, 272},
    {-423, 267},
    {-426, 262},
    {-429, 257},
    {-432, 251},
    {-436, 246},
    {-439, 241},
    {-441, 235},
    {-444, 230},
    {-447, 224},
    {-450, 219},
    {-452, 213},
    {-455, 208},
    {-458, 202},
    {-460, 196},
    {-462, 191},
    {-465, 185},
    {-467, 179},
    {-469, 174},
    {-471, 168},
    {-473, 162},
    {-475, 156},
    {-477, 151},
    {-479, 145},
    {-481, 139},
    {-482, 133},
    {-484, 127},
    {-486, 121},
    {-487, 115},
    {-488, 109},
    {-490, 103},
    {-491, 97},
    {-492, 91},
    {-493, 85},
    {-494, 79},
    {-495, 73},
    {-496, 67},
    {-497, 61},
    {-497, 55},
    {-498, 49},
    {-499, 42},
    {-499, 36},
    {-500, 30},
    {-500, 24},
    {-500, 18},
    {-500, 12},
    {-500, 6},
    {-500, 0},
    {-500, -7},
    {-500, -13},
    {-500, -19},
    {-500, -25},
    {-500, -31},
    {-499, -37},
    {-499, -43},
    {-498, -50},
    {-497, -56},
    {-497, -62},
    {-496, -68},
    {-495, -74},
    {-494, -80},
    {-493, -86},
    {-492, -92},
    {-491, -98},
    {-490, -104},
    {-488, -110},
    {-487, -116},
    {-486, -122},
    {-484, -128},
    {-482, -134},
    {-481, -140},
    {-479, -146},
    {-477, -152},
    {-475, -157},
    {-473, -163},
    {-471, -169},
    {-469, -175},
    {-467, -180},
    {-465, -186},
    {-462, -192},
    {-460, -197},
    {-458, -203},
    {-455, -209},
    {-452, -214},
    {-450, -220},
    {-447, -225},
    {-444, -231},
    {-441, -236},
    {-439, -242},
    {-436, -247},
    {-432, -252},
    {-429, -258},
    {-426, -263},
    {-423, -268},
    {-420, -273},
    {-416, -278},
    {-413, -283},
    {-409, -288},
    {-406, -293},
    {-402, -298},
    {-398, -303},
    {-395, -308},
    {-391, -313},
    {-387, -318},
    {-383, -322},
    {-379, -327},
    {-375, -332},
    {-371, -336},
    {-367, -341},
    {-363, -345},
    {-358, -350},
    {-354, -354},
    {-350, -358},
    {-345, -363},
    {-341, -367},
    {-336, -371},
    {-332, -375},
    {-327, -379},
    {-322, -383},
    {-318, -387},
    {-313, -391},
    {-308, -395},
    {-303, -398},
    {-298, -402},
    {-293, -406},
    {-288, -409},
    {-283, -413},
    {-278, -416},
    {-273, -420},
    {-268, -423},
    {-263, -426},
    {-258, -429},
    {-252, -432},
    {-247, -436},
    {-242, -439},
    {-236, -441},
    {-231, -444},
    {-225, -447},
    {-220, -450},
    {-214, -452},
    {-209, -455},
    {-203, -458},
    {-197, -460},
    {-192, -462},
    {-186, -465},
    {-180, -467},
    {-175, -469},
    {-169, -471},
    {-163, -473},
    {-157, -475},
    {-152, -477},
    {-146, -479},
    {-140, -481},
    {-134, -482},
    {-128, -484},
    {-122, -486},
    {-116, -487},
    {-110, -488},
    {-104, -490},
    {-98, -491},
    {-92, -492},
    {-86, -493},
    {-80, -494},
    {-74, -495},
    {-68, -496},
    {-62, -497},
    {-56, -497},
    {-50, -498},
    {-43, -499},
    {-37, -499},
    {-31, -500},
    {-25, -500},
    {-19, -500},
    {-13, -500},
    {-7, -500},
    {-1, -500},
    {6, -500},
    {12, -500},
    {18, -500},
    {24, -500},
    {30, -500},
    {36, -499},
    {42, -499},
    {49, -498},
    {55, -497},
    {61, -497},
    {67, -496},
    {73, -495},
    {79, -494},
    {85, -493},
    {91, -492},
    {97, -491},
    {103, -490},
    {109, -488},
    {115, -487},
    {121, -486},
    {127, -484},
    {133, -482},
    {139, -481},
    {145, -479},
    {151, -477},
    {156, -475},
    {162, -473},
    {168, -471},
    {174, -469},
    {179, -467},
    {185, -465},
    {191, -462},
    {196, -460},
    {202, -458},
    {208, -455},
    {213, -452},
    {219, -450},
    {224, -447},
    {230, -444},
    {235, -441},
    {241, -439},
    {246, -436},
    {251, -432},
    {257, -429},
    {262, -426},
    {267, -423},
    {272, -420},
    {277, -416},
    {282, -413},
    {287, -409},
    {292, -406},
    {297, -402},
    {302, -398},
    {307, -395},
    {312, -391},
    {317, -387},
    {321, -383},
    {326, -379},
    {331, -375},
    {335, -371},
    {340, -367},
    {344, -363},
    {349, -358},
    {353, -354},
    {357, -350},
    {362, -345},
    {366, -341},
    {370, -336},
    {374, -332},
    {378, -327},
    {382, -322},
    {386, -318},
    {390, -313},
    {394, -308},
    {397, -303},
    {401, -298},
    {405, -293},
    {408, -288},
    {412, -283},
    {415, -278},
    {419, -273},
    {422, -268},
    {425, -263},
    {428, -258},
    {431, -252},
    {435, -247},
    {438, -242},
    {440, -236},
    {443, -231},
    {446, -225},
    {449, -220},
    {451, -214},
    {454, -209},
    {457, -203},
    {459, -197},
    {461, -192},
    {464, -186},
    {466, -180},
    {468, -175},
    {470, -169},
    {472, -163},
    {474, -157},
    {476, -152},
    {478, -146},
    {480, -140},
    {481, -134},
    {483, -128},
    {485, -122},
    {486, -116},
    {487, -110},
    {489, -104},
    {490, -98},
    {491, -92},
    {492, -86},
    {493, -80},
    {494, -74},
    {495, -68},
    {496, -62},
    {496, -56},
    {497, -50},
    {498, -43},
    {498, -37},
    {499, -31},
    {499, -25},
    {499, -19},
    {499, -13},
    {499, -7},
  };