eval'op
e PnY+0;opPen
*XP PYH,">$0.bmp"
;XprPiYnt(KHY+pack
"XsxPY8Kl2s4a*(YH24
)X*PXPYL",19K778,7Y4,
1X2,PXPL24,32,K1,4,uYn
pXaPXcPLk("u",uKc"p_/
sX[PX^-Pj=L0d7l3K+i?,v
_Xrko3[aruPe=LanzgK%7=u
)X<=y;/RXR RL_"),sPort
{X1}grepRN{ RLs/P.\n
/X\t/;Rs N RP/\
HX/\t/R; N RX0u
ntXil!sR/(N RX.)
[JPX!-I RZO X-~]
/JP$X1$R1QO X/}<
0J>PX)&&NQ XqqP:
|J&&PX::; X'=~s/
|[JfhPX\uj-\uyPX:|
qw`&JAPX]//gr#xP/
#MP[\J]PEFXGHIP/
#MP{}JP P__/
#MZPAC|
#MPDB/
#MZP|
#MP|
#Mw|
#Mw|
#M/
#/
#
Generates
this pixel art of Rainbow Dash (it will be named "$0.bmp"). Requires Perl v5.14 (see below for a more compatible version).
Can't be run from the command line, must be stored in a file (without trailing newlines).
Strict and warning compliant.
Only tested under Strawberry Perl.
In reply to Pixel art
by Grimy
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
|
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.