https://github.com/userjhansen/virus-modelling-in-deno
A Very Simple Virus Model
https://github.com/userjhansen/virus-modelling-in-deno
deno simulation virus
Last synced: about 2 months ago
JSON representation
A Very Simple Virus Model
- Host: GitHub
- URL: https://github.com/userjhansen/virus-modelling-in-deno
- Owner: UserJHansen
- License: mit
- Created: 2021-04-27T00:44:12.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-27T11:29:24.000Z (almost 5 years ago)
- Last Synced: 2026-02-08T20:34:03.797Z (5 months ago)
- Topics: deno, simulation, virus
- Language: JavaScript
- Homepage:
- Size: 77.4 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# All-In-One Command
mkdir output; deno run --allow-write https://raw.githubusercontent.com/UserJHansen/Virus-Modelling-in-Deno/master/index.js; pip install matplotlib numpy; curl https://raw.githubusercontent.com/UserJHansen/Virus-Modelling-in-Deno/master/jsoninterpretter/index.py -o jsoninterpretter.py; python jsoninterpretter.py
## Requirements
- [Deno](https://github.com/denoland/deno/releases/)
- [Python](https://www.python.org/downloads/release/latest)
## Compilation
### Windows
deno compile --unstable --allow-all --lite --output VirusSimulation --target x86_64-pc-windows-msvc index.js
### Mac (x64)
deno compile --unstable --allow-all --lite --output VirusSimulation --target x86_64-apple-darwin index.js
### Mac (M1)
deno compile --unstable --allow-all --lite --output VirusSimulation --target aarch64-apple-darwin index.js
### Linux
deno compile --unstable --allow-all --lite --output VirusSimulation --target x86_64-unknown-linux-gnu index.js
### Web and NodeJS
deno bundle index.js > NodeJs.js
## Graph Generation
pip3 install matplotlib numpy; python3 jsoninterpretter/index.py