{"id":141,"date":"2011-09-08T02:42:28","date_gmt":"2011-09-08T02:42:28","guid":{"rendered":"https:\/\/www.cores2.com\/blog\/?p=141"},"modified":"2011-09-08T02:42:28","modified_gmt":"2011-09-08T02:42:28","slug":"gameduino-demo-scene-ascii-art-with-an-arduino","status":"publish","type":"post","link":"https:\/\/www.cores2.com\/blog\/?p=141","title":{"rendered":"Gameduino Demo Scene &#8211; ASCII art with an Arduino"},"content":{"rendered":"<p>Two months ago I used to live off-campus near Penn State&#8217;s main University Park campus. My apartment was full of art students, with myself being the only non-art student. I decided to combine my knowledge with my roommate&#8217;s\u00c2\u00a0experience\u00c2\u00a0to create a real-time demo project using an Arduino and Gameduino. In essence my goal was to make something similar to a <a href=\"http:\/\/en.wikipedia.org\/wiki\/Demo_(computer_programming)\">demo (read more via Wikipedia)<\/a>\u00c2\u00a0fulfilling the requirements of: a unique graphics output, all computed at real-time, using only the Arduino processor and the <a href=\"http:\/\/excamera.com\/sphinx\/gameduino\/\">Gameduino<\/a> VGA output of 400&#215;300 pixels. This project was quite a challenge as I was using an Arduino Uno which comes with one\u00c2\u00a0ATmega328: 16Mhz\u00c2\u00a0embedded\u00c2\u00a0processor with 2KB ram and 32KB programming memory!<\/p>\n<p>Here is my result, recorded via camera (sorry, I had no in-line recording system for a VGA cable) and uploaded to YouTube. The demo lasts just short of two minutes. The final code compiles to about\u00c2\u00a027218 Bytes (~26KB) and includes a dozen effects: plasma, nyan cats, fun spirals, 3D cubes, pseudo\u00c2\u00a0cellular automaton, and a Portal 2 reference.<\/p>\n<p><strong>Just to make things clear: this entire video was generated by an Arduino and Gameduino connected via VGA to a standard TV screen; nothing was precomputed or loaded upon run-time, everything you see is done real time.\u00c2\u00a0<\/strong><\/p>\n<p><iframe loading=\"lazy\" src=\"http:\/\/www.youtube.com\/embed\/b5P13qV3SRw\" frameborder=\"0\" width=\"420\" height=\"345\"><\/iframe><\/p>\n<p><a href=\"https:\/\/www.cores2.com\/blog\/wp-content\/uploads\/2011\/09\/BitBlitDemo.zip\">Here is the Arduino code as a zip<\/a>; make sure you are using at least an Arduino UNO as any other older device might not have enough ram to execute the code (and will have odd timing effects).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Two months ago I used to live off-campus near Penn State&#8217;s main University Park campus. My apartment was full of art students, with myself being the only non-art student. I decided to combine my knowledge with my roommate&#8217;s\u00c2\u00a0experience\u00c2\u00a0to create a &hellip; <a href=\"https:\/\/www.cores2.com\/blog\/?p=141\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-141","post","type-post","status-publish","format-standard","hentry","category-news_updates"],"_links":{"self":[{"href":"https:\/\/www.cores2.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cores2.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cores2.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cores2.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cores2.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=141"}],"version-history":[{"count":0,"href":"https:\/\/www.cores2.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/141\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.cores2.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cores2.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cores2.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}