A Ruby C extension for rendering the Mandelbrot set.
gem install mandelbrot
require './mandelbrot'
m = Mandelbrot.new Complex(-2, -1), Complex(1, 1)
grid = m.render 1680, 1050
You can also set the max number of iterations:
m.max_iters = 1024
And render a Bitmap Image:
m.bmp 1680, 1050