Feb 22, 2009
Real-time fractal generation using Alchemy and C++
Wanting to test computation speeds in Alchemy, I decided to do some heavy real-time fractal generation. I found a simple C++ colour mandelbrot set routine and wrote the ActionScript bridge and UI. After the lessons learned from my previous experiment with ASCII art generation, the set up took very little time.
Speeds are generally very good with 1000 iterations at 800×600, and comparing them to similar pure AS3 experiements (like Keith Peter’s Mandelbrot Set) I can see an improvement.
Check it out, and try playing with the settings.
I also wrote a simple zoom routine at 160×120 which stops once it hits a 400ms call. Check it out.




I’m definitely going to have to give Alchemy a go now and update the pure AS3 Mandelbrot explorer I wrote a while ago
Hi,
Where could I get the cpp file plz?
I’m trying to draw some high-computation things on a bmpdata with some C++ code and AS3 lib, however using the setPixel(x,y,color) or making a byteArray is really slow
What king of output for your data did you use ?
Thank,
Stef.