Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 browsing the Monastery: (8)
As of 2024-04-19 15:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found