Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://165283]
Approved by jmcnamara
Front-paged by jmcnamara
[stevieb]: Coding circles around Python devs, showing how unit tests should be done, enabling easy access to everything, learning basic C to wrap for direct hardware access... I am thankful.
[stevieb]: I'm in an appreciative mood. Thank you fellow Monks, for all I know, and for the knowledge which I can pass on

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2017-02-25 01:28 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (364 votes). Check out past polls.