-
/**
-
* ミッドチルダ式魔法陣 (元ネタ:魔法少女リリカルなのは)
-
*
-
* @title mugityax | 背景作成
-
* @link http://www.mugityax.com/weblog/2006/06/post_1.html
-
*
-
* @title ミッドチルダフォント置き場
-
* @link http://midfont.refy.net/
-
*/
-
-
-
-
-
-
-
-
-
-
-
-
-
-
font1 =
loadFont("MID-CHILDA_Regular-30.vlw");
-
font2 =
loadFont("MID-CHILDA_Regular-15.vlw");
-
//font1 = createFont("mid-childa_R.ttf", 30, true);
-
//font2 = createFont("mid-childa_R.ttf", 15, true);
-
-
rot1 = rot2 = 0;
-
}
-
-
-
-
-
{
-
-
-
-
-
-
// 固定円
-
{
-
drawLightEllipse(0, 0, 180*2, 180*2); // 外周円-二重外円
-
drawLightEllipse(0, 0, 175*2, 175*2); // 外周円-二重外円
-
drawLightEllipse(0, 0, 120*2, 120*2); // 外周円-内円
-
drawLightEllipse(0, 0, rl*2, rl*2); // 内周方形内-外円
-
drawLightEllipse(0, 0, 60*2, 60*2); // 内周方形内-内円
-
}
-
-
// 外周小円・内周方形1
-
-
{
-
-
// 外周小円
-
-
-
drawLightEllipse(0, -ro, rm[i], rm[i]);
-
drawLightEllipse(ro, 0, rm[i], rm[i]);
-
drawLightEllipse(0, ro, rm[i], rm[i]);
-
drawLightEllipse(-ro, 0, rm[i], rm[i]);
-
}
-
// 内周方形1
-
drawLightQuad(0,-120,120,0,0,120,-120,0);
-
}
-
-
-
// 内周方形2
-
-
{
-
-
drawLightQuad(-rl,-rl,rl,-rl,rl,rl,-rl,rl);
-
}
-
-
-
-
{"Y","S","T","D","U","X","K","j","L","z","D","K","F","A","M","B","Y","o","h","Z","O","T","U","V","i"},
-
{"J","Z","p","V","A","Y","F","r","j","s","v","W","T","h","G","S","c","H","X","K","k","o","d","B","u"},
-
{"b","F","M","r","g","R","V","y","N","B","A","x","q","C","T","p","E","L","K","a","w","j","k","J","P"},
-
{"H","a","G","d","W","S","n","M","X","s","E","x","A","o","Z","C","b","f","k","U","V","i","Y","B","D"},
-
{"E","y","t","H","L","o","Q","W","T","h","a","d","C","B","b","w","v","D","s","Y","z","e","R","n","S"},
-
{"K","B","f","T","k","R","e","d","w","z","S","m","D","J","P","F","j","o","n","r","u","x","g","v","b"},
-
{"z","G","q","e","u","w","W","a","U","X","i","r","A","Y","D","t","N","V","k","P","Q","p","g","E","K"},
-
{"b","v","d","B","g","z","D","h","j","Q","n","U","G","Z","q","u","F","r","T","X","a","m","W","t","Y"},
-
{"Z","K","U","T","e","A","G","c","X","i","Q","o","R","F","k","t","p","D","J","d","r","q","n","V","E"},
-
};
-
-
{14, 78, 4},
-
{102, 170, 4},
-
{192, 260, 4},
-
{282, 350, 4}
-
};
-
-
// 外周文字
-
-
{
-
-
-
-
-
-
for (int a = a_set
[i
][0]; a
<a_set
[i
][1]; a+=a_set
[i
][2]) {
-
-
-
-
-
-
-
}
-
}
-
}
-
-
-
// 内周文字
-
-
{
-
-
-
-
-
-
for (int a = a_set
[i
][0]; a
<a_set
[i
][1]; a+=a_set
[i
][2]) {
-
-
-
-
-
-
-
}
-
}
-
}
-
-
-
}
-
-
update();
-
}
-
-
-
rot1 += 0.04;
-
rot2 -= 0.04;
-
}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
}
-
-
-
-
-
quad(x1, y1, x2, y2, x3, y3, x4, y4
);
-
-
-
quad(x1, y1, x2, y2, x3, y3, x4, y4
);
-
-
-
quad(x1, y1, x2, y2, x3, y3, x4, y4
);
-
-
-
quad(x1, y1, x2, y2, x3, y3, x4, y4
);
-
}
-
-
-
save("mid_tilde_magic_circle.jpg");
-
}