Notes
This code relies on preserving the drawing buffer for
the "fading" effect to work properly which currently is
not working in the web/wasm version of this. This means
that toggling fade mode with f
may not work as expected in this web version. To see
the full effect check out the YouTube version above or
build this code for your desktop.