<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-814751387466122120</id><updated>2012-02-16T12:23:34.547-08:00</updated><category term='overnight'/><category term='geometry'/><category term='arcade machine project'/><category term='Connections 3'/><category term='tabletop gaming'/><category term='rpg'/><title type='text'>Buffalo Lab</title><subtitle type='html'>Some of the things going on at the Buffalo Hackerspace, a community workshop for all manner of technological experimentation.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://buffalolab.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/814751387466122120/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://buffalolab.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>James Andrix</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_v-fVsq2ew3Y/SmT8-AWB_sI/AAAAAAAAAnw/TN2SfCEFZZo/S220/spies160.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-814751387466122120.post-3230445330009497779</id><published>2009-11-24T11:52:00.000-08:00</published><updated>2009-11-24T12:00:56.472-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='arcade machine project'/><title type='text'>The Arcade Machine Project: Introduction</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_v-fVsq2ew3Y/Sww1zpmZ4eI/AAAAAAAABJQ/0nCRluaSgwI/s1600/SANY2717.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_v-fVsq2ew3Y/Sww1zpmZ4eI/AAAAAAAABJQ/0nCRluaSgwI/s200/SANY2717.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;Some decades ago, an arcade game called &lt;a href="http://www.amazon.com/gp/product/B000VUWJ7G?ie=UTF8&amp;amp;tag=buffalolab-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=390957&amp;amp;creativeASIN=B000VUWJ7G"&gt;Defender&lt;/a&gt;&lt;img alt="" border="0" class="ntxzxaktjpafyryaiopx ntxzxaktjpafyryaiopx" height="1" src="http://www.assoc-amazon.com/e/ir?t=buffalolab-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=B000VUWJ7G" style="border: medium none ! important; margin: 0px ! important;" width="1" /&gt; no longer met it's owners expectations. The case was painted over and rebuilt to become another game: Ghosts and Goblins.&lt;br /&gt;&lt;br /&gt;That case now sits in the Buffalo Hackerspace, gutted and broken. It waits to again be reborn as something far more powerful.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814751387466122120-3230445330009497779?l=buffalolab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalolab.blogspot.com/feeds/3230445330009497779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://buffalolab.blogspot.com/2009/11/arcade-machine-project-introduction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/814751387466122120/posts/default/3230445330009497779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/814751387466122120/posts/default/3230445330009497779'/><link rel='alternate' type='text/html' href='http://buffalolab.blogspot.com/2009/11/arcade-machine-project-introduction.html' title='The Arcade Machine Project: Introduction'/><author><name>James Andrix</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_v-fVsq2ew3Y/SmT8-AWB_sI/AAAAAAAAAnw/TN2SfCEFZZo/S220/spies160.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_v-fVsq2ew3Y/Sww1zpmZ4eI/AAAAAAAABJQ/0nCRluaSgwI/s72-c/SANY2717.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-814751387466122120.post-5366106115911798582</id><published>2009-11-13T19:57:00.000-08:00</published><updated>2009-11-13T20:00:07.177-08:00</updated><title type='text'>Recursive Koch curves in python</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_v-fVsq2ew3Y/Sv4op2ga5mI/AAAAAAAABJA/O0pUrXA_7B0/s1600-h/snowflake.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_v-fVsq2ew3Y/Sv4op2ga5mI/AAAAAAAABJA/O0pUrXA_7B0/s200/snowflake.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;I have an ongoing project to teach programming to children. I recently discovered the python turtle module, so I'm learning python. So far it is an order of magnitude easier to deal with than Squeak or Berkeley Logo. &lt;br /&gt;&lt;br /&gt;I was able to do simple rotating iterated shapes while still getting used to the python syntax. After &lt;i&gt;maybe&lt;/i&gt; three hours total of learning, I was also able to implement my first recursive fractal, the &lt;a href="http://en.wikipedia.org/wiki/Koch_snowflake"&gt;Koch Snowflake&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;def kochline(forward,num=1):&lt;br /&gt; if num == 0:&lt;br /&gt;  turtle.forward(forward)&lt;br /&gt; else:&lt;br /&gt;  newforward=forward/3&lt;br /&gt;  newnum=num-1&lt;br /&gt;  kochline(newforward,newnum)&lt;br /&gt;  turtle.left(60)&lt;br /&gt;  kochline(newforward,newnum)&lt;br /&gt;  turtle.right(120)&lt;br /&gt;  kochline(newforward,newnum)&lt;br /&gt;  turtle.left(60)&lt;br /&gt;  kochline(newforward,newnum)&lt;br /&gt; return&lt;br /&gt;&lt;br /&gt;def kflake(size=100,depth=2):&lt;br /&gt; for i in range(0,3):&lt;br /&gt;  kochline(size,depth)&lt;br /&gt;  turtle.right(120)&lt;br /&gt; return&lt;/pre&gt;&lt;br /&gt;The function &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;kochline&lt;/span&gt; recursively draws a line to the requested depth, this has a depth of 5 or 6:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_v-fVsq2ew3Y/Sv4ostUi6OI/AAAAAAAABJI/MmA7P_1RcRQ/s1600-h/koch1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_v-fVsq2ew3Y/Sv4ostUi6OI/AAAAAAAABJI/MmA7P_1RcRQ/s400/koch1.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;kflake&lt;/span&gt; just calls &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;kochline&lt;/span&gt; 3 times and rotates appropriately.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814751387466122120-5366106115911798582?l=buffalolab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalolab.blogspot.com/feeds/5366106115911798582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://buffalolab.blogspot.com/2009/11/recursive-koch-curves-in-python.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/814751387466122120/posts/default/5366106115911798582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/814751387466122120/posts/default/5366106115911798582'/><link rel='alternate' type='text/html' href='http://buffalolab.blogspot.com/2009/11/recursive-koch-curves-in-python.html' title='Recursive Koch curves in python'/><author><name>James Andrix</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_v-fVsq2ew3Y/SmT8-AWB_sI/AAAAAAAAAnw/TN2SfCEFZZo/S220/spies160.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_v-fVsq2ew3Y/Sv4op2ga5mI/AAAAAAAABJA/O0pUrXA_7B0/s72-c/snowflake.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-814751387466122120.post-1983466282296278380</id><published>2009-11-09T19:29:00.000-08:00</published><updated>2009-11-24T11:59:54.932-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tabletop gaming'/><category scheme='http://www.blogger.com/atom/ns#' term='rpg'/><category scheme='http://www.blogger.com/atom/ns#' term='Connections 3'/><category scheme='http://www.blogger.com/atom/ns#' term='overnight'/><category scheme='http://www.blogger.com/atom/ns#' term='geometry'/><title type='text'>Icosahedron in cardboard and labels</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_v-fVsq2ew3Y/SvjpSlr-J2I/AAAAAAAABIg/6bsScOO1lCI/s1600-h/SANY2380.JPG" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5402324258594367330" src="http://3.bp.blogspot.com/_v-fVsq2ew3Y/SvjpSlr-J2I/AAAAAAAABIg/6bsScOO1lCI/s400/SANY2380.JPG" style="cursor: pointer; display: block; height: 300px; margin: 0px auto 10px; text-align: center; width: 400px;" /&gt;&lt;/a&gt;I made this late one night after one of our regular meetings. I cut out the cardboard triangles while watching &lt;a href="http://www.amazon.com/gp/product/B0000DIZSJ?ie=UTF8&amp;amp;tag=buffalolab-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=390957&amp;amp;creativeASIN=B0000DIZSJ"&gt;Connections 3&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=buffalolab-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=B0000DIZSJ" style="border: medium none ! important; margin: 0px ! important;" width="1" /&gt;. It's not quite properly shaped, So using it as a &lt;a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;amp;location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26x%3D0%26ref_%3Dnb%255Fss%26y%3D0%26field-keywords%3Dd20%26url%3Dsearch-alias%253Daps&amp;amp;tag=buffalolab-20&amp;amp;linkCode=ur2&amp;amp;camp=1789&amp;amp;creative=390957"&gt;20 sided die&lt;/a&gt;&lt;img alt="" border="0" height="1" src="https://www.assoc-amazon.com/e/ir?t=buffalolab-20&amp;amp;l=ur2&amp;amp;o=1" style="border: medium none ! important; margin: 0px ! important;" width="1" /&gt; would give non-random results. Still, I expect to paint it and number it for use in some casual game.&lt;br /&gt;&lt;br /&gt;Each triangle has an 8 inch edge.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/814751387466122120-1983466282296278380?l=buffalolab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://buffalolab.blogspot.com/feeds/1983466282296278380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://buffalolab.blogspot.com/2009/11/icosahedron-in-cardboard-and-labels.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/814751387466122120/posts/default/1983466282296278380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/814751387466122120/posts/default/1983466282296278380'/><link rel='alternate' type='text/html' href='http://buffalolab.blogspot.com/2009/11/icosahedron-in-cardboard-and-labels.html' title='Icosahedron in cardboard and labels'/><author><name>James Andrix</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_v-fVsq2ew3Y/SmT8-AWB_sI/AAAAAAAAAnw/TN2SfCEFZZo/S220/spies160.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_v-fVsq2ew3Y/SvjpSlr-J2I/AAAAAAAABIg/6bsScOO1lCI/s72-c/SANY2380.JPG' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
