This is a read-only archive!

Ruby Fractals

This week's Ruby quiz is about fractals. I had some fun with it today. I uploaded a bunch of PNGs of fractals I made in the spirit of that quiz. I'll have to send in my code if I ever get a minute to clean it up. Or maybe not; someone else in the official thread had an idea very similar to mine, and did his version first. I ganked some of his patterns too for testing. Didn't look at his code though.

It's my first try using RMagick. It's not at all hard to use. It took me a while to figure out how to shift the axes so that 0,0 was in the middle of the image instead of the top left though. Enormous APIs are the bane of my existence.

May 27, 2007 @ 3:02 PM PDT
Cateogory: Programming
Tags: Ruby