@egons:
Really cool! Nice work you did there - even its with purebasic and you are releasing the source is an extra-thumb worth

K++
Btw, maybe you can get some more performance speed, by using an 512x512 array, calculate and write each pixel color to this array and when one frame is calculated, you could write the buffer of the array to a bitmap, you blit then. So you dont have to call 512*512 times each frame the slow SetPixel_ API. Keep on your nice work. Best regards