{"author_name":"alia","cat":"LD #15 - Caverns - 2009","comments":[],"epoch":1251524220,"likes":0,"metadata":{"p_key":"73001","p_author":"alia","p_authorkey":"510443","p_urlkey":"108823","p_title":"Idea","p_cat":"LD #15 - Caverns - 2009","p_event":"LD15","p_time":"1251524220","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"510443","us_name":"alia","us_username":"alia","event_start":"1251417600","event_key":"1","event_name":"LD15"},"text":"<p>Ive been on a bit of a randomly generated level binge lately and got inspired by numpy, and Cellular Automata. Basically, I spent way too long trying to get numpy to do all the work for me <img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/simple-smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/><\/p>\n <p>If anyone knows numpy &#8211; is it possible to iterate over the array and compare elements vs where you are in the array currently?<\/p>\n <p>Lucky me the neighbors are having a rockin party so I cant go to bed just yet!<\/p>\n <p><img class=\"size-full wp-image-7569 alignleft\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2009\/08\/output.png\" alt=\"output\" width=\"100\" height=\"100\" \/><\/p>\n \n <p>Tags: <a href=\"http:\/\/ludumdare.com\/compo\/tag\/cellular-automata\/\" rel=\"tag\">cellular automata<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/numpy\/\" rel=\"tag\">numpy<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/python\/\" rel=\"tag\">python<\/a><\/p>","time":"August 29th, 2009 12:37 am","title":"Idea"}