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.
Fire!
-
- Posts: 20
- Joined: Tue Jun 04, 2019 11:35 am
Fire!
- Attachments
-
- yoss_fire.js
- (6.19 KiB) Downloaded 632 times