Hacker News new | ask | show | jobs
by ska 3947 days ago
I hadn't heard of Chlorine, so this is effective as an intro/demo.

The implementation you use is the textbook "toy" one, though, which is a bit oversimplified and probably biases the perceived speedup. Simple and brute force often favors GPU implementation, whereas the communication can really hurt you in a more realistic algorithm.

It would be interesting to see what your comparison looks like with at least a spatial subdivision and connectivity analysis (the most obvious algorithmic speed up), proper anti-aliasing and a functional zoom. Even better if you did interior/exterior distance estimation...

1 comments

I was contemplating doing a FFT as a demo, but Mandelbrot was low hanging fruit that made for pretty pictures. Keep in mind this was student work.

If you have a specific problem in mind, I'd be happy to work on adding it as an example.

I'm in search of my first "customer" so to speak. :)

Above I was suggesting additions to the existing demo, the straightforward computation of Mandelbrot membership isn't how you would really do it if you care about performance or accuracy.

Do any of those modifications appeal? I understand it was student work, but everything I suggested is fairly straightforward.

They certainly do appeal, but are likely a little outside my expertise to go implement, at least right now. Definitely something I'll look into, time permitting!

I was aiming more for "simpler" to start with I think.