
Recent Posts
Recent Comments
 ubershmekel on Two bugs don’t make a right
 Ram Rachum on Optimizing Django ORM / Postgres queries using left join
 Dimensions in Mathematics on Beautiful Code
 Tomer Filiba on Collision: the story of the random bug
 Brendan DolanGavitt on Collision: the story of the random bug
Archives
 August 2012
 July 2012
 June 2012
 June 2011
 February 2011
 January 2011
 December 2010
 April 2010
 March 2010
 February 2010
 November 2009
 October 2009
 September 2009
 August 2009
 July 2009
 June 2009
 April 2009
 March 2009
 February 2009
 January 2009
 December 2008
 November 2008
 July 2008
 June 2008
 May 2008
 April 2008
 March 2008
 February 2008
 January 2008
 December 2007
 November 2007
 October 2007
 September 2007
 August 2007
 July 2007
 June 2007
 May 2007
 February 2007
Categories
 Algorithms
 Assembly
 C
 Challenges
 Compilation
 computer science
 Cryptography
 CSS
 Databases
 decompilation
 Design
 Fractals
 Game Development
 Geometry
 gotchas
 Graphics
 Group Theory
 Humour
 Javascript
 Linux
 Math
 Miscellaneous
 Optimization
 Optimization
 Optimization
 Optimization
 Origami
 Personal
 Programming
 Programming Philosophy
 Projects
 Protocols
 Python
 rants
 Research
 Security
 Sound
 startup
 Statistics
 Teaching Programming
 Testing
 Uncategorized
 Utility Functions
 webdesign
Category Archives: Graphics
Visualizing Data Using the Hilbert Curve
Some time ago, a coworker asked me to help him visualize some data. He had a very long series (many millions) of data points, and he thought that plotting a pixel for each one would visualize it well, so he … Continue reading
Posted in Fractals, Graphics, Math, Programming, Python
Tagged Fractals, hilbert curve, PIL, Python
2 Comments
Python + Curses + Numpy > Ascii Art Rotating Cube
Well, the title says it all, or at least most of it. If you are still not convinced, a picture’s worth 500 dwords: / \ /  \ /  \ //  \\ /  \ / \ \ … Continue reading
A second look at the dragon fractal
At first when I drew the (twin)dragon fractal, I had a small bug. I used the base 1+i instead of 1i. This also generated a very similar looking beast. Thinking about that for a while, made me curious. Just like … Continue reading
Posted in Fractals, Graphics, Programming, Python
Tagged dragon fractal, ffmpeg, Fractals, PIL, Python
1 Comment
Fractals in 10 minutes No. 2 – Recursive Spring
Imagine a straight wire. Bend this wire until its ends meet. You get a ring. Next stage. Take another straight wire, bend it as before, but this time, don’t let the ends meet, instead continue bending the wire more and … Continue reading
Elegant Line Clipping Algorithm
I actually wrote about that a long time ago, in the wiki that once was algorithm.co.il. Since the wiki is long gone, and I figured this is a very elegant algorithm, I decided I should write about it. First, some … Continue reading
Posted in Algorithms, Geometry, Graphics, Math, Programming, Python
Tagged Algorithm, Graphics, LineClipping, Python
Leave a comment