This week I turned the evolution ecosystem code into an evolutionary battle between current world leaders: Trump, Merkel, Trudeau, Putin, and of course, Kim Jung-un.
I first did the code in Processing. So I’ve included some sped up videos of a few games here. (Spoiler alert: things aren’t looking good for democracy!)
I then tried to port the code to P5, but after a few hours (!) actually found the code already ported to P5 (thanks Shiffman!). So, I used that to post it in P5. Play here.
Here’s the code on Github. I didn’t do much to change it, just played around and prettied it up 😉