Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

Hey all,

Next video is up. Hope you enjoy! I'll follow up soon with surveys, rewards, etc.

Thanks for being here,

Justin

Files

Previews only

A Game of Doves and Hawks

Try Brilliant's Computational Biology course: https://brillant.org/primer Support Primer on Patreon! https://www.patreon.com/primerlearning Thanks to supporters on Patreon, especially: Vladimir Duchenchuk, Victor Anne, Noah Healy, Zachariah Richard Fournier, Patrick Gorrell, Jordan Scales, Jacob Maes, Kairui Wang, Josh Levent, StackAbuse.com, Marcial Abrahantes, Feimeng Zheng, Eric Helps, Sean Barker, Leonardo Kluppel, Tamas Gombkoto, Ben Kamens, Ben Komalo, Victor Moisescu, Alexander Mahone, Bjarke, Aurélien Géron, Daniel Giavedoni, Jeff, Jason Prado, Ryan Mahuron, Laura Picard, Anselm Eickhoff, Christy Serbus, 3blue1brown, Paul Straw, Roy Steves, Max Kaye, Elliot Press, ThePotatoGuy, Kevin Holesh, Talon Howitt, Mitchell Douglass, Sam Van Cise, Rikard Eide, Garrett F, Brian, Daniel Schramm, Wyatt Nelson, Mr_Chimick For discussion and updates: - Reddit r/primerlearning - Twitter @primerlearning - Facebook: facebook.com/primerlearning Made with Blender and python. - Github: https://github.com/Helpsypoo/primer The music is "A Game of Doves and Hawks" donated by Mathieu Kieth - Several other inputs into the graphics are from public domain contributions to blendswap.com

Comments

Elliot Press

Really well presented. I'm guessing in the next video you'll wind up exploring Tit-for-Tat strategies etc?

Aurélien Géron

Excellent video, as always, congrats! I coded a similar simulation ~20 years ago after reading Richard Dawkin's Selfish Gene which presented this whole concept, but the way I implemented it there was a geographic component to it, which you might find interesting: each pixel on screen represented a blob, and its color represented its strategy. I would randomly pick a blob, and then another blob randomly within a maximum distance d, and they would interact. Depending on the outcome (e.g., hawk 2, dove 0), they would each have more or less offsprings, in the form of nearby pixels (within a max distance d) changing to their color. If the distance d was small enough, everything would work pretty much as in your video, but if d was too big, then cooperative strategies would have a much harder time getting a foothold within a sea of hawks (even tit-for-tat). This would suggest that species with less local relationships may be less cooperative, which seems fairly intuitive.