I created a little rain animation with Xojo and I tried two methods:
- Draw the raindrops directly in the paint event of the canvas.
- Draw the raindrops to a buffer picture and then draw the buffer to the canvas.
According to older threads I read, drawing first to an off-screen picture should improve the speed of the animation. But when comparing the two methods, drawing directly to the canvas is way faster...
A usual, probably there is a mistake in my thinking. Maybe you can point me to the right direction.
The projects are here: https://cmezes.com/dl/XRain.zip