Hacker News new | ask | show | jobs
by K0nserv 3640 days ago
Cool, I love fractals and Mandlebrot. During Uni I too wrote a JS based generator[0]. It was pretty nice, but horribly slow. Prompted by the poor performance in JS I built a C++, OpenCL version[1]. Seeing the difference in performance was quite amazing. Settings that took 20 seconds in JS rendered in 200ms using OpenCL.

Planning to write a new version using Apple's Metal and Swift at some point too.

0: https://github.com/k0nserv/mandelbrot.js

1: https://github.com/k0nserv/CLBrot