Coder Social home page Coder Social logo

givemepseudonyms / epidemic-sim Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 193 KB

An agent-based model designed to model epidemics with varying degrees of infectivity, lethality, vaccination rates, mask-wearing, hand-washing. Written in Python. Started Oct 2022.

Python 100.00%
epidemic-model epidemic-simulations python

epidemic-sim's Introduction

image

GiveMePseudonyms

Software Developer, Agent-Based Modelling fan, camelCapsEnjoyer.

๐Ÿ–ฅ๏ธ Languages and Tools:

Go image image image image

๐ŸŽ›๏ธ On:

Pop!_OS macOS Windows

๐Ÿ“Š Stats:

ย givemepseudonyms

๐Ÿ‹๏ธโ€โ™‚๏ธ Currently Working On:

  • Pi Visualisations in C# - A way to visualise millions of digits of Pi, written in C#. Using .NET and WPF.
  • Project Euler - My solutions to the project Euler challenges
  • Pi Visualisations in Python - A way to visualise millions of digits of Pi, written in Python. Using Pygame and Tkinter.
  • EpidemicSim - Agent-based modelling solution to analyse the spread of infectious diseases factoring in prevention methods. Writen in Python using Tkinter.

epidemic-sim's People

Contributors

givemepseudonyms avatar

Stargazers

 avatar

Watchers

 avatar

epidemic-sim's Issues

GUI window freezes when simulation is running

The GUI window freezes when the simulation is running and gives no indication that work is being done in the background.

Potential solutions:

  • run simulation in a new thread to keep the GUI thread responsive
  • add self.WINDOW.update() to simulation thread and move debug data into the GUI window

GUI refresh

The current GUI has limitations and is disorganised. there are solutions:

  • Use a tab system to view and change settings relating to each category of the sim. This will allow for more options and will scale better in the future.

image

image

Debug panel

It would be helpful to add a debug panel so the user can see what progress is being made whilst the sim runs.

  • Add debug tab to tabs list and put a textview into it which updates with debug info.

Spacing issues in GUI

Tkinter.Scale() objects create spacing issues not congruent with the default spacing between other widgets.

potential fix:

  • use ttk scale widget, however this introduces a new issue of no label availability to show the selected number.

mask-wearing option

Vaccinations are now an available option, so mask-usage should also be added.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.