Disease Simulation with Pygame [1/3]

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

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 М.
Pygame's Performance - What You Need to Know
9:11
DaFluffyPotato
Рет қаралды 196 М.
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 8 МЛН
ОСКАР ИСПОРТИЛ ДЖОНИ ЖИЗНЬ 😢 @lenta_com
01:01
Coronavirus Simulator and Analysis | Pymunk/PyGame Projects
46:21
Ear Of Corn Programming
Рет қаралды 4,9 М.
What is a Monad? - Computerphile
21:50
Computerphile
Рет қаралды 595 М.
Coding Adventure: Ant and Slime Simulations
17:54
Sebastian Lague
Рет қаралды 1,8 МЛН
Implementing a SIR Disease Model in Python [1/2]
30:48
Greg Winther
Рет қаралды 19 М.
How I created an evolving neural network ecosystem
10:09
The Bibites: Digital Life
Рет қаралды 332 М.
Simulating an epidemic
23:12
3Blue1Brown
Рет қаралды 5 МЛН
Stable Diffusion in Code (AI Image Generation) - Computerphile
16:56
Computerphile
Рет қаралды 287 М.