From d17bb943da0a395497a7244a326dd63ff468b7ca Mon Sep 17 00:00:00 2001 From: Mattia Basaglia Date: Wed, 6 Nov 2013 17:27:36 +0100 Subject: [PATCH] Twilicorn --- Twilight/{colors => alicorn_parts}/30;1 | 0 Twilight/{colors => alicorn_parts}/31;22 | 0 Twilight/{colors => alicorn_parts}/34;22 | 0 Twilight/alicorn_parts/35;22 | 29 ++++++++++++++++++++++++ Twilight/alicorn_parts/37;1 | 29 ++++++++++++++++++++++++ Twilight/{colors => alicorn_parts}/37;22 | 0 Twilight/twilight_alicorn.txt | 29 ++++++++++++++++++++++++ Twilight/unicorn_parts/30;1 | 11 +++++++++ Twilight/unicorn_parts/31;22 | 29 ++++++++++++++++++++++++ Twilight/unicorn_parts/34;22 | 29 ++++++++++++++++++++++++ Twilight/{colors => unicorn_parts}/35;22 | 0 Twilight/{colors => unicorn_parts}/37;1 | 0 Twilight/unicorn_parts/37;22 | 10 ++++++++ render_parts.php | 2 +- 14 files changed, 167 insertions(+), 1 deletion(-) rename Twilight/{colors => alicorn_parts}/30;1 (100%) rename Twilight/{colors => alicorn_parts}/31;22 (100%) rename Twilight/{colors => alicorn_parts}/34;22 (100%) create mode 100644 Twilight/alicorn_parts/35;22 create mode 100644 Twilight/alicorn_parts/37;1 rename Twilight/{colors => alicorn_parts}/37;22 (100%) create mode 100644 Twilight/twilight_alicorn.txt create mode 100644 Twilight/unicorn_parts/30;1 create mode 100644 Twilight/unicorn_parts/31;22 create mode 100644 Twilight/unicorn_parts/34;22 rename Twilight/{colors => unicorn_parts}/35;22 (100%) rename Twilight/{colors => unicorn_parts}/37;1 (100%) create mode 100644 Twilight/unicorn_parts/37;22 diff --git a/Twilight/colors/30;1 b/Twilight/alicorn_parts/30;1 similarity index 100% rename from Twilight/colors/30;1 rename to Twilight/alicorn_parts/30;1 diff --git a/Twilight/colors/31;22 b/Twilight/alicorn_parts/31;22 similarity index 100% rename from Twilight/colors/31;22 rename to Twilight/alicorn_parts/31;22 diff --git a/Twilight/colors/34;22 b/Twilight/alicorn_parts/34;22 similarity index 100% rename from Twilight/colors/34;22 rename to Twilight/alicorn_parts/34;22 diff --git a/Twilight/alicorn_parts/35;22 b/Twilight/alicorn_parts/35;22 new file mode 100644 index 0000000..606c860 --- /dev/null +++ b/Twilight/alicorn_parts/35;22 @@ -0,0 +1,29 @@ + + __ __ _ + / \ ;-. ,'/ + ( / \_ `.' / + | | ,' / \ + ( '. / ) | + \ __ /__' + \_ / -. ` + ( ) + . \ ``-. + ..::. ___ |, \__/ + .:::'':::.|.`.`-. :'. ______.-' + .::' '::\`.`. `-._ \ \ / + ./:' \ `.`-.(` `.`.._ ( + :/:' / \ `.( `._/ \ + :::' | `. ( | | + ||| | `.___.-' | + ||| | | + ':|| / \ / \__/ + ||| .--' | /-,_______\ \ + ||| _/ / | |\ \ + '::. / / | | `--, \ + ||| | | | | / l + ||| _/| | | | ( | + ::|| | | | | \ | + `- | \ | \ `.___/ + \_______) \_______) + + \ No newline at end of file diff --git a/Twilight/alicorn_parts/37;1 b/Twilight/alicorn_parts/37;1 new file mode 100644 index 0000000..08eff5d --- /dev/null +++ b/Twilight/alicorn_parts/37;1 @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + * + * + * + * + + + + + + + + + + \ No newline at end of file diff --git a/Twilight/colors/37;22 b/Twilight/alicorn_parts/37;22 similarity index 100% rename from Twilight/colors/37;22 rename to Twilight/alicorn_parts/37;22 diff --git a/Twilight/twilight_alicorn.txt b/Twilight/twilight_alicorn.txt new file mode 100644 index 0000000..52d519f --- /dev/null +++ b/Twilight/twilight_alicorn.txt @@ -0,0 +1,29 @@ + + __ _____ _ + / \__..--"" ;-.",'/ + ( / \_ `.' / `. + | | ) `;. ,' / \ \ + ( '. /___/_j_ / ) | ) + '\ / __\ ``::'/__' | + |\_ ( / .-| |-.| `-,| + .| ( \ ( (WW| \W)j ' + ..-----, .|' ', \_\_`_| ``-. + .-` ..::. `,___ |, ._:7 \__/ + ,' .:::'':::.|.`.`-. |:'. \ -,______.-' + .' .::' '::\`.`. `-._| \ \ `"7 / + / ./:' ,.--''>-'\ `.`-.(`| `.`.._/ ( + - :/:' | / \ `.( `. `._/ \ + | :::' .' | * \|/`. ( |`-_./ | + .' ||| .' | /|\ *`.___.-' | + | ||| | | * | + | ':|| '. / \ * / \__/ + | . ||| |.--' | /-,_______\ \ + |/| ||| | _/ / | |\ \ + ` ) '::. '. / / | | `--, \ + \ ||| | | | | | / l + `. ||| | _/| | | | ( | + `::|| | | | | | \ | + `-._| | \ | \ `.___/ + \_______) \_______) + + \ No newline at end of file diff --git a/Twilight/unicorn_parts/30;1 b/Twilight/unicorn_parts/30;1 new file mode 100644 index 0000000..5c8746b --- /dev/null +++ b/Twilight/unicorn_parts/30;1 @@ -0,0 +1,11 @@ + + + + + + + + .- + (WW W + ` + \ No newline at end of file diff --git a/Twilight/unicorn_parts/31;22 b/Twilight/unicorn_parts/31;22 new file mode 100644 index 0000000..6e45778 --- /dev/null +++ b/Twilight/unicorn_parts/31;22 @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + \|/ + /|\ + + + + + + + + + + + + \ No newline at end of file diff --git a/Twilight/unicorn_parts/34;22 b/Twilight/unicorn_parts/34;22 new file mode 100644 index 0000000..233f6f8 --- /dev/null +++ b/Twilight/unicorn_parts/34;22 @@ -0,0 +1,29 @@ + + _ __ + __..--"" " + `. + ) `;. \ + /___/ j_ ) + ' ``::' | + | -,| + .| ( ' + ..-----, |' ', + .-` `, ._:7 + ,' \ | \ + .' :. | `"7 + / ,.--''>-' ' / + - | `. + | .' `-_./ + .' .' + | | + | '. + | . | + |/| | + ` ) '. + \ | + `. | + ` | + `-._| + + + \ No newline at end of file diff --git a/Twilight/colors/35;22 b/Twilight/unicorn_parts/35;22 similarity index 100% rename from Twilight/colors/35;22 rename to Twilight/unicorn_parts/35;22 diff --git a/Twilight/colors/37;1 b/Twilight/unicorn_parts/37;1 similarity index 100% rename from Twilight/colors/37;1 rename to Twilight/unicorn_parts/37;1 diff --git a/Twilight/unicorn_parts/37;22 b/Twilight/unicorn_parts/37;22 new file mode 100644 index 0000000..85d7e31 --- /dev/null +++ b/Twilight/unicorn_parts/37;22 @@ -0,0 +1,10 @@ + + + + + + _ + / \ + ( | | | + \ | \ j + \_ _ _| diff --git a/render_parts.php b/render_parts.php index 0e376f8..b3aef6f 100755 --- a/render_parts.php +++ b/render_parts.php @@ -27,7 +27,7 @@ foreach($dir_files as $file) $chars=array_fill(0,$maxh,array_fill(0,$maxw,null)); foreach ( $files as $color => $lines ) - for ( $i = 0; $i < $maxh; $i++ ) + for ( $i = 0; $i < count($lines); $i++ ) { for ( $j = 0, $l = strlen($lines[$i]); $j < $l; $j++ ) {