//Template made by Lester Matthew Sollano
#define d 83
char b[] = "1111111110010010010010010010010010010010010010010010011111111111111111111111111111111111111111111";
const int a = sizeof(b) / sizeof(b[0]);
const char c[][a-1] =
{
/*0*/ "",
// STAR
/*1*/ "1111111110010010010010010010010010010010010010010010011111111111111111111111111111111111111111111", /*1*/
/*2*/ "1111111110010010010010010010010010010010010010010010011111111111111111111111111111111111111111111", /*2*/
/*3*/ "1111111110010010010010010010010010010010010010010010011111111111111111111111111111111111111111111", /*3*/
/*4*/ "1111111110010010010010010010010010010010010010010010011111111111111111111111111111111111111111111", /*4*/
/*5*/ "1111111110010010010010010010010010010010010010010010011111111111111111111111111111111111111111111", /*5*/
// BLUE
/*6*/ "0111111101001001001001001001001001001001001001001001000111111111111111111111111111011111111111111", /*6*/
/*7*/ "0111111101001001001001001001001001001001001001001001000111111111111111111111111111011111111111111", /*7*/
/*8*/ "0111111101001001001001001001001001001001001001001001000111111111111111111111111111011111111111111", /*8*/
/*9*/ "0111111101001001001001001001001001001001001001001001000111111111111111111111111111011111111111111", /*9*/
/*10*/ "0111111101001001001001001001001001001001001001001001000111111111111111111111111111011111111111111", /*10*/
// FIRE |103
/*11*/ "0011111100100100100100100100100100100100100100100100100011111111110000111111111110001111111111000", /*11*/
/*12*/ "0011111100100100100100100100100100100100100100100100100011111111110000011111111100001111111111000", /*12*/
/*13*/ "0011111100100100100100100100100100100100100100100100100011111111110000001111111000001111111111000", /*13*/
/*14*/ "0011111100100100100100100100100100100100100100100100100011111111110000000111110000001111111111000", /*14*/
/*15*/ "0011111100100100100100100100100100100100100100100100100011111111110000000011100000001111111111000", /*15*/
/*16*/ "0011111100100100100100100100100100100100100100100100100011111111110000111111111110001111111111000", /*16*/
/*17*/ "0011111100100100100100100100100100100100100100100100100011111111110000011111111100001111111111000", /*17*/
/*18*/ "0011111100100100100100100100100100100100100100100100100011111111110000001111111000001111111111000", /*18*/
/*19*/ "0011111100100100100100100100100100100100100100100100100011111111110000000111110000001111111111000", /*19*/
/*20*/ "0011111100100100100100100100100100100100100100100100100011111111110000000011100000001111111111000", /*20*/
// WHITE RAY
/*21*/ "0001111111111000001111100000111110000011111000001111100000111111000000111111111110000011111100000", /*21*/
/*22*/ "0001111100001111100000111110000011111000001111100000110000111111000000000011111100000011111100000", /*22*/
/*23*/ "0001111100011111000001111100000111110000011111000001110000111111000000000111111000000011111100000", /*23*/
/*24*/ "0001111100111110000011111000001111100000111110000011110000111111000000001111110000000011111100000", /*24*/
/*25*/ "0001111101111100000111110000011111000001111100000111110000111111000000011111100000000011111100000", /*25*/
// Y B R
/*26*/ "0000111110010010010010010010010010010010010010010010010001111111101001001001001001000111111110100", /*26*/
/*27*/ "0000111110010010010010010010010010010010010010010010010001111111100100100100100100000111111110010", /*27*/
/*28*/ "0000111110010010010010010010010010010010010010010010010001111111100010010010010010000111111110001", /*28*/
// GREEN TRIANGLES
/*29*/ "0000011110100100100100100100100100100100100100100100100000011110001000010000100001000001111000100", /*29*/
/*30*/ "0000011110100100100100100100100100100100100100100100100000011110000100001000010000000001111000010", /*30*/
/*31*/ "0000011110100100100100100100100100100100100100100100100000011110000010000100001000000001111000001", /*31*/
/*32*/ "0000011110100100100100100100100100100100100100100100100000011110000001000010000100000001111000000", /*32*/
/*33*/ "0000011110100100100100100100100100100100100100100100100000011110000000100001000010000001111000000", /*33*/
// BLUE TRIANGLES
/*34*/ "0000011110010010010010010010010010010010010010010010010000001100001000010000100001000000110000100", /*34*/
/*35*/ "0000011110010010010010010010010010010010010010010010010000001100000100001000010000000000110000010", /*35*/
/*36*/ "0000011110010010010010010010010010010010010010010010010000001100000010000100001000000000110000001", /*36*/
/*37*/ "0000011110010010010010010010010010010010010010010010010000001100000001000010000100000000110000000", /*37*/
/*38*/ "0000011110010010010010010010010010010010010010010010010000001100000000100001000010000000110000000", /*38*/
// SUN RAYS | || |
/*39*/ "0000000110000000100000001000000010000000100000001000000000000111111110000000100000000000011111111", /*39*/
/*40*/ "0000000101000000010000000100000001000000010000000100001111111100000001000001010000111111110000000", /*40*/
/*41*/ "0000000100100000001000000010000000100000001000000010000111111110000000100010001000011111111000000", /*41*/
/*42*/ "0000000100010000000100000001000000010000000100000001000011111111000000010100000100001111111100000", /*42*/
/*43*/ "0000000100001000000010000000100000001000000010000000100001111111100000001000000010000111111110000", /*43*/
/*44*/ "0000000100000100000001000000010000000100000001000000010000111111110000010100000100000011111111000", /*44*/
/*45*/ "0000000100000010000000100000001000000010000000100000000000011111111000100010001000000001111111100", /*45*/
/*46*/ "0000000100000001000000010000000100000001000000010000000000001111111101000001010000000000111111110", /*46*/
// OUTER CIRCLES
/*47*/ "0000001101000010000100001000010000100001000010000100001111111111111111111111111111111111111111111", /*47*/
/*48*/ "0000001100100001000010000100001000010000100001000010001111111111111111111111111111111111111111111", /*48*/
/*49*/ "0000001100010000100001000010000100001000010000100001001111111111111111111111111111111111111111111", /*49*/
/*50*/ "0000001100001000010000100001000010000100001000010000101111111111111111111111111111111111111111111", /*50*/
/*51*/ "0000001110000100001000010000100001000010000100001000011111111111111111111111111111111111111111111", /*51*/
// SILHOUETTE
/*52*/ "0101010110010010010010010010010010010010010010010010011111111111111111111111111111111111111111111", /*52*/
/*53*/ "1010101010010010010010010010010010010010010010010010011111111111111111111111111111111111111111111", /*53*/
// DURATION PER FRAME * d
/*time*/"7655676311111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"
};// |intro |random showcase |oyan da reng sulu
void setup()
{
for (int i = 0; i <= 53; i++)
{
pinMode(i, OUTPUT);
}
}
void loop()
{
for (int i = 0; i <= a-2; i++)
{
for(int j = 0; j <= 53; j++)
{
if (c[j][i] == '1')
{
digitalWrite(j, HIGH);
} else if(c[j][i] == '0')
{
digitalWrite(j, LOW);
}
}
int e = c[54][i]-'0';
delay(e*d);
}
}