Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Mandelbrot (Golf) Obfuscation

by tadman (Prior)
on May 09, 2002 at 07:57 UTC ( #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
Node Status?
node history
Node Type: obfuscated [id://165283]
Approved by jmcnamara
Front-paged by jmcnamara
help
Chatterbox?
[holli]: I got into a fight yesterday and won.
[holli]: No, that's not true. I started it.
[holli]: I was company to my mother, bringing her to the therapy she has to take. There was another so called therapist outside smoking. We engaged in a talk with her and he turned out to be one of these lunatics telling people when they are sick it's their own
[holli]: fault for not thinking positively enough.

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2017-12-13 17:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (373 votes). Check out past polls.

    Notices?