Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Comment on


In an effort to understand what is going on here, I decided to put the code in a more readable format

#!/usr/bin/perl $_=' $q="\47"; while($; = $z+ =.5){ %c = $r = 0; $/=""; while(20+$z>($;+=.05)){ $c { int $_ + 26 + 2 * ($r += .02) * sin $; } { 1 - $_ + 10 + int $r * cos $; } = 1for(0..1) } $t = reverse; $/ .= `clear` . "#!/usr/bin/perl\n\$_=$q\n"; for $y (1..20){ $c{$_}{$y} ? $/ .= chop $t : ($/ .= "\40")for(0..53); $/.="\n" } print "$/$q;s;" .chr(92). "s;;g;eval\n" } '; s;\s;;g;eval

Quite amazingly it prints the same image in this format. I think it has to do with the sin/cos.

Two things I am unfamiliar with, the $; variable and this line:


Big props BTW

In reply to Re: spiraling quine by PyrexKidd
in thread spiraling quine by Len

and:  <code> code here </code>

  • Please read these before you post! —
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    As of 2014-07-10 22:21 GMT
    Find Nodes?
      Voting Booth?

      When choosing user names for websites, I prefer to use:

      Results (217 votes), past polls