Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
High-Resolution Mandelbrot in Obfuscated Python (preshing.com)
86 points by Garbage on Sept 26, 2011 | hide | past | favorite | 12 comments


Also see the Mandelbrot set in SQL: http://wiki.postgresql.org/wiki/Mandelbrot_set


That...is the most perverted implementation of awesomeness ever.


I think "High-Resolution" is a bit misleading when talking about a fractal :)


Mathematically, yes, but since he's rendering an actual bitmap, “high-resolution“ is appropriate.


The fact that this is accomplished in a language where whitespace really matters impressed me the most.


Whitespace can matter, but ; counts as a newline and you can have any whitespace inside an expression that you want. Typically you'll write something like:

   some_function( with, lots,
                  of args )
but you can also use that flexibility to make your source code look like a badass fucking fractal too.


> badass fucking fractal

Ok, I haven't actually logged in for over 12 months and kept to pure occasional lurking, but you made me do it just to vote up your JoCo reference.

Look what you've done.


Thanks! That song is up there among my favorites, but it does make me sad every time I listen to it. "Mandelbrot's in heaven" indeed...


Welcome back. Hope to see you around more!


Ruth was just asking last week 'what happened to fractals'. Might run the poster containing its own source code past the teenagers I'm teaching maths to...






Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: