<?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>Ian Bartholomew &#187; code</title> <atom:link href="http://www.ianbartholomew.com/category/code/feed/" rel="self" type="application/rss+xml" /><link>http://www.ianbartholomew.com</link> <description>The artwork and thoughts of Ian Bartholomew</description> <lastBuildDate>Mon, 09 Aug 2010 00:08:13 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1.3</generator> <item><title>failBank</title><link>http://www.ianbartholomew.com/2010/02/failbank/</link> <comments>http://www.ianbartholomew.com/2010/02/failbank/#comments</comments> <pubDate>Mon, 15 Feb 2010 21:52:35 +0000</pubDate> <dc:creator>Ian</dc:creator> <category><![CDATA[Art]]></category> <category><![CDATA[code]]></category> <category><![CDATA[Design]]></category> <category><![CDATA[Processing]]></category> <guid
isPermaLink="false">http://www.ianbartholomew.com/?p=291</guid> <description><![CDATA[A new Processing sketch. This one is a abstraction of the map of the list of failed banks from 2008-2010 (so far). Source code can be found here, and the normal rules apply (Given without any warranty, may explode upon impact, blah blah blah)]]></description> <content:encoded><![CDATA[<p><a
href="http://www.ianbartholomew.com/images/bankFail.png" class="thickbox" title="bankFail"><img
src="http://www.ianbartholomew.com/images/bankFail.png" alt="" title="bankFail" width="750" class="alignnone size-full wp-image-292" /></a></p><p>A new <a
href="http://www.processing.org/">Processing</a> sketch.  This one is a abstraction of the map of the <a
href="http://www.fdic.gov/bank/individual/failed/banklist.html">list of</a> <a
href="http://en.wikipedia.org/wiki/2008–2010_bank_failures_in_the_United_States">failed banks</a> from 2008-2010 (so far).</p><p>Source code can be found <a
href="etc/banks.tar.gz">here</a>, and the normal rules apply (Given without any warranty, may explode upon impact, blah blah blah)</p> ]]></content:encoded> <wfw:commentRss>http://www.ianbartholomew.com/2010/02/failbank/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Canvas + Processing.js</title><link>http://www.ianbartholomew.com/2009/08/canvas-processing-js/</link> <comments>http://www.ianbartholomew.com/2009/08/canvas-processing-js/#comments</comments> <pubDate>Fri, 07 Aug 2009 05:37:41 +0000</pubDate> <dc:creator>Ian</dc:creator> <category><![CDATA[code]]></category> <category><![CDATA[Design]]></category> <category><![CDATA[HTML]]></category> <category><![CDATA[Processing]]></category> <category><![CDATA[Processing.js]]></category> <guid
isPermaLink="false">http://www.ianbartholomew.com/?p=283</guid> <description><![CDATA[The new canvas tag in HTML5 is really interesting me. Perhaps its because I have never liked or warmed up to Flash all that much (too proprietary for my liking), but the possibilities for it are exciting. Especially with Processing.js, which ports the ease and functionality of Processing onto the web (no more applets!). There [...]]]></description> <content:encoded><![CDATA[<p> <img
src="http://ianbartholomew.com/images/p5.png" alt="p5js" width="750"/></p><p>The new canvas tag in HTML5 is really interesting me.  Perhaps its because I have never liked or warmed up to<br
/> Flash all that much (too proprietary for my liking), but the possibilities for it are exciting.  Especially with <a
href="http://processingjs.org">Processing.js,</a> which ports the ease and functionality of <a
href="http://processing.org">Processing</a> onto the web (no more applets!).  There are some exciting things going on, such as <a
href="http://9elements.com/io/?p=153">this recent one</a> that visualizes Twitter feeds.</p><p>At any rate, I have a quick experiment that I did with processing.js up <a
href="http://www.ianbartholomew.com/etc/p5js/p5js2.html">here</a>.  The page requires a modern browser to view it (Firefox 3.5, Safari 4, Chrome, perhaps a recent Opera. IE, dunno&#8211;you are on your own).   And bear in mind here, this is all HTML and Javascript.  No Flash involved.</p><p>If you are interested, my code is available <a
href="http://ianbartholomew.com/etc/p5js/p5js.zip">here</a> and you can get the Processing.js files <a
href="http://processingjs.org/download">here.</a></p> ]]></content:encoded> <wfw:commentRss>http://www.ianbartholomew.com/2009/08/canvas-processing-js/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>feedLocation</title><link>http://www.ianbartholomew.com/2009/04/feedlocation/</link> <comments>http://www.ianbartholomew.com/2009/04/feedlocation/#comments</comments> <pubDate>Mon, 27 Apr 2009 23:00:56 +0000</pubDate> <dc:creator>Ian</dc:creator> <category><![CDATA[Art]]></category> <category><![CDATA[code]]></category> <category><![CDATA[Design]]></category> <category><![CDATA[Processing]]></category> <guid
isPermaLink="false">http://www.ianbartholomew.com/?p=270</guid> <description><![CDATA[Here is a little project that I did recently. It is a Processing sketch that draws a map based on how often a country is mentioned in major media outlets (Such as the New York Times, Guardian UK, Al Jazeera, Reuters, AP). The brighter the country, the more mentions in the media. A note about [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://ianbartholomew.com/etc/feedLoc/index.html"><img
alt="" src="http://ianbartholomew.com/images/mediaMap.jpg" title="map" class="alignnone" width="700" /></a></p><p><a
href="http://ianbartholomew.com/etc/feedLoc/index.html">Here is a little project that I did recently</a>.  It is a <a
href="http://processing.org">Processing</a> sketch that draws a map based on how often a country is mentioned in major media outlets (Such as the New York Times, Guardian UK, Al Jazeera, Reuters, AP).  The brighter the country, the more mentions in the media.</p><p>A note about the applet, click the &#8216;approve&#8217; button that will pop up (I have to sign the applet for security reasons) and give it a moment to do it&#8217;s thing, it&#8217;s doing a lot behind the scenes!</p> ]]></content:encoded> <wfw:commentRss>http://www.ianbartholomew.com/2009/04/feedlocation/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>pixelOSC</title><link>http://www.ianbartholomew.com/2008/12/pixelosc/</link> <comments>http://www.ianbartholomew.com/2008/12/pixelosc/#comments</comments> <pubDate>Sun, 14 Dec 2008 19:35:40 +0000</pubDate> <dc:creator>Ian</dc:creator> <category><![CDATA[code]]></category> <category><![CDATA[Design]]></category> <category><![CDATA[Processing]]></category> <category><![CDATA[Sound]]></category> <category><![CDATA[work]]></category> <guid
isPermaLink="false">http://www.ianbartholomew.com/?p=207</guid> <description><![CDATA[I wrote a new Processing sketch today (I love the inspiration that time off affords) that takes color information from each pixel in an image, and uses that to create sound. I extracted the red, blue, green, hue, saturation and brightness of each pixel, and created a sine wave for each value. Together, they create [...]]]></description> <content:encoded><![CDATA[<p>I wrote a new <a
href="http://www.processing.org" target="_blank">Processing</a> sketch today (I love the inspiration that time off affords) that takes color information from each pixel in an image, and uses that to create sound.  I extracted the red, blue, green, hue, saturation and brightness of each pixel, and created a sine wave for each value.  Together, they create interesting harmonies, a sort of audible version of my <a
href="http://www.ianbartholomew.com/2008/12/13/wordtapestry/" target="_blank">last project</a>.</p><p>There are two versions that I am sharing.  The first is the original version, that uses <a
href="http://supercollider.sourceforge.net//" target="_blank">Supercollider</a> to generate the sound.  Since it does so, I can&#8217;t post it on the web, but the sound is much better.  You can download<a
href="http://www.ianbartholomew.com/etc/pixelOSC.zip"> the package here</a>.  The second uses a Processing friendly, and web friendly, library, <a
href="http://code.compartmental.net/tools/minim/" target="_blank">Minim</a>, which doesn&#8217;t sound as good (I can&#8217;t get rid of the pops and clicks when doing sine waves for some reason), but I allows me to post the sketch on the web, which <a
href="http://www.ianbartholomew.com/etc/pixelOSC/index.html">I have here</a>.  Enjoy!</p><p>Update:  By the way, it sounds much better on speaker set-ups with subwoofers, as there are some really low frequencies that would come out distorted on smaller, laptop speakers.</p> ]]></content:encoded> <wfw:commentRss>http://www.ianbartholomew.com/2008/12/pixelosc/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>wordTapestry</title><link>http://www.ianbartholomew.com/2008/12/wordtapestry/</link> <comments>http://www.ianbartholomew.com/2008/12/wordtapestry/#comments</comments> <pubDate>Sat, 13 Dec 2008 09:54:31 +0000</pubDate> <dc:creator>Ian</dc:creator> <category><![CDATA[Art]]></category> <category><![CDATA[code]]></category> <category><![CDATA[Design]]></category> <category><![CDATA[Processing]]></category> <category><![CDATA[Technology]]></category> <guid
isPermaLink="false">http://www.ianbartholomew.com/?p=202</guid> <description><![CDATA[For one of my classes, I wrote a Processing sketch that does an web image search for keywords from the class, such as &#8220;California Ideology&#8221;, &#8220;canon&#8221;, &#8220;code&#8221;, &#8220;commons&#8221;, &#8220;mass culture&#8221;,&#8221;media&#8221;, &#8220;privacy&#8221;, &#8220;public good&#8221;,&#8221;reductionism&#8221;,&#8221;representative&#8221;,&#8221;retro-futurism&#8221;,&#8221;secrecy&#8221; and &#8220;sousveillance&#8221;. It then takes takes the images, and weaves the pixels together, sort of like a tapestry. The code is here.]]></description> <content:encoded><![CDATA[<p><img
class="alignnone size-full wp-image-203" title="wordtapestry" src="http://www.ianbartholomew.com/wp-content/uploads/2008/12/wordtapestry.jpg" alt="wordtapestry" width="700" height="569" /></p><p>For <a
href="http://tecblogging.blogspot.com/" target="_blank">one of my classes</a>, I wrote a <a
href="http://www.processing.org" target="_blank">Processing</a> sketch that does an web image search for keywords from the class, such as &#8220;California Ideology&#8221;, &#8220;canon&#8221;, &#8220;code&#8221;, &#8220;commons&#8221;, &#8220;mass culture&#8221;,&#8221;media&#8221;, &#8220;privacy&#8221;, &#8220;public good&#8221;,&#8221;reductionism&#8221;,&#8221;representative&#8221;,&#8221;retro-futurism&#8221;,&#8221;secrecy&#8221; and &#8220;sousveillance&#8221;.  It then takes takes the images, and weaves the pixels together, sort of like a tapestry.  The code is <a
href="http://www.ianbartholomew.com/etc/wordTapestry.pde" target="_self">here</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.ianbartholomew.com/2008/12/wordtapestry/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>WhoisZips</title><link>http://www.ianbartholomew.com/2008/08/whoiszips/</link> <comments>http://www.ianbartholomew.com/2008/08/whoiszips/#comments</comments> <pubDate>Fri, 29 Aug 2008 04:02:31 +0000</pubDate> <dc:creator>Ian</dc:creator> <category><![CDATA[code]]></category> <category><![CDATA[Design]]></category> <category><![CDATA[Processing]]></category> <guid
isPermaLink="false">http://www.ianbartholomew.com/?p=155</guid> <description><![CDATA[I have been meaning to post this for awhile. Among other things, I recently wrote a Processing sketch that uses Carnivore to sniff the packets on a local network, then does a whois search on the IP address to look up the physical address attached to them. The sketch then displays the address, and plots [...]]]></description> <content:encoded><![CDATA[<p><img
src="http://www.ianbartholomew.com/images/zips2.jpg" alt="zips" /></p><p>I have been meaning to post this for awhile.  Among other things, I recently wrote a <a
href="http://processing.org/">Processing</a> sketch that uses <a
href="http://r-s-g.org/carnivore/">Carnivore</a> to sniff the packets on a local network, then does a <a
href="http://en.wikipedia.org/wiki/WHOIS">whois</a> search on the IP address to look up the physical address attached to them.  The sketch then displays the address, and plots it on a map.  The more packets that come from a location, the brighter the dot.</p><p>In this iteration, I just used the <a
href="http://en.wikipedia.org/wiki/ARIN">Arin</a> server, so it&#8217;s just for US addresses.  This also limited me to a US map (which I <del >stole</del> borrowed from one of the examples in <a
href="http://www.amazon.com/exec/obidos/ASIN/0596514557/">Ben Fry&#8217;s Visualizing Data book</a>).</p><p>Since this is a Processing sketch, I could have done an embedded applet for this entry, but Carnivore requires some changing of permissions on the local machine to do the packet sniffing.  And well, you can&#8217;t do that from a web page.</p><p>The code for this is <a
href="http://www.ianbartholomew.com/etc/whoisZips.zip">here</a>, but I will warn you now that it is undocumented.  And it comes with no warranty, use at your own risk, etc.  Enjoy!</p> ]]></content:encoded> <wfw:commentRss>http://www.ianbartholomew.com/2008/08/whoiszips/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>more z</title><link>http://www.ianbartholomew.com/2008/08/more-z/</link> <comments>http://www.ianbartholomew.com/2008/08/more-z/#comments</comments> <pubDate>Fri, 29 Aug 2008 03:16:29 +0000</pubDate> <dc:creator>Ian</dc:creator> <category><![CDATA[Art]]></category> <category><![CDATA[code]]></category> <category><![CDATA[Photography]]></category> <guid
isPermaLink="false">http://www.ianbartholomew.com/?p=153</guid> <description><![CDATA[More z-projections. Same as this.]]></description> <content:encoded><![CDATA[<p><a
href="http://www.flickr.com/photos/ianbart/2804724163/" title="MAX_second by ianbart, on Flickr"><img
src="http://farm4.static.flickr.com/3002/2804724163_31a03e5c78_b.jpg" width="700" border=none alt="MAX_second" /></a></p><p>More z-projections.  Same as <a
href="http://www.ianbartholomew.com/2008/08/28/z-projections/">this</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.ianbartholomew.com/2008/08/more-z/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>TimeSlice2</title><link>http://www.ianbartholomew.com/2008/05/timeslice2/</link> <comments>http://www.ianbartholomew.com/2008/05/timeslice2/#comments</comments> <pubDate>Tue, 20 May 2008 07:55:10 +0000</pubDate> <dc:creator>Ian</dc:creator> <category><![CDATA[Art]]></category> <category><![CDATA[code]]></category> <category><![CDATA[Video]]></category> <guid
isPermaLink="false">http://www.ianbartholomew.com/?p=136</guid> <description><![CDATA[TimeSlice2 from Ian on Vimeo. Similar, tweaked, process as here. New movie though. Enjoy. PS. The compression on these sites blows. I would recommend, if you are interested, going here and downloading the original. It looks a lot better.]]></description> <content:encoded><![CDATA[<p><object
width="701" height="295"><param
name="allowfullscreen" value="true" /><param
name="allowscriptaccess" value="always" /><param
name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=954326&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed
src="http://www.vimeo.com/moogaloop.swf?clip_id=954326&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="701" height="295"></embed></object><br
/><a
href="http://www.vimeo.com/954326?pg=embed&#038;sec=954326">TimeSlice2</a> from <a
href="http://www.vimeo.com/user378325?pg=embed&#038;sec=954326">Ian</a> on <a
href="http://vimeo.com?pg=embed&#038;sec=954326">Vimeo</a>.</p><p>Similar, tweaked, process as <a
href="http://www.ianbartholomew.com/2008/02/23/time-slice/">here</a>.  New movie though.</p><p>Enjoy.</p><p>PS. The compression on these sites blows.  I would recommend, if you are interested, going <a
href="http://www.vimeo.com/download/video:59150942?e=1211273848&#038;h=10b604bf9947961d47c7cacef0371780">here</a> and downloading the original.  It looks a lot better.</p> ]]></content:encoded> <wfw:commentRss>http://www.ianbartholomew.com/2008/05/timeslice2/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
