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
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|