
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>daniel shiffman &#187; library</title>
	<atom:link href="http://www.shiffman.net/category/library/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shiffman.net</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 03:00:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Updated Kinect Library for Processing</title>
		<link>http://www.shiffman.net/2010/12/18/updated-kinect-library-for-processing/</link>
		<comments>http://www.shiffman.net/2010/12/18/updated-kinect-library-for-processing/#comments</comments>
		<pubDate>Sun, 19 Dec 2010 03:37:13 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[kinect]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[processing.org]]></category>

		<guid isPermaLink="false">http://www.shiffman.net/?p=645</guid>
		<description><![CDATA[A quick post to announce an updated Kinect library for Processing on github. This new library uses the most recent libfreenect drivers (mac os x only still) and builds off of the existing JNI Java Wrapper. Links: Download library and &#8230; <a href="http://www.shiffman.net/2010/12/18/updated-kinect-library-for-processing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://player.vimeo.com/video/18058700?title=0&amp;byline=0&amp;portrait=0&amp;color=ff9933" width="435" height="282" frameborder="0"></iframe></p>
<p>A quick post to announce an updated Kinect library for Processing on github. This new library uses the most recent libfreenect drivers (mac os x only still)  and builds off of the existing <a href="http://openkinect.org/wiki/Java_Wrapper">JNI Java Wrapper</a>.  Links:</p>
<p>Download library and example:<br />
<a href="https://github.com/shiffman/libfreenect/raw/master/wrappers/java/processing/distribution/openkinect.zip">openkinect.zip</a></p>
<p>Source:<br />
<a href="https://github.com/shiffman/libfreenect/tree/master/wrappers/java/processing">https://github.com/shiffman/libfreenect/tree/master/wrappers/java/processing</a></p>
<p>My tests show 30 FPS no problem for either the depth or RGB image, if you request both images, however, I&#8217;m only currently getting about 20 FPS.  The update fixes a few bugs, exposes the raw depth data and includes a point cloud demo (see above video).</p>
<p>I have a list of &#8220;to-do&#8221; items here:</p>
<p><a href="https://github.com/shiffman/libfreenect/issues">https://github.com/shiffman/libfreenect/issues</a><br />
 (a shortened version of the very long list in my head)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiffman.net/2010/12/18/updated-kinect-library-for-processing/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
		</item>
		<item>
		<title>VerletPhysics and Toxiclibs</title>
		<link>http://www.shiffman.net/2010/02/14/verletphysics-and-toxiclibs/</link>
		<comments>http://www.shiffman.net/2010/02/14/verletphysics-and-toxiclibs/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 22:23:30 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[library]]></category>
		<category><![CDATA[nature of code]]></category>
		<category><![CDATA[physics]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[toxiclibs]]></category>

		<guid isPermaLink="false">http://www.shiffman.net/?p=546</guid>
		<description><![CDATA[Building off of last week&#8217;s Box2D and Processing post, I have now posted a short tutorial about the physics package in toxiclibs. The force directed graph example is a simplified version of toxi&#8217;s wonderful fidgen project. Link: http://www.shiffman.net/teaching/nature/toxiclibs/]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.shiffman.net/teaching/nature/toxiclibs/"><img src="http://www.shiffman.net/itp/classes/nature/toxiclibs_2010/fdg.jpg"/></a></p>
<p>Building off of last week&#8217;s <a href="http://www.shiffman.net/2010/02/08/box2d-and-processing/">Box2D and Processing</a> post, I have now posted <a href="http://www.shiffman.net/teaching/nature/toxiclibs/">a short tutorial</a> about the physics package in <a href="http://toxiclibs.org/">toxiclibs</a>.   The <a href="http://www.shiffman.net/itp/classes/nature/toxiclibs_2010/forcedirectedgraph">force directed graph example</a> is a simplified version of toxi&#8217;s wonderful <a href="http://code.google.com/p/fidgen/">fidgen</a> project. </p>
<p>Link: <a href="http://www.shiffman.net/teaching/nature/toxiclibs/">http://www.shiffman.net/teaching/nature/toxiclibs/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiffman.net/2010/02/14/verletphysics-and-toxiclibs/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Box2D and Processing</title>
		<link>http://www.shiffman.net/2010/02/08/box2d-and-processing/</link>
		<comments>http://www.shiffman.net/2010/02/08/box2d-and-processing/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 03:03:00 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[box2d]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[nature of code]]></category>
		<category><![CDATA[physics]]></category>
		<category><![CDATA[processing.org]]></category>

		<guid isPermaLink="false">http://www.shiffman.net/?p=531</guid>
		<description><![CDATA[&#160; I&#8217;m pleased to announce I&#8217;ve published a first draft of a tutorial about using Box2D in Processing. Tutorial: http://www.shiffman.net/teaching/nature/box2d-processing/ Google code repository: http://code.google.com/p/pbox2d/ I&#8217;m struggling here to figure out whether I&#8217;m (a) creating a Processing Box2D library or (b) &#8230; <a href="http://www.shiffman.net/2010/02/08/box2d-and-processing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.shiffman.net/itp/classes/nature/box2d_2010/boxes.jpg"/>&nbsp; <img src="http://www.shiffman.net/itp/classes/nature/box2d_2010/blob.jpg"/></p>
<p>I&#8217;m pleased to announce I&#8217;ve <a href="http://www.shiffman.net/teaching/nature/box2d-processing/">published a first draft of a tutorial</a> about using <a href="http://www.box2d.org/">Box2D</a> in <a href="http://www.processing.org">Processing</a>. </p>
<p>Tutorial: <a href="http://www.shiffman.net/teaching/nature/box2d-processing/">http://www.shiffman.net/teaching/nature/box2d-processing/</a><br />
Google code repository: <a href="http://code.google.com/p/pbox2d/">http://code.google.com/p/pbox2d/</a></p>
<p>I&#8217;m struggling here to figure out whether I&#8217;m (a) creating a Processing Box2D library or (b) simply creating a tutorial and set of examples piggybacking off of JBox2D.  For now, I&#8217;m doing a little bit of both.  The library is just a few helper functions, but the examples require you to dig into actual Box2D code.  These examples aren&#8217;t nearly as comprehensive as what you&#8217;ll find in the <a href="http://jbox2d.org">JBox2D demos</a>.  It&#8217;s my goal, however, to make the material accessible and easy to use.  Hopefully, with some feedback and more time, I&#8217;ll be able to publish a more sophisticated library and thorough suite of example.  Who knows, maybe no one will ever need any of my previous Nature of Code tutorials any more!</p>
<p>Next up, I&#8217;m planning on creating a few simple examples that use the fantastic and awe-inspiring <a href="http://toxiclibs.org/">toxiclibs</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiffman.net/2010/02/08/box2d-and-processing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>XBee API Library for Processing</title>
		<link>http://www.shiffman.net/2007/12/20/xbee-api-library-for-processing/</link>
		<comments>http://www.shiffman.net/2007/12/20/xbee-api-library-for-processing/#comments</comments>
		<pubDate>Thu, 20 Dec 2007 21:06:19 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[p5]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[xbee]]></category>

		<guid isPermaLink="false">http://www.shiffman.net/2007/12/20/xbee-api-library-for-processing/</guid>
		<description><![CDATA[Rob Faludi and I are working on a Processing library for Digiâ€™s XBee Series 1 radios. Direct from Rob&#8217;s blog: The library currently facilitates receiving single sample I/O packets in API mode, and returns an object that contains the analog &#8230; <a href="http://www.shiffman.net/2007/12/20/xbee-api-library-for-processing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://faludi.com">Rob Faludi</a> and I are working on a Processing library for Digiâ€™s <a href="http://www.digi.com/products/wireless/point-multipoint/xbee-series1-module.jsp">XBee Series 1 radios</a>.  Direct from <a href="http://blog.faludi.com/2007/12/19/xbee-api-library-for-processing/">Rob&#8217;s blog</a>:</p>
<p><i>The library currently facilitates receiving single sample I/O packets in <a href="http://www.digi.com/support/kbase/kbaseresultdetl.jsp?kb=184">API mode</a>, and returns an object that contains the analog values, digital values, senderâ€™s 16-bit address and RSSI value. The next tasks will be to receive regular RX frames, issue AT commands and receive responses, issue TX frames and receive responses to those. Weâ€™d also like to support the XBee Series 2 radios, which have a similar API structure.</i></p>
<p>Here&#8217;s where you can <a href="http://blog.faludi.com/code/xbee-api-library-for-processing/">download and learn about the library</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiffman.net/2007/12/20/xbee-api-library-for-processing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Most Pixels Ever Alpha Release</title>
		<link>http://www.shiffman.net/2007/09/04/most-pixels-ever-alpha-release/</link>
		<comments>http://www.shiffman.net/2007/09/04/most-pixels-ever-alpha-release/#comments</comments>
		<pubDate>Tue, 04 Sep 2007 12:26:04 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[bigscreens]]></category>
		<category><![CDATA[ITP]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[mpe]]></category>
		<category><![CDATA[p5]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[teaching_]]></category>

		<guid isPermaLink="false">http://www.shiffman.net/2007/09/04/most-pixels-ever-alpha-release/</guid>
		<description><![CDATA[I&#8217;m pleased to announce that we&#8217;re releasing the first version of The Most Pixels Ever, an open-source Java framework for spanning Processing sketches across multiple screens (developed with Chris Kairalla). This is an early version that has many limitations and &#8230; <a href="http://www.shiffman.net/2007/09/04/most-pixels-ever-alpha-release/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/shiffman/437187494/" title="Photo Sharing"><img src="http://farm1.static.flickr.com/145/437187494_7c19fed4b4_m.jpg" width="240" height="180" alt="Seriously, Run Lola Run.  Run!" /></a></p>
<p>I&#8217;m pleased to announce that we&#8217;re releasing the first version of <a href="http://www.mostpixelsever.com/">The Most Pixels Ever</a>, an open-source Java framework for spanning Processing sketches across multiple screens (developed with Chris Kairalla).  This is an early version that has many limitations and needs a great deal of improvement, but <a href="http://www.mostpixelsever.com/2007/08/26/testing-on-the-iac-video-wall/">it does work</a>.  The site isn&#8217;t complete, but the <a href="http://www.mostpixelsever.com/source/">source</a> is available, and there are a <a href="http://www.mostpixelsever.com/tutorial/">couple tutorials</a> to help get your started.</p>
<p>I&#8217;ll be using the library in conjunction with <a href="http://www.shiffman.net/teaching">teaching</a> a <a href="http://www.itp.nyu.edu/varwiki/Syllabus/BigScreens">new class</a> at ITP starting today!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiffman.net/2007/09/04/most-pixels-ever-alpha-release/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Processing Yahoo Search Library</title>
		<link>http://www.shiffman.net/2007/08/05/processing-yahoo-search-library/</link>
		<comments>http://www.shiffman.net/2007/08/05/processing-yahoo-search-library/#comments</comments>
		<pubDate>Mon, 06 Aug 2007 02:51:22 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[API]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[p5]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://www.shiffman.net/2007/08/05/processing-yahoo-search-library/</guid>
		<description><![CDATA[2011 Update: While this library may still work, I am deprecating it as Yahoo does not support the Java Search API any longer as far as I can tell Now, I am rather overdue for an update on my upcoming &#8230; <a href="http://www.shiffman.net/2007/08/05/processing-yahoo-search-library/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>2011 Update: While this library may still work, I am deprecating it as Yahoo does not support the Java Search API any longer as far as I can tell</strong></p>
<p><img src="http://www.shiffman.net/p5/pyahoo_files/names.jpg"/></p>
<p>Now, I am rather overdue for an update on <a href="http://book.shiffman.net">my upcoming book</a>.  I&#8217;ll be posting details soon.   However, in the course of finishing up a chapter on String parsing, I discovered that my good friend, the <a href="http://code.google.com/apis/soapsearch/">Google SOAP API</a> is no longer being supported (obviously, I&#8217;m a little late on the ball here.) </p>
<p>So, I quickly whipped up a <a href="http://www.processing.org">Processing</a> library to make use of the Yahoo Search API.  Now, you can access the Yahoo! API directly in Processing.  There&#8217;s <a href="http://processing.org/learning/libraries/yahoosearch.html">even an example here</a>.  However, you would have to write your own thread if you wanted to search asynchronously.  In addition, if you&#8217;re not comfortable diving into outside Java APIs, you might struggle to figure out the syntax.   (<a href="http://www.realtimeart.com/switchboard/">Switchboard</a> also provides an interface to the Yahoo! API.)</p>
<p>So I set out (as an example for my book) to make a quick and easy bridge to the Yahoo API.    </p>
<li class="arrow"><a href="http://www.shiffman.net/p5/pyahoo_files/pyahoo.zip">Download the library here</a></li>
<li class="arrow"><a href="http://developer.yahoo.com">Go and get a developer ID</a></li>
<li class="arrow"><a href="http://developer.yahoo.com/download">Download the Yahoo! Search SDK</a>  Find the file: yahoo_search-2.X.X.jar and put it in the library folder (along with the above download).</li>
<p>Finally, take a peek at this example code.</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Import the library</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">pyahoo.*</span><span style="color: #339933;">;</span>
&nbsp;
YahooSearch yahoo<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000066; font-weight: bold;">void</span> setup<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  size<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">400</span>,<span style="color: #cc66cc;">400</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #666666; font-style: italic;">// Make a search object</span>
  yahoo <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> YahooSearch<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">this</span>,<span style="color: #0000ff;">&quot;YOUR API KEY HERE&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000066; font-weight: bold;">void</span> mousePressed<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  yahoo.<span style="color: #006633;">search</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;processing.org&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #666666; font-style: italic;">// You can request more results like so (the default is 10):</span>
  <span style="color: #666666; font-style: italic;">// yahoo.search(&quot;processing.org&quot;,30);</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000066; font-weight: bold;">void</span> draw<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  noLoop<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// The searches will come in one at a time to here when finished</span>
<span style="color: #000066; font-weight: bold;">void</span> searchEvent<span style="color: #009900;">&#40;</span>YahooSearch yahoo<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #666666; font-style: italic;">// You can get the titles, URLs, or Summaries back as an array of Strings</span>
  <span style="color: #003399;">String</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> titles <span style="color: #339933;">=</span> yahoo.<span style="color: #006633;">getTitles</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #003399;">String</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> urls <span style="color: #339933;">=</span> yahoo.<span style="color: #006633;">getUrls</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  println<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>I searched for &quot;</span> <span style="color: #339933;">+</span> yahoo.<span style="color: #006633;">getSearchString</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  println<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;There are a total of &quot;</span> <span style="color: #339933;">+</span> yahoo.<span style="color: #006633;">getTotalResultsAvailable</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot; results available&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  println<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Here are the first &quot;</span> <span style="color: #339933;">+</span> yahoo.<span style="color: #006633;">getNumberRequested</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">int</span> i <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> titles.<span style="color: #006633;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    println<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;___________&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    println<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Item # &quot;</span> <span style="color: #339933;">+</span> i<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    println<span style="color: #009900;">&#40;</span>titles<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    println<span style="color: #009900;">&#40;</span>urls<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">// You can also access the Yahoo API Directly by asking for the WebSearchResult object:</span>
  <span style="color: #666666; font-style: italic;">// WebSearchResults results = yahoo.getResults();</span>
  <span style="color: #666666; font-style: italic;">// WebSearchResult[] results = yahoo.getResultsArray();</span>
  <span style="color: #666666; font-style: italic;">// In this mode, make sure to import the Yahoo library up topl</span>
  <span style="color: #666666; font-style: italic;">// import com.yahoo.search.WebSearchResults;</span>
  <span style="color: #666666; font-style: italic;">// See Yahoo API documentation for more</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>There&#8217;s also a fancier example (mostly uncommented, sorry) that produced the image at the top of this post <a href="http://www.shiffman.net/p5/pyahoo_files/names.zip">here</a>.  </p>
<p>Thoughts?  Helpful?  Useful?  </pre>
]]></content:encoded>
			<wfw:commentRss>http://www.shiffman.net/2007/08/05/processing-yahoo-search-library/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Processing QRCode Library</title>
		<link>http://www.shiffman.net/2007/06/26/processing-qrcode-library/</link>
		<comments>http://www.shiffman.net/2007/06/26/processing-qrcode-library/#comments</comments>
		<pubDate>Tue, 26 Jun 2007 18:52:54 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[p5]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[qrcode]]></category>

		<guid isPermaLink="false">http://www.shiffman.net/2007/06/26/processing-qrcode-library/</guid>
		<description><![CDATA[From: http://qrcode.sourceforge.jp/: &#8220;QR Code is a two-dimensional barcode, used widely in Japan. The advantage of QR Code from well-known barcode is larger data capacity (more than 100 bytes, typically) and error correction.&#8221; Thanks to an idea from Tom Igoe, I &#8230; <a href="http://www.shiffman.net/2007/06/26/processing-qrcode-library/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.shiffman.net/p5/pqrcode/"><img src="http://qrcode.kaywa.com/img.php?s=8&#038;d=I%20love%20Processing%21%21%21" alt="qrcode"  /></a></p>
<p>From: <a href="http://qrcode.sourceforge.jp/">http://qrcode.sourceforge.jp/</a>:</p>
<p>&#8220;QR Code is a two-dimensional barcode, used widely in Japan. The advantage of QR Code from well-known barcode is larger data capacity (more than 100 bytes, typically) and error correction.&#8221;</p>
<p>Thanks to an idea from Tom Igoe, I make a quick and dirty interface for Processing for QRCode decoding.  The <a href="http://www.shiffman.net/p5/pqrcode/">Pqrcode library page is here</a>.   </p>
<p>Also, qrcode images can be <a href="http://qrcode.kaywa.com/">generated here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiffman.net/2007/06/26/processing-qrcode-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Metropolis Magazine</title>
		<link>http://www.shiffman.net/2007/06/22/metropolis-magazine/</link>
		<comments>http://www.shiffman.net/2007/06/22/metropolis-magazine/#comments</comments>
		<pubDate>Fri, 22 Jun 2007 20:27:06 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[ITP]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[mpe]]></category>
		<category><![CDATA[p5]]></category>
		<category><![CDATA[processing.org]]></category>

		<guid isPermaLink="false">http://www.shiffman.net/2007/06/22/metropolis-magazine/</guid>
		<description><![CDATA[A nice article by Peter Hall about the IAC video wall is out in the June issue of Metropolis Magazine. The article mentions our work at ITP on the &#8220;most pixels ever&#8221; Processing library . . . which we will &#8230; <a href="http://www.shiffman.net/2007/06/22/metropolis-magazine/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.metropolismag.com/cda/story.php?artid=2800">A nice article</a> by Peter Hall about the <a href="http://www.iacbuilding.com">IAC video wall</a> is out in the <a href="http://www.metropolismag.com/cda/magazine.php">June issue of Metropolis Magazine</a>. <a href="http://www.metropolismag.com/cda/story.php?artid=2800">The article</a> mentions our work at <a href="http://itp.nyu.edu">ITP</a> on the <a href="http://www.shiffman.net/2007/03/02/most-pixels-ever/">&#8220;most pixels ever&#8221;</a> Processing library . . . which we will release soon for beta experimentation!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiffman.net/2007/06/22/metropolis-magazine/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sftp with Java / Processing</title>
		<link>http://www.shiffman.net/2007/06/04/sftp-with-java-processing/</link>
		<comments>http://www.shiffman.net/2007/06/04/sftp-with-java-processing/#comments</comments>
		<pubDate>Mon, 04 Jun 2007 20:29:22 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[p5]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[sftp]]></category>

		<guid isPermaLink="false">http://www.shiffman.net/2007/06/04/sftp-with-java-processing/</guid>
		<description><![CDATA[I know, I know, you&#8217;ve been waiting your whole life for this. Download beta SFTP Processing library (source and example included in zip). The library uses JSch (Java Secure Channel). Copyright (c) 2002,2003,2004,2005,2006,2007 Atsuhiko Yamanaka, JCraft, Inc. import sftp.*; &#160; &#8230; <a href="http://www.shiffman.net/2007/06/04/sftp-with-java-processing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I know, I know, you&#8217;ve been waiting your whole life for this.</p>
<p><a href="http://www.shiffman.net/p5/libraries/sftp/sftp.zip">Download beta SFTP Processing library</a> (source and example included in zip).</p>
<p>The library uses <a href="http://www.jcraft.com/jsch/">JSch (Java Secure Channel)</a>.<br />
Copyright (c) 2002,2003,2004,2005,2006,2007 Atsuhiko Yamanaka, JCraft, Inc.</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">sftp.*</span><span style="color: #339933;">;</span>
&nbsp;
Sftp sftp<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000066; font-weight: bold;">void</span> setup<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  size<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">200</span>,<span style="color: #cc66cc;">200</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  background<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #666666; font-style: italic;">// Create the SFTP object</span>
  <span style="color: #666666; font-style: italic;">// if 3rd arg = false, you must set the password in your code</span>
  <span style="color: #666666; font-style: italic;">// if 3rd arg = true, you will be prompted to enter your password</span>
  sftp <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Sftp<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;www.hostname.com&quot;</span>,<span style="color: #0000ff;">&quot;login&quot;</span>, <span style="color: #000066; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #666666; font-style: italic;">// sftp.setPassword(&quot;XXXXXX&quot;);</span>
  sftp.<span style="color: #006633;">start</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// start the thread</span>
  noLoop<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000066; font-weight: bold;">void</span> mousePressed<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #666666; font-style: italic;">// At any point you can execute an SFTP command </span>
  <span style="color: #666666; font-style: italic;">// Not all commands are currently implemented</span>
  <span style="color: #666666; font-style: italic;">// but you do have &quot;ls&quot; and &quot;get&quot;</span>
  <span style="color: #666666; font-style: italic;">// Gosh, I should implement &quot;put&quot;, sorry!</span>
  sftp.<span style="color: #006633;">executeCommand</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;ls&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  sftp.<span style="color: #006633;">executeCommand</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;get file.txt&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.shiffman.net/2007/06/04/sftp-with-java-processing/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

