{"id":6998,"date":"2011-08-17T23:04:50","date_gmt":"2011-08-18T04:04:50","guid":{"rendered":"http:\/\/blog.kenperlin.com\/?p=6998"},"modified":"2011-08-17T23:09:33","modified_gmt":"2011-08-18T04:09:33","slug":"crowds-in-finite-worlds-continued","status":"publish","type":"post","link":"https:\/\/blog.kenperlin.com\/?p=6998","title":{"rendered":"Crowds in finite worlds, continued"},"content":{"rendered":"<p>I implemented a little simulation in which I placed little circles, representing people in a crowd, into a finite square world, and programmed each person to try to keep their distance from all the others.<\/p>\n<p>I made ten worlds in total.  In the first world I placed one person, in the second world two people, and so on up to ten people.<\/p>\n<p>Each little square world is a torus (just like the <i>Asteroids<\/i> game), so when a person goes off to the right, they come back on the left.  Similarly, when a person goes up off the top, they come back on the bottom.<\/p>\n<p>To make it easier to see patterns, I&#8217;m showing a 4&#215;4 arrangement of each world.  So in each of the ten images below, there are actually 16 little worlds, in a 4&#215;4 tiling.  I didn&#8217;t draw any edges between tiles.  Because each tile is really a little toroidal patch, it doesn&#8217;t matter where you draw the edges between neighboring tiles &#8212; people can wander continuously between tiles, and each person lives simultaneously on all 16 tiles.<\/p>\n<p>As you can see from the images below, the world containing nine people is the most visually interesting.  While most of the others look quite geometric and regular, the crowd of nine people has a very natural quality, like an actual milling crowd.<\/p>\n<p>I find that very intriguing.<\/p>\n<p><center><br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.kenperlin.com\/wp-content\/uploads\/2011\/08\/dots.jpg\"><br \/>\n<\/center><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I implemented a little simulation in which I placed little circles, representing people in a crowd, into a finite square world, and programmed each person to try to keep their distance from all the others. I made ten worlds in total. In the first world I placed one person, in the second world two people, &hellip; <a href=\"https:\/\/blog.kenperlin.com\/?p=6998\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Crowds in finite worlds, continued&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/6998"}],"collection":[{"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6998"}],"version-history":[{"count":6,"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/6998\/revisions"}],"predecessor-version":[{"id":7005,"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/6998\/revisions\/7005"}],"wp:attachment":[{"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6998"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6998"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}