Infection simulator

These days there are a lot of news, true and fake about nowadays world pandemic SARS-COV-2. With this pretext, and due to local confinement and some tests I needed to do with HTML Canvas I published this tiny project:

Here we have our “world” made with balls. We can specify the total number of balls we will have in our world. Then, some balls are initially infected by a virus, they can heal, infect other balls or have a fatal end.

We can play with several virus and environment parameters. Just for fun, it’s very hypnotic.

The license is GPL v3. And the source code is available on Github. Every contribution is wellcome.

Leave a Reply

Your email address will not be published. Required fields are marked *