Simulating an epidemic

Experiments with toy SIR models
Home page: https://www.3blue1brown.com
Brought to you by you: https://3b1b.co/sir-thanks

Awesome fan-made interactives:
https://prajwalsouza.github.io/Experiments/Epidemic-Simulation.html
https://learningsim.itch.io/pandemic-spread-simulation

Simulations by Harry Stevens at the Washington Post:
https://www.washingtonpost.com/graphics/2020/world/corona-simulator/

Simulations by Kevin Simler at Melting Asphalt:
https://meltingasphalt.com/interactive/outbreak/

Excellent visualization of each country’s current growth from Minutephysics and Aatish Bhatia:
https://www.youtube.com/watch?v=54XLXg4fYsc

Another good interactive to see what effect various parameters have on the shape of the curve:
https://gabgoh.github.io/COVID/index.html

If you want to hear a mathematician/epidemiologist’s summary of COVID-19, I found this MSRI talk very worthwhile:
https://youtu.be/MZ957qhzcjI

Marcel Salathé on Contact Tracing:
https://twitter.com/marcelsalathe/status/1242430736944201730

——————

These animations are largely made using manim, a scrappy open-source python library: https://github.com/3b1b/manim

If you want to check it out, I feel compelled to warn you that it’s not the most well-documented tool, and it has many other quirks you might expect in a library someone wrote with only their own use in mind.

The source code for this video is visible at the link below, but the, er, awkward part is that it was made on a branch of manim where I’m reworking a lot of other things and have yet to work out all the kinks or add any documentation, so I’m not entirely sure how easy it will be for others to get running. In either case, you should be able to easily see how all the simulations worked.
https://github.com/3b1b/manim/blob/shaders/from_3b1b/active/sir.py

Honestly, given that the code for that video is meant for demo purposes, and not meant to reflect the true data of COVID-19, if you want to apply these ideas to the current situation I’d recommend looking for more professional epidemiological modeling tools that are less centered around animations and pedagogy and more focused on accurate predictions. For example, the Institute for Disease Modeling has a lot of models free for people to look at and play with.

—————

Opening music:
Candlepower by Chris Zabriskie is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)
Source: https://chriszabriskie.com/divider/
Artist: https://chriszabriskie.com/

Other music by Vincent Rubinetti.
Download the music on Bandcamp:
https://vincerubinetti.bandcamp.com/album/the-music-of-3blue1brown

Stream the music on Spotify:
https://open.spotify.com/album/1dVyjwS8FBqXhRunaG5W5u

If you want to contribute translated subtitles or to help review those that have already been made by others and need approval, you can click the gear icon in the video and go to subtitles/cc, then “add subtitles/cc”. I really appreciate those who do this, as it helps make the lessons accessible to more people.

——————

3blue1brown is a channel about animating math, in all senses of the word animate. And you know the drill with YouTube, if you want to stay posted on new videos, subscribe: https://3b1b.co/subscribe

Various social media stuffs:
Website: https://www.3blue1brown.com
Twitter: https://twitter.com/3blue1brown
Reddit: https://www.reddit.com/r/3blue1brown
Instagram: https://www.instagram.com/3blue1brown_animations/
Patreon: https://patreon.com/3blue1brown
Facebook: https://www.facebook.com/3blue1brown
Experiments with toy SIR models Home page: https://www.3blue1brown.com Brought to you by you: https://3b1b.co/sir-thanks Awesome fan-made interactives: https://prajwalsouza.github.io/Experiments/Epidemic-Simulation.html https://learningsim.itch.io/pandemic-spread-simulation Simulations by Harry Stevens at the Washington Post: https://www.washingtonpost.com/graphics/2020/world/corona-simulator/ Simulations by Kevin Simler at Melting Asphalt: https://meltingasphalt.com/interactive/outbreak/ Excellent visualization of each country’s current growth from Minutephysics and Aatish Bhatia: https://www.youtube.com/watch?v=54XLXg4fYsc Another good interactive to see what…
Experiments with toy SIR models
Home page: https://www.3blue1brown.com
Brought to you by you: https://3b1b.co/sir-thanks

Awesome fan-made interactives:
https://prajwalsouza.github.io/Experiments/Epidemic-Simulation.html
https://learningsim.itch.io/pandemic-spread-simulation

Simulations by Harry Stevens at the Washington Post:
https://www.washingtonpost.com/graphics/2020/world/corona-simulator/

Simulations by Kevin Simler at Melting Asphalt:
https://meltingasphalt.com/interactive/outbreak/

Excellent visualization of each country’s current growth from Minutephysics and Aatish Bhatia:
https://www.youtube.com/watch?v=54XLXg4fYsc

Another good interactive to see what effect various parameters have on the shape of the curve:
https://gabgoh.github.io/COVID/index.html

If you want to hear a mathematician/epidemiologist’s summary of COVID-19, I found this MSRI talk very worthwhile:
https://youtu.be/MZ957qhzcjI

Marcel Salathé on Contact Tracing:
https://twitter.com/marcelsalathe/status/1242430736944201730

——————

These animations are largely made using manim, a scrappy open-source python library: https://github.com/3b1b/manim

If you want to check it out, I feel compelled to warn you that it’s not the most well-documented tool, and it has many other quirks you might expect in a library someone wrote with only their own use in mind.

The source code for this video is visible at the link below, but the, er, awkward part is that it was made on a branch of manim where I’m reworking a lot of other things and have yet to work out all the kinks or add any documentation, so I’m not entirely sure how easy it will be for others to get running. In either case, you should be able to easily see how all the simulations worked.
https://github.com/3b1b/manim/blob/shaders/from_3b1b/active/sir.py

Honestly, given that the code for that video is meant for demo purposes, and not meant to reflect the true data of COVID-19, if you want to apply these ideas to the current situation I’d recommend looking for more professional epidemiological modeling tools that are less centered around animations and pedagogy and more focused on accurate predictions. For example, the Institute for Disease Modeling has a lot of models free for people to look at and play with.

—————

Opening music:
Candlepower by Chris Zabriskie is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)
Source: https://chriszabriskie.com/divider/
Artist: https://chriszabriskie.com/

Other music by Vincent Rubinetti.
Download the music on Bandcamp:
https://vincerubinetti.bandcamp.com/album/the-music-of-3blue1brown

Stream the music on Spotify:
https://open.spotify.com/album/1dVyjwS8FBqXhRunaG5W5u

If you want to contribute translated subtitles or to help review those that have already been made by others and need approval, you can click the gear icon in the video and go to subtitles/cc, then “add subtitles/cc”. I really appreciate those who do this, as it helps make the lessons accessible to more people.

——————

3blue1brown is a channel about animating math, in all senses of the word animate. And you know the drill with YouTube, if you want to stay posted on new videos, subscribe: https://3b1b.co/subscribe

Various social media stuffs:
Website: https://www.3blue1brown.com
Twitter: https://twitter.com/3blue1brown
Reddit: https://www.reddit.com/r/3blue1brown
Instagram: https://www.instagram.com/3blue1brown_animations/
Patreon: https://patreon.com/3blue1brown
Facebook: https://www.facebook.com/3blue1brown

Categories

  • 16

    At-Home

  • 29

    Business

  • 176

    COVID-19 / Coronavirus

  • 370

    Economy

  • 5

    Education

  • 43

    Entertainment

  • 33

    Environment

  • 9

    Family

  • 0

    FAQ

  • 80

    Frontline Heroes

  • 25

    Government

  • 49

    Handwash Challenge

  • 45

    Healthcare

  • 5

    In Memory Of

  • 4

    Law Enforcement

  • 4

    Medical Equipment

  • 4

    Mental Health

  • 2

    Military

  • 108

    Pandemic

  • 0

    Personal Care

  • 94

    Politics

  • 10

    PPE (Personal Protective Equipment)

  • 33

    Quarantine / Lockdown

  • 13

    Quarantine Art

  • 69

    Quarantivities

  • 1

    Receipes

  • 0

    Relationships

  • 52

    Religion

  • 43

    Safety Tips

  • 10

    Science

  • 129

    Shelter-In-Place

  • 17

    Silver Linings

  • 190

    Social Distancing

  • 6

    Social Justice

  • 1209

    Sports

  • 100

    Technology

  • 887

    Toilet Paper Times

  • 32

    TPT Lexicon

  • 2

    Wildlife

  • 154

    Worldwide

  • TP Times
  • Recent
  • Popular
Mexican rave: the 10 best tequila cocktails – chosen by experts
Quarantivities

Mexican rave: the 10 best tequila cocktails – chosen by experts

  • By  The Toilet Paper Times
A 10-year-old girl has sent more than 1,500 art kits to kids in foster care and homeless shelters during the coronavirus pandemic
Quarantivities

A 10-year-old girl has sent more than 1,500 art kits to kids in foster care and homeless shelters during the coronavirus pandemic

  • By  usa
Mississippi’s Twisted Sisters: TikTok videos during coronavirus go viral
Quarantivities

Mississippi’s Twisted Sisters: TikTok videos during coronavirus go viral

  • By  The Toilet Paper Times
What the Hell Happened This Week? | The Daily Social Distancing Show
Entertainment Quarantivities Social Distancing

What the Hell Happened This Week? | The Daily Social Distancing Show

  • By  video
Coronavirus Update (Live): 99,631,373 Cases and 2,135,569 Deaths from COVID-19 Virus Pandemic
Toilet Paper Times

Coronavirus Update (Live): 99,631,373 Cases and 2,135,569 Deaths from COVID-19 Virus Pandemic

  • By  usa
Meghan Markle Speaks with Young Victim
Social Justice

Meghan Markle Speaks with Young Victim

  • By  thetoiletpapertimes@gmail.com
Princess Diana Would Have Been Fighting Institutional Racism
Social Justice

Princess Diana Would Have Been Fighting Institutional Racism

  • By  Gary Schwartz
North Carolina Still Can't Race
Social Distancing Sports

North Carolina Still Can’t Race | Waiting for Judge to Rule

  • By  Gary Schwartz
OCT. 26: DISCUSSING NEPAL WHILE EATING TOILET PAPER
Toilet Paper Times

OCT. 26: DISCUSSING NEPAL WHILE EATING TOILET PAPER

  • By  Toy Le Trolle
How to hang toilet paper
Toilet Paper Times

How to hang toilet paper

  • By  Toy Le Trolle
Cheap Chic Weddings 2009 Toilet Paper Wedding Dress Contest
Toilet Paper Times

Cheap Chic Weddings 2009 Toilet Paper Wedding Dress Contest

  • By  Toy Le Trolle
Cheap Chic Weddings 2009 Toilet Paper Wedding Dress Contest
Toilet Paper Times

Cheap Chic Weddings 2009 Toilet Paper Wedding Dress Contest

  • By  Toy Le Trolle

Tags

activities air pollution Amazon Australia bidet Bundesliga canada China climate change deaths death toll disinfectant English Premier League Europe France funny Germany hydroxychloroquine India Italy Japan kids lockdown Lysol masks New York NYC oil industry ppe prayer quarantine shortages soccer songs Spain stats texas Toilet Paper Trump uk unemployment United Kingdom United States W.H.O. White House briefing