int[][] BitMap={ //◆◆◆ここに自分のビットマップを貼ってください。◆◆◆ {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0}, {0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} }; int B[][][]={ //◆◆◆ 自分の文字に必要な点の数に変えます ◆◆◆ { {13, 284/*これは...*/}, {85, -86}, {489, 55}, {456, 183} }, { {456, 183}, {450, 241}, {413, 271}, {344, 273} }, { {344, 273}, {296, 271}, {181, 273}, {112, 272} }, { {112, 272}, {97, 330}, {221, 381}, {304, 315} }, { {304, 315}, {377, 280}, {431, 331}, {383, 370} }, { {383, 370}, {272, 461}, {4, 447}, {13, 284/*これと同じにする*/} }, }; //以下はいじらないで結構です void setup() { size(1024, 800); background(0); for (int i = 0; iabs(ye-ys)) { // reverting (ys, ye) with (xs, xe) if (xs>xe) { w=xs; xs=xe; xe=w; w=ys; ys=ye; ye=w; } y=ys; er=(xe-xs); for ( x=xs; x<=xe; x++) { v_pixel(1, x, y, 255, 255, 255); er=er+abs(ye-ys)*2; if ( er >=(xe-xs)*2) { if (ysye) { w=ys; ys=ye; ye=w; w=xs; xs=xe; xe=w; } x=xs; er=(ye-ys); for ( y=ys; y<=ye; y++) { v_pixel(1, x, y, 255, 255, 255); er=er+abs(xe-xs)*2; if ( er >=(ye-ys)*2) { if (xs20) { counter2=0; B = new int[n+1][4][2]; for (int a=0; a50)t_was_pressed=false; }