Fire!
Posted: Thu Aug 01, 2019 1:45 pm
Here's a real classic screen saver, the fire!
It is a two-dimensional array and the loop fetches the values from the rows below, smooth them out and draw the result as red rectangles. The effect is a burning fire where the flames fade as they rise.

It is a two-dimensional array and the loop fetches the values from the rows below, smooth them out and draw the result as red rectangles. The effect is a burning fire where the flames fade as they rise.