Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Mandelbrot (Golf) Obfuscation

by tadman (Prior)
on May 09, 2002 at 07:57 UTC ( [id://165283]=obfuscated: print w/replies, xml ) Need Help??

Self-replicating code? Not exactly.
print map{$i=$_/ 20;$/,map {$r=$; =$_/20;$ z=$i; $n=$z*$ z,$z =2*$r * $z+$ i,$r= ( $m= $ r*$r )-$n+ $ ;for a..z; $ m<4? $":"+"}- 46.. 13}-20..19 #GEB?

Replies are listed 'Best First'.
Re: Mandelbrot (Golf) Obfuscation
by simonm (Vicar) on May 10, 2002 at 22:44 UTC
    This version shows a little more fine detail around the edges:
    print map{$i=$_/20 ;$/,map{ $r=$;=$_/ 20;$z= $i;$n= $z* $ z,$z =2* $ r*$z+ $i ,$r=($ m=$ r *$r)- $n+ $ ;for a..z;$ m<4?$" :chr(40+ length$m) }-46..13}-20..19#!
Re: Mandelbrot (Golf) Obfuscation
by BooK (Curate) on May 11, 2002 at 15:51 UTC
Re: Mandelbrot (Golf) Obfuscation
by educated_foo (Vicar) on May 09, 2002 at 15:46 UTC
    Challenge: make a self-replicating version.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: obfuscated [id://165283]
Approved by jmcnamara
Front-paged by jmcnamara
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-10-05 12:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (43 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.