Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One thing that's nice about the Mandelbrot set is that you can calculate each pixel independently of all the other pixels. This means if you have 8 CPUs, you can split the image into 8 parts and render it that way.

I apparently decided to try this out about 4 years ago. Here's the result: https://gist.github.com/jrockway/291074

Still slow. Need to run this on some machines at work :)



Or convert it to Accelerate and kick it out on a GPU... :)


That was my first OpenCL project. I managed to make it render just slightly slower than on the CPU, which for a first time I consider a success.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: