Experiments related to the Doom fire effect implemented in JavaScript.
https://alexandremendoncaalvaro.github.io/doom-fire-algorithm/
- I'm using only one for loop to iterate over table cells (pixels), instead off two nesteds.
- I'm using Revealing Module Pattern (IIFE)
@filipedeschamps |
---|