Disease Simulation with Pygame [1/3]

  Рет қаралды 7,287

Greg Winther

Greg Winther

4 жыл бұрын

I draw on inspiration from a very interesting article in the Washington Post (www.washingtonpost.com/graphi...) on disease simulations and implement something similar in Python with PyGame. This is the first in a miniseries of three videos. Find the full implementation of my simulation here: github.com/gregwinther/youtub...
3blue1brown video: • Simulating an epidemic

Пікірлер: 22
@bjarkehs480
@bjarkehs480 4 жыл бұрын
YES! was hoping you would do exactly this, and then 2 days after my birthday, I must say I couldn't have wished for more. Great content Greg :-)
@GregWintherArtist
@GregWintherArtist 4 жыл бұрын
Well, happy birthday!
@karindole5328
@karindole5328 3 жыл бұрын
this is my first video i watched from you, ive already subscribed!
@GregWintherArtist
@GregWintherArtist 3 жыл бұрын
Yay! Thank you!
@tuma_inn
@tuma_inn 2 жыл бұрын
fantastic video man, just great stuff, super clear and easy to follow and to understand.
@GregWintherArtist
@GregWintherArtist 2 жыл бұрын
Glad you liked it!
@tanmayakumarsahoo1100
@tanmayakumarsahoo1100 4 жыл бұрын
Great content👍 Learned a lot from your videos..... Keep making these types of educational videos
@GregWintherArtist
@GregWintherArtist 4 жыл бұрын
Thank you! 🙏🏼
@turcopole.
@turcopole. 3 жыл бұрын
Just started and subscribed. Thank you for the content.
@GregWintherArtist
@GregWintherArtist 3 жыл бұрын
Awesome, thank you!
@essayprometheus
@essayprometheus 3 жыл бұрын
I can't wait to try this out for myself! May I ask what IDE or text editor you are using?
@GregWintherArtist
@GregWintherArtist 3 жыл бұрын
It was a fun little project. I hope you enjoy it! I use Visual Studio Code.
@gabrielleboyer-baker1700
@gabrielleboyer-baker1700 4 жыл бұрын
how would you make the dots bounce off the walls / edges of screen?
@GregWintherArtist
@GregWintherArtist 4 жыл бұрын
When edge is reached, instead of setting the position to the opposite edge, reverse the velocity. Example; if a dot reaches x-position >= width, set x-velocity to minus x-velocity.
@jelleludolf
@jelleludolf 2 жыл бұрын
image.GET REKT
@homosapien8828
@homosapien8828 4 жыл бұрын
BAAAA!!
@aankitpokhrel9964
@aankitpokhrel9964 4 жыл бұрын
I got an error stating that super takes at least one argument
@aankitpokhrel9964
@aankitpokhrel9964 4 жыл бұрын
Nevermind I got it
@GregWintherArtist
@GregWintherArtist 4 жыл бұрын
Python 2-specific error?
@aankitpokhrel9964
@aankitpokhrel9964 4 жыл бұрын
@@GregWintherArtist Maybe, but i figured it out
Infections and Recoveries [2/3]
21:29
Greg Winther
Рет қаралды 2,3 М.
Implementing a SIR Disease Model in Python [1/2]
30:48
Greg Winther
Рет қаралды 19 М.
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 53 МЛН
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 14 МЛН
ОСКАР ИСПОРТИЛ ДЖОНИ ЖИЗНЬ 😢 @lenta_com
01:01
🤔Какой Орган самый длинный ? #shorts
00:42
Transport Tycoon Simulation Game made with Python and Pygame
5:53
Adam Reynoldson
Рет қаралды 6 М.
Collecting Stats and Initiating Quarantine [3/3]
13:47
Greg Winther
Рет қаралды 1,7 М.
Coronavirus Simulator and Analysis | Pymunk/PyGame Projects
46:21
Ear Of Corn Programming
Рет қаралды 4,9 М.
How I created an evolving neural network ecosystem
10:09
The Bibites: Digital Life
Рет қаралды 332 М.
Simulating the Zombie Apocalypse with Python [2/2]
30:10
Greg Winther
Рет қаралды 5 М.
An Oscillating System (more ODEs!)
39:51
Greg Winther
Рет қаралды 1,8 М.
The Intertwined History of Physics and Finance
17:33
Greg Winther
Рет қаралды 4 М.
Simulating Neural Signals with RC Circuits
54:49
Greg Winther
Рет қаралды 1,5 М.
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 53 МЛН