You could look at double buffering; it helps with the flickering. Also, I would suggest you put the calculations in a separate thread. This being said; I doubt it will help. You are performing...