plague-sim
TypeScript icon, indicating that this package has built-in type declarations

0.0.19 • Public • Published

Viral Propagation Simulator

Based on random contact simulation algorithms, this tool can model the propagation profile of a virus in a population on the basis of a range of parameters. They can be adjusted to capture both policy and social constraints, as well as basic characteristics of the virus and the population. It is an attempt to formalise some of the concepts that have been shared in analysing spread patterns for the SARS-CoV-2 virus.

screen

Installation

Script tag

  • Put a script tag similar to this <script src='https://unpkg.com/plague-sim@latest/dist/plague-sim.js'></script> in the head of your index.html
  • Then you can use the plague-dashboard tag anywhere in your template, JSX, html etc

Node Modules

  • Run npm install plague-sim --save
  • Put a script tag similar to this <script src='node_modules/plague-sim/dist/plague-sim.js'></script> in the head of your index.html
  • Then you can use the plague-dashboard tag anywhere in your template, JSX, html etc

Example

    <html>
   	<head>
      	<script src='https://unpkg.com/plague-sim@latest/dist/plague-sim.js'></script>
      </head>
      <body>
         <plague-dashboard></plague-dashboard>
      </body>
    </html>

Demo

Demo page

Package Sidebar

Install

npm i plague-sim

Weekly Downloads

2

Version

0.0.19

License

MIT

Unpacked Size

14.5 MB

Total Files

2019

Last publish

Collaborators

  • tkrzywicki