ochronus is
14 years ago
playing with mandelbrot generation in ruby & haskell ... childhood memories coming back :-)
latest #11
ochronus says
14 years ago
also a secret preparation for a new blog post...
ochronus says
14 years ago
I'm too rookie for drawing in haskell though :-(
muhuk says
14 years ago
(rock)
立即下載
ochronus says
14 years ago
Good old times... first read 'The Emperor's new mind' when I was around 14-15
ochronus says
14 years ago
15 years passed and fractals are still amazing... maybe the problem is with me :-D
ochronus says
14 years ago
interesting thing is that using the built-in 'Complex' class in Ruby and Haskell, the Haskell version is only around 2 times faster
ochronus says
14 years ago
but how cool is def mandelbrot(a) Array.new(MAX_ITER,a).inject(a) { |z,c| z*z + c } end this? :-)
muhuk says
14 years ago
quite
ochronus says
14 years ago
hs. version: mandelbrot a = iterate (\z -> z^2 + a) a !! MAX_ITER
muhuk says
14 years ago
cool if you know greek
ochronus says
14 years ago
:-P :-D
back to top