Congratulations!

[Valid RSS] This is a valid RSS feed.

Recommendations

This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Source: http://eclecti.cc/category/olpc/feed

  1. <?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
  2. xmlns:content="http://purl.org/rss/1.0/modules/content/"
  3. xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  4. xmlns:dc="http://purl.org/dc/elements/1.1/"
  5. xmlns:atom="http://www.w3.org/2005/Atom"
  6. xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  7. xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  8. >
  9.  
  10. <channel>
  11. <title>OLPC | eclecticc</title>
  12. <atom:link href="https://eclecti.cc/category/olpc/feed" rel="self" type="application/rss+xml" />
  13. <link>https://eclecti.cc</link>
  14. <description>by Nirav Patel</description>
  15. <lastBuildDate>Tue, 20 Dec 2011 07:12:26 +0000</lastBuildDate>
  16. <language>en-US</language>
  17. <sy:updatePeriod>
  18. hourly </sy:updatePeriod>
  19. <sy:updateFrequency>
  20. 1 </sy:updateFrequency>
  21. <generator>https://wordpress.org/?v=5.9.9</generator>
  22. <item>
  23. <title>Pointillism: The &#8220;it works this time&#8221; Edition</title>
  24. <link>https://eclecti.cc/olpc/pointillism-the-it-works-this-time-edition</link>
  25. <comments>https://eclecti.cc/olpc/pointillism-the-it-works-this-time-edition#comments</comments>
  26. <dc:creator><![CDATA[nrp]]></dc:creator>
  27. <pubDate>Fri, 28 Nov 2008 19:30:27 +0000</pubDate>
  28. <category><![CDATA[OLPC]]></category>
  29. <category><![CDATA[activity]]></category>
  30. <category><![CDATA[pointillism]]></category>
  31. <category><![CDATA[XO]]></category>
  32. <guid isPermaLink="false">http://eclecti.cc/?p=165</guid>
  33.  
  34. <description><![CDATA[<p>I loaded the activities I&#8217;ve written in the past onto my new G1G1 XO and found that Pointillism probably never worked on any XO but my old one.  This is something I probably should have tested. In addition to actually working, this release has better performance, flips the image horizontally, and lets you save images &#8230; </p>
  35. <p class="link-more"><a href="https://eclecti.cc/olpc/pointillism-the-it-works-this-time-edition" class="more-link">Continue reading<span class="screen-reader-text"> "Pointillism: The &#8220;it works this time&#8221; Edition"</span></a></p>
  36. <p>The post <a href="https://eclecti.cc/olpc/pointillism-the-it-works-this-time-edition">Pointillism: The “it works this time” Edition</a> first appeared on <a href="https://eclecti.cc">eclecticc</a>.</p>]]></description>
  37. <content:encoded><![CDATA[<p><img title="Yes, that is an arcade machine shaped like Pac-Man" src="https://eclecti.cc/files/2008/11/pacmanpointillism.jpg" alt="Pointillism"/></p>
  38. <p>I loaded the activities I&#8217;ve written in the past onto my new G1G1 XO and found that Pointillism probably never worked on any XO but my old one.  This is something I probably should have tested.</p>
  39. <p>In addition to actually working, this release has better performance, flips the image horizontally, and lets you save images to the Journal.</p>
  40. <p><strong>Download: <a href="https://eclecti.cc/files/2008/11/pointillism-2.xo">Pointillism-2.xo</a></strong></p><p>The post <a href="https://eclecti.cc/olpc/pointillism-the-it-works-this-time-edition">Pointillism: The “it works this time” Edition</a> first appeared on <a href="https://eclecti.cc">eclecticc</a>.</p>]]></content:encoded>
  41. <wfw:commentRss>https://eclecti.cc/olpc/pointillism-the-it-works-this-time-edition/feed</wfw:commentRss>
  42. <slash:comments>1</slash:comments>
  43. </item>
  44. <item>
  45. <title>Give a Laptop. Get a Laptop. Change the World.</title>
  46. <link>https://eclecti.cc/olpc/give-a-laptop-get-a-laptop-change-the-world</link>
  47. <comments>https://eclecti.cc/olpc/give-a-laptop-get-a-laptop-change-the-world#comments</comments>
  48. <dc:creator><![CDATA[nrp]]></dc:creator>
  49. <pubDate>Mon, 24 Nov 2008 17:44:36 +0000</pubDate>
  50. <category><![CDATA[OLPC]]></category>
  51. <category><![CDATA[g1g1]]></category>
  52. <category><![CDATA[XO]]></category>
  53. <guid isPermaLink="false">http://eclecti.cc/?p=153</guid>
  54.  
  55. <description><![CDATA[<p>View Larger Map XO&#8217;s are available (and shipping fast) from Amazon (URL is via OLPC) through Give One Get One 2008. As you can see from the map above, G1G1 2007 is already having quite an impact on the world, with tens of thousands of donated XOs being deployed across Ethiopia, Rwanda, Mongolia, and other &#8230; </p>
  56. <p class="link-more"><a href="https://eclecti.cc/olpc/give-a-laptop-get-a-laptop-change-the-world" class="more-link">Continue reading<span class="screen-reader-text"> "Give a Laptop. Get a Laptop. Change the World."</span></a></p>
  57. <p>The post <a href="https://eclecti.cc/olpc/give-a-laptop-get-a-laptop-change-the-world">Give a Laptop. Get a Laptop. Change the World.</a> first appeared on <a href="https://eclecti.cc">eclecticc</a>.</p>]]></description>
  58. <content:encoded><![CDATA[<p><iframe loading="lazy" width="700" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;oe=UTF8&amp;msa=0&amp;msid=114558805698125207804.000001132ad0d5f3d14f8&amp;ll=7.013668,43.59375&amp;spn=169.267176,360&amp;output=embed&amp;s=AARTsJp7paOLNoNS1Ik5d-4lbuZsxY0njA"></iframe><br /><small><a href="http://www.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;oe=UTF8&amp;msa=0&amp;msid=114558805698125207804.000001132ad0d5f3d14f8&amp;ll=7.013668,43.59375&amp;spn=169.267176,360&amp;source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small></p>
  59. <p>XO&#8217;s are available (and shipping fast) from <a href="http://laptop.org/xo">Amazon</A> (URL is via OLPC) through Give One Get One 2008.  As you can see from the map above, G1G1 2007 is already having quite an impact on the world, with tens of thousands of donated XOs being deployed across Ethiopia, Rwanda, Mongolia, and other countries.</p><p>The post <a href="https://eclecti.cc/olpc/give-a-laptop-get-a-laptop-change-the-world">Give a Laptop. Get a Laptop. Change the World.</a> first appeared on <a href="https://eclecti.cc">eclecticc</a>.</p>]]></content:encoded>
  60. <wfw:commentRss>https://eclecti.cc/olpc/give-a-laptop-get-a-laptop-change-the-world/feed</wfw:commentRss>
  61. <slash:comments>3</slash:comments>
  62. </item>
  63. <item>
  64. <title>My Other Laptop</title>
  65. <link>https://eclecti.cc/olpc/my-other-laptop</link>
  66. <comments>https://eclecti.cc/olpc/my-other-laptop#comments</comments>
  67. <dc:creator><![CDATA[nrp]]></dc:creator>
  68. <pubDate>Mon, 06 Oct 2008 15:50:53 +0000</pubDate>
  69. <category><![CDATA[OLPC]]></category>
  70. <category><![CDATA[amazon]]></category>
  71. <category><![CDATA[g1g1]]></category>
  72. <category><![CDATA[XO]]></category>
  73. <guid isPermaLink="false">http://eclecti.cc/?p=135</guid>
  74.  
  75. <description><![CDATA[<p>Thanks to Sameer Verma for the idea.  G1G1 2008 is just around the corner! SVG Version</p>
  76. <p>The post <a href="https://eclecti.cc/olpc/my-other-laptop">My Other Laptop</a> first appeared on <a href="https://eclecti.cc">eclecticc</a>.</p>]]></description>
  77. <content:encoded><![CDATA[<p><a href="http://www.amazon.com/xo"><img title="My other vehicle is Powdered Toast Man." src="https://eclecti.cc/files/2008/10/amazonrwanda.png" alt="My other laptop is in Rwanda" /></a><br />
  78. Thanks to Sameer Verma for the idea.  G1G1 2008 is just around the corner!<br />
  79. <strong><a href="https://eclecti.cc/files/2008/10/amazonrwanda.svg">SVG  Version</a></strong></p><p>The post <a href="https://eclecti.cc/olpc/my-other-laptop">My Other Laptop</a> first appeared on <a href="https://eclecti.cc">eclecticc</a>.</p>]]></content:encoded>
  80. <wfw:commentRss>https://eclecti.cc/olpc/my-other-laptop/feed</wfw:commentRss>
  81. <slash:comments>4</slash:comments>
  82. </item>
  83. <item>
  84. <title>v4l2 camera module now in Pygame SVN</title>
  85. <link>https://eclecti.cc/olpc/v4l2-camera-module-now-in-pygame-svn</link>
  86. <comments>https://eclecti.cc/olpc/v4l2-camera-module-now-in-pygame-svn#respond</comments>
  87. <dc:creator><![CDATA[nrp]]></dc:creator>
  88. <pubDate>Sun, 28 Sep 2008 04:49:32 +0000</pubDate>
  89. <category><![CDATA[OLPC]]></category>
  90. <category><![CDATA[camera]]></category>
  91. <category><![CDATA[computer vision]]></category>
  92. <category><![CDATA[gsoc]]></category>
  93. <category><![CDATA[pygame]]></category>
  94. <category><![CDATA[v4l2]]></category>
  95. <guid isPermaLink="false">http://eclecti.cc/?p=95</guid>
  96.  
  97. <description><![CDATA[<p>My Google Summer of Code Project has finally grown up and flown out of my personal git repo to enter the Pygame SVN. All development will now occur there, though I will leave my git up for archival purposes. The project is a module for Pygame to support v4l2 cameras. The impetus for this was &#8230; </p>
  98. <p class="link-more"><a href="https://eclecti.cc/olpc/v4l2-camera-module-now-in-pygame-svn" class="more-link">Continue reading<span class="screen-reader-text"> "v4l2 camera module now in Pygame SVN"</span></a></p>
  99. <p>The post <a href="https://eclecti.cc/olpc/v4l2-camera-module-now-in-pygame-svn">v4l2 camera module now in Pygame SVN</a> first appeared on <a href="https://eclecti.cc">eclecticc</a>.</p>]]></description>
  100. <content:encoded><![CDATA[<p>My Google Summer of Code Project has finally grown up and flown out of my personal <a href="http://git.n0r.org">git repo</a> to enter the <a href="http://www.pygame.org/wiki/cvs">Pygame SVN</a>.  All development will now occur there, though I will leave my git up for archival purposes.</p>
  101. <p>The project is a module for Pygame to support v4l2 cameras.  The impetus for this was to make the webcam on the OLPC XO usable without intimate knowledge of GStreamer, and to allow for some basic computer vision.  The module does, however, support many camera pixelformats beyond those used on the XO, and is pretty flexible to adding new ones.</p>
  102. <p>At the moment, there is no support for v4l cameras beyond detecting that they are attached to the computer, and there is no support at all for Windows or OS X.  René Dudfield is starting work on Windows support using directshow.  OS X support will come eventually.</p>
  103. <p>The API documentation for the module is pretty thorough, but I haven&#8217;t uploaded any tutorials or example scripts yet.  For now, you can look at some of the <a href="https://eclecti.cc/tag/pygame">scripts</a> I&#8217;ve posted on this blog.</p><p>The post <a href="https://eclecti.cc/olpc/v4l2-camera-module-now-in-pygame-svn">v4l2 camera module now in Pygame SVN</a> first appeared on <a href="https://eclecti.cc">eclecticc</a>.</p>]]></content:encoded>
  104. <wfw:commentRss>https://eclecti.cc/olpc/v4l2-camera-module-now-in-pygame-svn/feed</wfw:commentRss>
  105. <slash:comments>0</slash:comments>
  106. </item>
  107. <item>
  108. <title>OLPC Physics Game Jam is Rollcats</title>
  109. <link>https://eclecti.cc/olpc/olpc-physics-game-jam-is-rollcats</link>
  110. <comments>https://eclecti.cc/olpc/olpc-physics-game-jam-is-rollcats#respond</comments>
  111. <dc:creator><![CDATA[nrp]]></dc:creator>
  112. <pubDate>Sun, 31 Aug 2008 01:07:36 +0000</pubDate>
  113. <category><![CDATA[OLPC]]></category>
  114. <category><![CDATA[game jam]]></category>
  115. <category><![CDATA[physics]]></category>
  116. <category><![CDATA[rollcats]]></category>
  117. <guid isPermaLink="false">http://eclecti.cc/?p=80</guid>
  118.  
  119. <description><![CDATA[<p>The OLPC Physics Game Jam has effectively become a Rollcats Game Jam. Regardless, there are some pretty exciting physics based games being created here, and a whole lot of accidently amazing demonstrations. Daniel Drake and I are writing a bridge building game which may be downloaded as we work on it, from: git://dev.laptop.org/projects/physics03</p>
  120. <p>The post <a href="https://eclecti.cc/olpc/olpc-physics-game-jam-is-rollcats">OLPC Physics Game Jam is Rollcats</a> first appeared on <a href="https://eclecti.cc">eclecticc</a>.</p>]]></description>
  121. <content:encoded><![CDATA[<p>The <a href="http://physicsjam.blogspot.com/">OLPC Physics Game Jam</a> has effectively become a <a href="http://rollcats.com">Rollcats Game Jam</a>.</p>
  122. <p style="text-align: center;"><img class="aligncenter" title="Kittens on Wheels" src="https://eclecti.cc/files/2008/08/rollcats.png" alt="Rollcats" /></p>
  123. <p style="text-align: left;">Regardless, there are some pretty exciting physics based games being created here, and a whole lot of accidently amazing demonstrations.</p>
  124. <p style="text-align: left;"><a href="http://www.reactivated.net/weblog/" target="_blank">Daniel Drake</a> and I are writing a bridge building game which may be downloaded as we work on it, from:</p>
  125. <p style="text-align: left;"><a href="git://dev.laptop.org/projects/physics03">git://dev.laptop.org/projects/physics03</a></p><p>The post <a href="https://eclecti.cc/olpc/olpc-physics-game-jam-is-rollcats">OLPC Physics Game Jam is Rollcats</a> first appeared on <a href="https://eclecti.cc">eclecticc</a>.</p>]]></content:encoded>
  126. <wfw:commentRss>https://eclecti.cc/olpc/olpc-physics-game-jam-is-rollcats/feed</wfw:commentRss>
  127. <slash:comments>0</slash:comments>
  128. </item>
  129. <item>
  130. <title>Living Pointillism packaged as an OLPC Activity</title>
  131. <link>https://eclecti.cc/olpc/living-pointillism-packaged-as-an-olpc-activity</link>
  132. <comments>https://eclecti.cc/olpc/living-pointillism-packaged-as-an-olpc-activity#comments</comments>
  133. <dc:creator><![CDATA[nrp]]></dc:creator>
  134. <pubDate>Fri, 18 Jul 2008 02:23:05 +0000</pubDate>
  135. <category><![CDATA[OLPC]]></category>
  136. <category><![CDATA[activity]]></category>
  137. <category><![CDATA[camera]]></category>
  138. <category><![CDATA[pointillism]]></category>
  139. <category><![CDATA[pygame]]></category>
  140. <guid isPermaLink="false">http://eclecti.cc/?p=73</guid>
  141.  
  142. <description><![CDATA[<p>I packaged the script I wrote a few posts back as a .xo file that can be installed on an OLPC XO. This isn&#8217;t really because the script itself is that great, but because I wanted to test a way to deliver the Pygame stuff I&#8217;m working on for GSoC for the months until my &#8230; </p>
  143. <p class="link-more"><a href="https://eclecti.cc/olpc/living-pointillism-packaged-as-an-olpc-activity" class="more-link">Continue reading<span class="screen-reader-text"> "Living Pointillism packaged as an OLPC Activity"</span></a></p>
  144. <p>The post <a href="https://eclecti.cc/olpc/living-pointillism-packaged-as-an-olpc-activity">Living Pointillism packaged as an OLPC Activity</a> first appeared on <a href="https://eclecti.cc">eclecticc</a>.</p>]]></description>
  145. <content:encoded><![CDATA[<p>I packaged the <a href="https://eclecti.cc/bytes/living-pointillism-a-pygame-webcam-script">script I wrote a few posts back</a> as a .xo file that can be installed on an OLPC XO.  This isn&#8217;t really because the script itself is that great, but because I wanted to test a way to deliver the Pygame stuff I&#8217;m working on for GSoC for the months until my code is merged, Pygame 1.9 is released, and the package is included on XO&#8217;s.  This also explains why a 2KB Python script is now a 750KB .xo that takes up over 2MB when installed.</p>
  146. <p>So, while the Activity itself just runs the Living Pointillism script, the activity directory (/home/olpc/Activities/Pointillism.activity/ on my XO running release ~690) contains the whole Pygame library with my modifications to date.  So, you can just drop scripts (like <a href="https://eclecti.cc/olpc/pixel-perfect-collision-between-real-and-virtual-objects">these</a> or <a href="http://git.n0r.org/?p=pygame-nrp;a=tree;f=examples/camera">these</a>) that use pygame into that directory and run them from there, and they will use the local pygame instead of the one installed on the XO.  This saves you from having to install all the stuff necessary to compile pygame on an XO.</p>
  147. <p><strong>Download: <a href='https://eclecti.cc/files/2008/07/Pointillism-1.xo'>Living Pointillism</a></strong></p><p>The post <a href="https://eclecti.cc/olpc/living-pointillism-packaged-as-an-olpc-activity">Living Pointillism packaged as an OLPC Activity</a> first appeared on <a href="https://eclecti.cc">eclecticc</a>.</p>]]></content:encoded>
  148. <wfw:commentRss>https://eclecti.cc/olpc/living-pointillism-packaged-as-an-olpc-activity/feed</wfw:commentRss>
  149. <slash:comments>1</slash:comments>
  150. </item>
  151. <item>
  152. <title>Pixel Perfect Collision between Real and Virtual Objects in Pygame</title>
  153. <link>https://eclecti.cc/olpc/pixel-perfect-collision-between-real-and-virtual-objects</link>
  154. <comments>https://eclecti.cc/olpc/pixel-perfect-collision-between-real-and-virtual-objects#comments</comments>
  155. <dc:creator><![CDATA[nrp]]></dc:creator>
  156. <pubDate>Thu, 17 Jul 2008 02:10:13 +0000</pubDate>
  157. <category><![CDATA[OLPC]]></category>
  158. <category><![CDATA[camera]]></category>
  159. <category><![CDATA[collision]]></category>
  160. <category><![CDATA[gsoc]]></category>
  161. <category><![CDATA[pygame]]></category>
  162. <category><![CDATA[vision]]></category>
  163. <guid isPermaLink="false">http://eclecti.cc/?p=62</guid>
  164.  
  165. <description><![CDATA[<p>The Quick Version: I wrote a few scripts to test the possibility of using pixel perfect collision detection in pygame to allow for interactions between real life and on screen objects.  They require the installation of my branch of pygame, which includes support for v4l2 cameras.  The download links for the scripts (including OLPC versions) &#8230; </p>
  166. <p class="link-more"><a href="https://eclecti.cc/olpc/pixel-perfect-collision-between-real-and-virtual-objects" class="more-link">Continue reading<span class="screen-reader-text"> "Pixel Perfect Collision between Real and Virtual Objects in Pygame"</span></a></p>
  167. <p>The post <a href="https://eclecti.cc/olpc/pixel-perfect-collision-between-real-and-virtual-objects">Pixel Perfect Collision between Real and Virtual Objects in Pygame</a> first appeared on <a href="https://eclecti.cc">eclecticc</a>.</p>]]></description>
  168. <content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter" title="A rare screenshot not showing any glitches. :p" src="https://eclecti.cc/files/2008/07/bouncy_ball.png" alt="bouncy ball" /></p>
  169. <p style="text-align: justify;"><strong>The Quick Version:<br />
  170. </strong>I wrote a few scripts to test the possibility of using pixel perfect collision detection in pygame to allow for interactions between real life and on screen objects.  They require the installation of my branch of pygame, which includes support for v4l2 cameras.  The download links for the scripts (including OLPC versions) and pygame source are at the bottom of the post.</p>
  171. <p style="text-align: justify;"><strong>The Verbose and Occasionally Tangential Version:</strong></p>
  172. <p style="text-align: justify;">Joel Stanley of OLPC sent me a patch for my GSoC project a few days ago, along with a link to a <a href="http://picasaweb.google.com/joel.stan/California/photo#5109972492706149618" target="_blank">picture of an exhibit</a> at The Tech Museum of Innovation in San Jose, in which a person can manipulate virtual falling sand with his or her shadow.  That is exactly the kind of killer tech demo I&#8217;ve been looking for for my project.  The kind of thing that anyone could pick up in an instant and realize the beauty of human computer interaction.  Of course, the museum setup had a controlled environment, a projector, a screen, and probably a whole lot of processing power.  I have hundreds of thousands of kids around the world on 433mhz laptops.</p>
  173. <p style="text-align: justify;">At first, in response to Joel&#8217;s email, I had just planned to describe how to get the equivalent of the shadow.  It obviously could not require a projector, a screen, a uniformly colored background (green screen), or even a consistant source of light to project a shadow.  Instead, this requires an initial calibration step.  When the scripts start, they wait for the user to hit a button.  The user should then get out of view of the camera, so it only sees the background.  It then waits a couple seconds and takes a picture of the background.  The shadow is then created by thresholding frames currently being captured against the original background image.  This actually works pretty well as long as the background isn&#8217;t moving.  So, play it with the camera facing a wall if possible.</p>
  174. <p style="text-align: justify;">I had planned to just leave it at that, but then I figured since I already have that written, might as well just add a few lines of code to see if I could do pixel collisions between the shadow and objects on screen.  Nothing complicated like sand, just a bubble on screen that the user pops.  When this worked, I decided to extend it by having it place a new bubble on a random spot of the screen whenever one is popped.  A few minutes later, my friend stopped by and asked what the hell I was doing jumping around in the middle of the room.  I told her about the vision stuff, and then we both started jumping around in the middle of the room, popping fake bubbles.  Who would have thought something that simple could be fun?  That script is Pop Bubbles; you can download it at the bottom of the post and jump around your own room.</p>
  175. <p style="text-align: justify;">I thought I might be finished there, but it was still a far cry from the sand demo that Joel saw.  I decided making the bubble move could be fun, so I added a fixed &#8220;velocity&#8221; of pixels that the bubble would move every frame if it wasn&#8217;t popped.  It would be pretty silly if it kept going off the edge of the screen, so turned the edges into &#8220;walls&#8221; that would reverse the x or y velocity if the ball hit them.  I then tried adding &#8220;gravity&#8221; by having the y velocity increase one step downward each frame, which turned the bubble into a ball.  Then I added some inelasticity by decreasing the velocity a little upon impacting walls.  Since the bubble was now pretty much a bouncy ball, I made it no longer pop upon hitting the shadow.  Instead, it would bounce off the shadow in the opposite direction of where the shadow hit the ball, also adding some more velocity.  By this point, I had a hideous doppelganger of physics that would make Newton wish he never saw an apple tree.  This is what Bouncy Ball is, at the bottom of the post.  Try it at your own risk.  It is absurdly glitchy, and really only responds well to slow movements.</p>
  176. <p style="text-align: justify;">This still isn&#8217;t quite what the sand demo is, but I think it comes close enough to prove that it would be possible in Pygame.  The biggest thing that is necessary is a real physics engine, which Zhang Fan is currently working on for Pygame as a GSoC project.  Its likely that I will need to extend the bitmask module in pygame to make things like pinching an object possible.  If anyone wants to improve this stuff, please do, there is a lot of room for it.  I&#8217;d be happy to help out any way I can.  I do hope to have something closer to the sand demo by the end of the summer.</p>
  177. <p style="text-align: justify;">As a note to OLPC users, I know its pretty inconvenient to have to build the library on the XO.  I&#8217;m still working on packaging an .rpm and an .xo that contains all of my demo scripts.  Also, for now, to get it running at a usable speed on the XO, it has to be at 320&#215;240, which makes it pretty un-immersive, but I&#8217;m working on ways to scale it up without sacrificing much performance.</p>
  178. <p style="text-align: justify;"><strong>Download Python Scripts</strong>:<br />
  179. <a href="https://eclecti.cc/files/2008/07/bouncy_ball.py">Bouncy Ball</a><br />
  180. <a href="https://eclecti.cc/files/2008/07/bouncy_ball_olpc.py">Bouncy Ball (OLPC)</a><br />
  181. <a href="https://eclecti.cc/files/2008/07/pop_bubbles.py">Pop Bubbles</a><br />
  182. <a href="https://eclecti.cc/files/2008/07/pop_bubbles_olpc.py">Pop Bubbles (OLPC)</a><br />
  183. <strong>Download Pygame with camera module source:</strong><br />
  184. <a href="https://eclecti.cc/files/2008/07/pygame-181pre.tar.gz">Pygame 1.8.1 with camera module</a><br />
  185. <strong>Checkout Pygame with camera from git:</strong><br />
  186. git clone git://git.n0r.org/git/pygame-nrp</p><p>The post <a href="https://eclecti.cc/olpc/pixel-perfect-collision-between-real-and-virtual-objects">Pixel Perfect Collision between Real and Virtual Objects in Pygame</a> first appeared on <a href="https://eclecti.cc">eclecticc</a>.</p>]]></content:encoded>
  187. <wfw:commentRss>https://eclecti.cc/olpc/pixel-perfect-collision-between-real-and-virtual-objects/feed</wfw:commentRss>
  188. <slash:comments>5</slash:comments>
  189. </item>
  190. <item>
  191. <title>Living Pointillism: A pygame webcam script</title>
  192. <link>https://eclecti.cc/olpc/living-pointillism-a-pygame-webcam-script</link>
  193. <comments>https://eclecti.cc/olpc/living-pointillism-a-pygame-webcam-script#comments</comments>
  194. <dc:creator><![CDATA[nrp]]></dc:creator>
  195. <pubDate>Sun, 22 Jun 2008 06:00:35 +0000</pubDate>
  196. <category><![CDATA[OLPC]]></category>
  197. <category><![CDATA[camera]]></category>
  198. <category><![CDATA[gsoc]]></category>
  199. <category><![CDATA[pointillism]]></category>
  200. <category><![CDATA[pygame]]></category>
  201. <category><![CDATA[python]]></category>
  202. <category><![CDATA[webcam]]></category>
  203. <guid isPermaLink="false">http://eclecti.cc/?p=58</guid>
  204.  
  205. <description><![CDATA[<p>Living Pointillism is a quick little example script I wrote to showcase the camera module I&#8217;m writing for pygame through GSoC.  It places a few dozen points (it automatically changes the number based on the framerate) for every frame of video, so the image is only clear if everything is perfectly still.  This also results &#8230; </p>
  206. <p class="link-more"><a href="https://eclecti.cc/olpc/living-pointillism-a-pygame-webcam-script" class="more-link">Continue reading<span class="screen-reader-text"> "Living Pointillism: A pygame webcam script"</span></a></p>
  207. <p>The post <a href="https://eclecti.cc/olpc/living-pointillism-a-pygame-webcam-script">Living Pointillism: A pygame webcam script</a> first appeared on <a href="https://eclecti.cc">eclecticc</a>.</p>]]></description>
  208. <content:encoded><![CDATA[<p><img title="Apologies to Georges Seurat" src="https://eclecti.cc/files/2008/06/pointillism.png" alt="Living Pointillism" /></p>
  209. <p>Living Pointillism is a quick little example script I wrote to showcase the camera module I&#8217;m writing for pygame through GSoC.  It places a few dozen points (it automatically changes the number based on the framerate) for every frame of video, so the image is only clear if everything is perfectly still.  This also results in some interesting visual effects when things are in motion.  The screenshot above doesn&#8217;t quite capture the essence of it, but I don&#8217;t have the kind of bandwidth here to upload a video.</p>
  210. <p>To use it, you need pygame with the camera module, which is currently only available from my repository: <a href="http://git.n0r.org/?p=pygame-nrp;a=summary">http://git.n0r.org/?p=pygame-nrp;a=summary</a></p>
  211. <p>It runs fairly well on the OLPC XO too, and I&#8217;ll release an Activity for it along with an rpm of my branch of pygame soon.</p>
  212. <p>Download: <a href="https://eclecti.cc/files/2008/06/pointillism.py">Living Pointillism</a></p>
  213. <p><strong>Update:</strong> This is now available packaged as <a href="https://eclecti.cc/olpc/pointillism-the-it-works-this-time-edition">an OLPC Activity</a>.</p>
  214. <p><strong>Update 2:</strong> Pygame with the camera module should now be downloaded from the <a href="http://www.pygame.org/wiki/cvs">Pygame SVN</a>.</p><p>The post <a href="https://eclecti.cc/olpc/living-pointillism-a-pygame-webcam-script">Living Pointillism: A pygame webcam script</a> first appeared on <a href="https://eclecti.cc">eclecticc</a>.</p>]]></content:encoded>
  215. <wfw:commentRss>https://eclecti.cc/olpc/living-pointillism-a-pygame-webcam-script/feed</wfw:commentRss>
  216. <slash:comments>10</slash:comments>
  217. </item>
  218. <item>
  219. <title>Pygame Webcam Support</title>
  220. <link>https://eclecti.cc/olpc/pygame-webcam-support</link>
  221. <comments>https://eclecti.cc/olpc/pygame-webcam-support#comments</comments>
  222. <dc:creator><![CDATA[nrp]]></dc:creator>
  223. <pubDate>Tue, 03 Jun 2008 07:14:35 +0000</pubDate>
  224. <category><![CDATA[OLPC]]></category>
  225. <category><![CDATA[gsoc]]></category>
  226. <category><![CDATA[pygame]]></category>
  227. <category><![CDATA[v4l2]]></category>
  228. <guid isPermaLink="false">http://eclecti.cc/?p=52</guid>
  229.  
  230. <description><![CDATA[<p>Update: Grab the up to date code in Pygame &#62;1.9.1 from the Pygame repository. There was a three day weekend here, so I got some real coding done on my GSoC project. You can pull the code I&#8217;m working on from my repository at http://git.n0r.org/?p=pygame-nrp;a=summary It is currently barely alpha quality, but it supports v4l2 &#8230; </p>
  231. <p class="link-more"><a href="https://eclecti.cc/olpc/pygame-webcam-support" class="more-link">Continue reading<span class="screen-reader-text"> "Pygame Webcam Support"</span></a></p>
  232. <p>The post <a href="https://eclecti.cc/olpc/pygame-webcam-support">Pygame Webcam Support</a> first appeared on <a href="https://eclecti.cc">eclecticc</a>.</p>]]></description>
  233. <content:encoded><![CDATA[<p><strong>Update:</strong> Grab the up to date code in <a href="http://www.pygame.org/download.shtml">Pygame</a> &gt;1.9.1 from the <a href="http://www.pygame.org/wiki/cvs">Pygame repository</a>.</p>
  234. <p>There was a three day weekend here, so I got some real coding done on my GSoC project.</p>
  235. <p>You can pull the code I&#8217;m working on from my repository at <a href="http://git.n0r.org/?p=pygame-nrp;a=summary" target="_blank">http://git.n0r.org/?p=pygame-nrp;a=summary</a></p>
  236. <p>It is currently barely alpha quality, but it supports v4l2 cameras that use MMAP and YUYV or RGB24 pixelformats. That means it&#8217;ll work on the OLPC XO, though you&#8217;ll need to install gcc, SDL-devel, and probably some other stuff to compile it.</p>
  237. <p>You can open a camera with:<br />
  238. <code>cam = camera.Camera(device, (width, height))</code><br />
  239. Device in most cases is going to be <code>"/dev/video0"</code>. <code>(width, height)</code> will probably be <code>(640, 480)</code>.<br />
  240. You then need to start the camera with <code>cam.start()</code>.<br />
  241. <code>cam.get_image()</code> will return an RGB Surface.<br />
  242. <code>cam.close()</code> closes the camera if necessary.</p><p>The post <a href="https://eclecti.cc/olpc/pygame-webcam-support">Pygame Webcam Support</a> first appeared on <a href="https://eclecti.cc">eclecticc</a>.</p>]]></content:encoded>
  243. <wfw:commentRss>https://eclecti.cc/olpc/pygame-webcam-support/feed</wfw:commentRss>
  244. <slash:comments>6</slash:comments>
  245. </item>
  246. <item>
  247. <title>PyEyes: xeyes in Python with Face Tracking</title>
  248. <link>https://eclecti.cc/olpc/pyeyes-xeyes-in-python-with-face-tracking</link>
  249. <comments>https://eclecti.cc/olpc/pyeyes-xeyes-in-python-with-face-tracking#comments</comments>
  250. <dc:creator><![CDATA[nrp]]></dc:creator>
  251. <pubDate>Sat, 12 Apr 2008 08:07:25 +0000</pubDate>
  252. <category><![CDATA[OLPC]]></category>
  253. <category><![CDATA[face tracking]]></category>
  254. <category><![CDATA[pyeyes]]></category>
  255. <category><![CDATA[python]]></category>
  256. <category><![CDATA[vision]]></category>
  257. <category><![CDATA[xeyes]]></category>
  258. <guid isPermaLink="false">http://eclecti.cc/?p=38</guid>
  259.  
  260. <description><![CDATA[<p>As a crash course in learning the basics of Pygame, I wrote a quick little Activity for the OLPC XO.  It is a clone of xeyes, except instead of following the mouse cursor, it uses the webcam to be creepy and follow your face.  It&#8217;s a bit slow, and kind of messy, but I did &#8230; </p>
  261. <p class="link-more"><a href="https://eclecti.cc/olpc/pyeyes-xeyes-in-python-with-face-tracking" class="more-link">Continue reading<span class="screen-reader-text"> "PyEyes: xeyes in Python with Face Tracking"</span></a></p>
  262. <p>The post <a href="https://eclecti.cc/olpc/pyeyes-xeyes-in-python-with-face-tracking">PyEyes: xeyes in Python with Face Tracking</a> first appeared on <a href="https://eclecti.cc">eclecticc</a>.</p>]]></description>
  263. <content:encoded><![CDATA[<p style="text-align: center;"><img title="It sees you..." src="https://eclecti.cc/files/2008/04/pyeyes.jpg" alt="PyEyes" /></p>
  264. <p style="text-align: justify;">As a crash course in learning the basics of <a href="http://www.pygame.org/news.html" target="_blank">Pygame</a>, I wrote a quick little Activity for the OLPC XO.  It is a clone of xeyes, except instead of following the mouse cursor, it uses the webcam to be creepy and follow your face.  It&#8217;s a bit slow, and kind of messy, but I did only make it for learning purposes.</p>
  265. <p style="text-align: justify;">It uses OpenCV, so you&#8217;re going to need a version of it that works on the XO.  The latest <a href="http://sourceforge.net/cvs/?group_id=22870" target="_blank">source from CVS</a> works, or you can install a patched rpm of it that I hacked together:</p>
  266. <blockquote>
  267. <p style="text-align: left;">sudo rpm -i <a href="https://eclecti.cc/files/opencv-1.0.0-3olpchack.fc7.i386.rpm">https://eclecti.cc/files/opencv-1.0.0-3olpchack.fc7.i386.rpm</a></p>
  268. </blockquote>
  269. <p style="text-align: justify;">You&#8217;ll also need the opencv-python package, which is available in the repository.</p>
  270. <blockquote>
  271. <p style="text-align: left;">sudo yum install opencv-python</p>
  272. </blockquote>
  273. <p style="text-align: justify;">You can get the .xo itself here: <a href="https://eclecti.cc/files/PyEyes-1.xo">PyEyes-1.xo</a></p><p>The post <a href="https://eclecti.cc/olpc/pyeyes-xeyes-in-python-with-face-tracking">PyEyes: xeyes in Python with Face Tracking</a> first appeared on <a href="https://eclecti.cc">eclecticc</a>.</p>]]></content:encoded>
  274. <wfw:commentRss>https://eclecti.cc/olpc/pyeyes-xeyes-in-python-with-face-tracking/feed</wfw:commentRss>
  275. <slash:comments>8</slash:comments>
  276. </item>
  277. </channel>
  278. </rss>
  279.  

If you would like to create a banner that links to this page (i.e. this validation result), do the following:

  1. Download the "valid RSS" banner.

  2. Upload the image to your own server. (This step is important. Please do not link directly to the image on this server.)

  3. Add this HTML to your page (change the image src attribute if necessary):

If you would like to create a text link instead, here is the URL you can use:

http://www.feedvalidator.org/check.cgi?url=http%3A//eclecti.cc/category/olpc/feed

Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda