This is a version of the doom-fire-algorithm implementation that uses a new file structure to make it easier for users to extend and to implement their versions using this as a template.
There are 2 main differences here from the original approach:
We use a bundler called Parcel bundler which is a no config bundler that either transpiles newest JS and also compiles other languages to JS, such as Rust, ReasonML, TS and a couple other cool languages.
I’ve split the code into different modules and mainly added a new config.json file that is responsible for the default configurations such as the size of the rendered content and the renderer engine to be used.
$ npm install
$ npm start
And that’s it, this will automatically open your chrome at localhost:1234 serving the file with hot-reload.