<?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>Tomorrow Evening &#187; Processing</title>
	<atom:link href="http://blog.tomorrowevening.com/category/pro/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tomorrowevening.com</link>
	<description>Digitally Driven</description>
	<lastBuildDate>Fri, 16 Jul 2010 06:33:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Particle Play</title>
		<link>http://blog.tomorrowevening.com/pro/particle-play/</link>
		<comments>http://blog.tomorrowevening.com/pro/particle-play/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 06:17:06 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Xcode]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[openFrameworks]]></category>
		<category><![CDATA[Multitouch]]></category>
		<category><![CDATA[Physics]]></category>

		<guid isPermaLink="false">http://blog.tomorrowevening.com/?p=278</guid>
		<description><![CDATA[First stages of my first personal iPhone/iPad App. Red circles are touch points. Double tap to change from creating gravitational fields to adding particles. Originally written in Processing, Particle Play has been converted to C++ using OpenGL and openFrameworks.]]></description>
			<content:encoded><![CDATA[<p>First stages of my first personal iPhone/iPad App.<br />
<object width="500" height="331"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=13350292&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=c9ff23&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=13350292&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=c9ff23&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="331"></embed></object><br />
Red circles are touch points.<br />
Double tap to change from creating gravitational fields to adding particles.</p>
<p>Originally written in Processing, Particle Play has been converted to C++ using OpenGL and openFrameworks.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tomorrowevening.com/pro/particle-play/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone to Desktop</title>
		<link>http://blog.tomorrowevening.com/pro/iphone-to-desktop/</link>
		<comments>http://blog.tomorrowevening.com/pro/iphone-to-desktop/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 05:15:16 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Processing]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Multitouch]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://blog.tomorrowevening.com/?p=226</guid>
		<description><![CDATA[Firstly, you're going to need Processing, TUIO, and MSARemote. Once you're all set, go ahead and run this. The comments should be very straight forward in introducing using the Processing TUIO API. I decided not to do a video tutorial on this for many reasons, mostly because watching someone code is pretty boring.]]></description>
			<content:encoded><![CDATA[<p>Firstly, you're going to need <a href="http://www.processing.org" target="_blank">Processing</a>, <a href="http://tuio.org/?software" target="_blank">TUIO</a>, and <a href="http://www.memo.tv/iphone/msaremote" target="_blank">MSARemote</a>. Once you're all set, go ahead and <a href="http://blog.tomorrowevening.com/content/2010/04/TuioBasic.zip">run this</a>. The comments should be very straight forward in introducing using the Processing TUIO API. I decided not to do a video tutorial on this for many reasons, mostly because watching someone code is pretty boring.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tomorrowevening.com/pro/iphone-to-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Physics and Multitouch</title>
		<link>http://blog.tomorrowevening.com/pro/physics-and-multitouch/</link>
		<comments>http://blog.tomorrowevening.com/pro/physics-and-multitouch/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 21:31:04 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Multitouch]]></category>
		<category><![CDATA[Physics]]></category>

		<guid isPermaLink="false">http://blog.tomorrowevening.com/?p=148</guid>
		<description><![CDATA[I've been reading a lot about multi-touch with Flash within the past year and, needless to say, was excited when Adobe announced that CS5 will enable multi-touch directly through Flash. I have a lot of questions about how that willl work and like other API's if it'll be as easy to plug in hardware devices [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-149" title="ball_01" src="http://blog.tomorrowevening.com/content/2009/11/ball_01.jpg" alt="ball_01" width="500" height="280" /><br />
<span id="more-148"></span><br />
I've been reading a lot about <a href="http://nuigroup.com/" target="_blank">multi-touch with Flash</a> within the past year and, needless to say, was excited when Adobe announced that CS5 will enable multi-touch directly through Flash. I have a lot of questions about how that willl work and like other API's if it'll be as easy to plug in hardware devices (ie. iPhone, Wii Remotes, etc).<br />
Over the past two weeks I've been doing some tests with <a href="http://www.tuio.org/" target="_blank">TUIO</a> and <a href="http://www.memo.tv/iphone/msaremote" target="_blank">MSARemote</a>. I wanted to test with Processing because I've been having some tracking problems with Flash (still trying to figure out why it's so jumpy) and Processing is a lot faster.</p>
<p>Also, I've been working on creating a new portfolio site and while brainstorming for it, I decided to do a few physics tests to try Gravity and Repulsion techniques.</p>
<p><img class="alignnone size-full wp-image-150" title="ball_02" src="http://blog.tomorrowevening.com/content/2009/11/ball_02.jpg" alt="ball_02" width="500" height="280" /></p>
<p>As you can see above, the bouncy balls was my first physics test. In that image, I have 12 balls bouncing around, with the yellow ball being what I was dragging with my mouse.</p>
<p><img class="alignnone size-full wp-image-151" title="ball_03" src="http://blog.tomorrowevening.com/content/2009/11/ball_03.jpg" alt="ball_03" width="500" height="280" /></p>
<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=8546811&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=8546811&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" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/8546811">Physics Test 1 w/ Multitouch</a> from <a href="http://vimeo.com/duffy">Colin Duffy</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>Here you can see I implemented TUIO into my project and can control multiple balls with my fingers over my iPhone. I also added a debug mode (turning on and off through double-tapping the iPhone screen) which you can see here. I used TUIO's sample code to display the trail of each finger's movement.</p>
<p><img class="alignnone size-full wp-image-153" title="gravity_01" src="http://blog.tomorrowevening.com/content/2009/11/gravity_01.jpg" alt="gravity_01" width="500" height="280" /></p>
<p><img class="alignnone size-full wp-image-154" title="gravity_02" src="http://blog.tomorrowevening.com/content/2009/11/gravity_02.jpg" alt="gravity_02" width="500" height="280" /></p>
<p><img class="alignnone size-full wp-image-155" title="gravity_03" src="http://blog.tomorrowevening.com/content/2009/11/gravity_03.jpg" alt="gravity_03" width="500" height="280" /></p>
<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=8566880&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=8566880&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" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/8566880">Physics Test 2 w/ Multitouch</a> from <a href="http://vimeo.com/duffy">Colin Duffy</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>This next test involved a gravitational pull with particles that repel off one another. As you can see from the second image, I implemented multi-touch to add points from more than one direction.  There's still a few things I'd like to do with this that I'll continue to work on.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tomorrowevening.com/pro/physics-and-multitouch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webcam with processing</title>
		<link>http://blog.tomorrowevening.com/pro/webcam-with-processing/</link>
		<comments>http://blog.tomorrowevening.com/pro/webcam-with-processing/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 15:41:02 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Processing]]></category>
		<category><![CDATA[Experiment]]></category>

		<guid isPermaLink="false">http://blog.tomorrowevening.com/?p=66</guid>
		<description><![CDATA[So apparently bringing a webcam into processing is not as easy as I thought. I run Windows Vista at home and Mac OS X at work so I tested at both places. I feel slightly retarded for not seeing this before, but this is on the processing docs page: Because Apple only supports QuickTime on [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.tomorrowevening.com/wp-content/uploads/2009/06/cam.jpg"><img class="alignnone size-full wp-image-70" title="cam" src="http://blog.tomorrowevening.com/wp-content/uploads/2009/06/cam.jpg" alt="cam" width="512" height="380" /></a><br />
So apparently bringing a webcam into processing is not as easy as I thought.<br />
<span id="more-66"></span><br />
I run Windows Vista at home and Mac OS X at work so I tested at both places.  I feel slightly retarded for not seeing this before, but <a href="http://processing.org/reference/libraries/video/">this is on the processing docs page</a>:</p>
<blockquote><p>Because Apple only supports QuickTime on Mac OS and Windows, other platforms (such as Linux) are not able to use the video library.</p>
<p>You also need video driver software for translating from the proprietary format of your video source into commonly used video functions. You can get this software from the makers of the video hardware.</p>
<p><span style="text-decoration: underline;">If you are using a Windows operating system</span>, you will also need a video driver that translates from your hardware to the video functions used by QuickTime. This software may be included in the software provided by the maker of your hardware, or you can download the software. Search for "<a href="http://www.vdig.com/WinVDIG/">vdig</a>" using an online search engine to find the software. There's more information about this below...</p></blockquote>
<p>I finally got the webcam running in both locations today, so later on when I get a chance I plan on converting my AS3 motion detection class to processing.  I plan on trying to implement Z space into this project and maybe exaggerating that depth through audio wavelengths... More to come!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tomorrowevening.com/pro/webcam-with-processing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Processing Pixel Swarm</title>
		<link>http://blog.tomorrowevening.com/pro/processing-pixel-swarm/</link>
		<comments>http://blog.tomorrowevening.com/pro/processing-pixel-swarm/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 18:00:04 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Processing]]></category>
		<category><![CDATA[Experiment]]></category>

		<guid isPermaLink="false">http://blog.tomorrowevening.com/?p=42</guid>
		<description><![CDATA[This version of pixel swarm attracts pixels based off the distance (Pythagorean Theorem) between the points and the mouse.  I've added gravity and dampening to it so that the pixels bounce around the mouse movement. In this version of Pixel Swarm I reversed the velocity of the pixels so that instead of adding it's current [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.tomorrowevening.com/content/processing/pixelSwarm/"><img class="alignnone" title="PixelSwarm1" src="http://blog.tomorrowevening.com/content/processing/pixelSwarm/pixelSwarm.gif" alt="" width="500" height="500" /></a><br />
<span id="more-42"></span><br />
This version of pixel swarm attracts pixels based off the distance (Pythagorean Theorem) between the points and the mouse.  I've added gravity and dampening to it so that the pixels bounce around the mouse movement.</p>
<p><a href="http://blog.tomorrowevening.com/content/processing/pixelSwarm2/"><img class="alignnone size-thumbnail wp-image-53" title="pixelSwarm2_2" src="http://blog.tomorrowevening.com/wp-content/uploads/2009/06/2.jpg" alt="pixelSwarm2_2" width="307" height="307" /></a><a href="http://blog.tomorrowevening.com/content/processing/pixelSwarm2/"><img class="alignnone size-thumbnail wp-image-54" title="pixelSwarm2_3" src="http://blog.tomorrowevening.com/wp-content/uploads/2009/06/3.jpg" alt="pixelSwarm2_3" width="307" height="307" /></a><br />
In this version of Pixel Swarm I reversed the velocity of the pixels so that instead of adding it's current position to where the mouse was, I subtracted it, giving it this magnifying feeling.  I also removed the gravity field so that it's more bouncey and animated.  Both versions of the Pixel Swarm in processing display 2,500 movable pixels.  The first displaying in a grid and the second using the <a href="http://blog.tomorrowevening.com/fla/logarithmic-spiral/">Logarithmic Sprial</a>.  I also changed how the pixels were written.  The first was displayed through drawing a rectangle:</p>
<p>noStroke ();<br />
fill (#FFFFFF);<br />
rect (sx, sy, 1, 1);</p>
<p>The second written:</p>
<p>point (sx, sy);</p>
<p>Processing handles drawing points a lot faster than drawing rectangles.  The downside to this is that you can't (as far as I know) change the color of the points in processing.<br />
Last, but not least, I added a rectangle under each iteration of the draw function.  This gave me control so that the previous point coordinates would echo and visually fade the other pixels out.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tomorrowevening.com/pro/processing-pixel-swarm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
