2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

感染症と隔離政策のシミュレーションプログラム【COVID-19】

Last updated at Posted at 2020-03-26

主に感染症の広がりと隔離政策などの効果シミュレーションプログラムです。

人の移動速度、隔離のブロックの大きさ、隔離条件、タイミングなどを任意に設定可能です。
簡易モデル内でそれぞれがどのように感染拡大に影響されるかをシミュレートできます。

使用技術

  • TypeScript3.8.3
  • HTML5
  • canvas

ライセンス

MIT
(研究機関の方など商用、私用問わずご自由にお使いください)

動作デモ

動作デモ

スクリーンショット 2020-03-27 2.02.34.png

ソースコード

ソースコード

個人のボランティアとして作成されたこのプログラムはまだ未熟です。エンジニアの方、プルリクエストご支援ください。また、研究機関や研究者の方アドバイス、改善点あればよろしくおねがいいたします。

起動方法

node.js (v12系) をインストールしてください。

ルートディレクトリ内で

$ npm i
$ npm run start

ディレクトリ構造

├── src
│   ├── City.ts
│   ├── Human.ts
│   └── main.ts
├── tsconfig.json
├── webpack.config.js
└── package.json

係数など

Human.ts

  • staightRunCoeff = 97;

直進性

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?