Hiato Xaero wrote:
> I decided to take it upon myself to write a text Mandelbrot Set Generator
> in Ruby (seeing as I couldn't find any...)

(-24..23).each do |i|
  puts((-64..62).inject("") do |s,k|
    p = x = y = 0

    while ((x*x)+(y*y)<4)
      x, y = x*x - y*y + (k-23)/43.5, 2*x*y + i/22.0
      p += 6
      break unless p<260
    end

    s << (p > 250 ? ' ' : (65 + (p-1)/10).chr)
  end)
end

-- 
NP: My Dying Bride - The Scarlet Garden
Jabber: sepp2k / jabber.org
ICQ: 205544826