<?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>Alex Corbi &#187; processing</title>
	<atom:link href="http://49ers.es/corbi/tag/processing/feed/" rel="self" type="application/rss+xml" />
	<link>http://49ers.es/corbi</link>
	<description></description>
	<lastBuildDate>Tue, 27 Mar 2012 12:16:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Processing+OpenCV Playgrounds</title>
		<link>http://49ers.es/corbi/processingopencv-playgrounds/</link>
		<comments>http://49ers.es/corbi/processingopencv-playgrounds/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 23:20:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[opencv]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[visual computing]]></category>

		<guid isPermaLink="false">http://49ers.es/corbi/?p=569</guid>
		<description><![CDATA[Playground 1 Intense lights coming from mobile phone screens, lighters or lamps are being extrapolated from the regular image captured by a camera (PS3Eye) through a Threshold filter. Blobs will be detected using Opencv and stored in memory, their position is being tracked so objects on the frame can interact when these match their ranges&#8230; [...]]]></description>
			<content:encoded><![CDATA[<h3><a href="http://49ers.es/corbi/wp-content/uploads/2010/01/opencv+procc.jpg"><img class="alignnone size-full wp-image-570" title="opencv+procc" src="http://49ers.es/corbi/wp-content/uploads/2010/01/opencv+procc.jpg" alt="" width="500" height="300" /></a></h3>
<p><span id="more-569"></span></p>
<h3>Playground 1</h3>
<p>Intense lights coming from mobile phone screens, lighters or lamps are being extrapolated from the regular image captured by a camera (PS3Eye) through a Threshold filter. Blobs will be detected using Opencv and stored in memory, their position is being tracked so objects on the frame can interact when these match their ranges&#8230;</p>
<p><a href="http://49ers.es/corbi/processingopencv-playgrounds/"><em>Click here to view the embedded video.</em></a></p>
<p><a href="http://49ers.es/corbi/files/Playground1.zip" target="_blank">Download Source code</a></p>
<h3>Playground 2</h3>
<p>Smoke effect working with particles. Various lights are being detected as blobs and tracked, particles are being created, animated and removed, also gravity is being considered.</p>
<p><a href="http://49ers.es/corbi/processingopencv-playgrounds/"><em>Click here to view the embedded video.</em></a></p>
<p><a href="http://49ers.es/corbi/files/Playground2.zip" target="_blank">Download Source code</a></p>
<h3>Playground 3</h3>
<p>This time, particles are being atracted by the blobs.</p>
<p><a href="http://49ers.es/corbi/processingopencv-playgrounds/"><em>Click here to view the embedded video.</em></a></p>
<p><a href="http://49ers.es/corbi/files/Playground3.zip" target="_blank">Download Source code</a></p>
]]></content:encoded>
			<wfw:commentRss>http://49ers.es/corbi/processingopencv-playgrounds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduino and Processing over Serial</title>
		<link>http://49ers.es/corbi/arduino-and-processing-over-serial/</link>
		<comments>http://49ers.es/corbi/arduino-and-processing-over-serial/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 22:12:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[serial]]></category>
		<category><![CDATA[sound]]></category>

		<guid isPermaLink="false">http://49ers.es/corbi/?p=295</guid>
		<description><![CDATA[What is Processing? For those of you that don´t know it yet .Processing is an open-source enviroment that makes graphic design  easy and totally intuitive for software programmers. Based on a easy-to-learn languaje very very similar to java ( also it can be intergrated with Eclipse or Netbeans) it provides the developer with a very [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://49ers.es/corbi/wp-content/uploads/2008/12/p1030020.jpg"><img class="alignnone size-full wp-image-296" title="p1030020" src="http://49ers.es/corbi/wp-content/uploads/2008/12/p1030020.jpg" alt="" width="500" height="300" /></a></p>
<p><span id="more-295"></span></p>
<h3><strong>What is Processing?<br />
</strong></h3>
<p>For those of you that don´t know it yet .<a href="http://www.processing.org/">Processing</a> is an open-source enviroment that makes graphic design  easy and totally intuitive for software programmers. Based on a easy-to-learn languaje very very similar to java ( also it can be intergrated with <a href="http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Integrate;action=display;num=1117133941">Eclipse </a>or <a href="http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Integrate;action=display;num=1191468953">Netbeans</a>) it provides the developer with a very well designed structure and methods that allows points, lines, shapes to be painted on a virtual canvas.</p>
<p>It fits perfect for those who want to give their developments a &#8220;pretty face&#8221; without having to learn something completely different as we are used to.</p>
<h3><strong>Why connecting pc to arduino?</strong></h3>
<p><strong> </strong></p>
<p><strong><span style="font-weight: normal;">The goal of doing this is obvious, arduino allows us to play with sensors and design interfaces and prototypes over a small/cheap device , all those generated  signals with this sweet tool can be shown by using leds, lcds, servos etc. But the flexibility to design whatever you want to present these data is worthless.</span></strong></p>
<p>I wonder wich video-&#8221;techy&#8221;-artist does not use it.</p>
<h3><strong>What did i implement?</strong></h3>
<p>Taking my <a href="http://49ers.es/corbi/?p=277">Capacitive Bar Sensor</a> , i&#8217;ve written some code to make all that input signals come to &#8220;reality&#8221; , the code ( found below ) reads from serial interface of the laptop ( usb ) a stream of bytes sent by Arduino, each byte represent the pressed position of the bar.</p>
<p>The processing code reads these bytes and makes the correspondent box react. Also, i tried to make these programm recognise some patterns, the possibilities are not too big, so these are the two input patterns detected:</p>
<p><strong>Scroll Up / Down </strong>: All the sent bytes are stored in a buffer so we can check wheter they came in a sequential order or not [0][1][2][3][4][5] -&gt; UP  [5][4][3][2][1][0] -&gt; DOWN<br />
<strong>Scratch in the middle :</strong> if the central positions are &#8220;pressed&#8221; alternatively [2][3][2][3] -&gt; MIDDLE</p>
<p><object width="400" height="300" data="http://vimeo.com/moogaloop.swf?clip_id=2496033&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=2496033&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /></object><br />
<a href="http://vimeo.com/2496033">Arduino and Processing over Serial</a> from <a href="http://vimeo.com/user1008286">Alejandro Corbi</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<h3><strong>Sound</strong></h3>
<p><strong> </strong></p>
<p><strong><span style="font-weight: normal;">I though that adding sound could be a nice feature, so this implementation can act as a music-interface. It was sooo easy as importing <a href="http://code.compartmental.net/tools/minim/">Minim Sound Library</a> to the enviroment and start playing around that i was fully surprised. </span></strong></p>
<h3><strong>Code and sounds</strong></h3>
<p><a href="http://49ers.es/corbi/wp-content/uploads/2008/12/capbardemo.rar">capbardemo.rar</a></p>
]]></content:encoded>
			<wfw:commentRss>http://49ers.es/corbi/arduino-and-processing-over-serial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

