<?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>Ben McChesney&#039;s Blog &#187; Design</title>
	<atom:link href="http://www.benmcchesney.com/blog/category/design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.benmcchesney.com/blog</link>
	<description>Making stuff and sharing it.</description>
	<lastBuildDate>Mon, 19 Dec 2011 04:37:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Helios Multitouch Table Top Now Available</title>
		<link>http://www.benmcchesney.com/blog/2011/12/helios-multitouch-table-top-now-available/</link>
		<comments>http://www.benmcchesney.com/blog/2011/12/helios-multitouch-table-top-now-available/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 04:04:05 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Interactive]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[creative code]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[gesture]]></category>
		<category><![CDATA[multitouch]]></category>
		<category><![CDATA[open]]></category>
		<category><![CDATA[open frameworks]]></category>
		<category><![CDATA[openGL]]></category>

		<guid isPermaLink="false">http://www.benmcchesney.com/blog/?p=499</guid>
		<description><![CDATA[I&#8217;m very pleased to announce that today Helios Interactive is releasing it&#8217;s first Open Source project ! Since I started at Helios Interactive one of my main initiatives from the beginning was to open source as many projects as possible to give back to the community. The Table Top project open sourced was originally an informational touch ...]]></description>
			<content:encoded><![CDATA[<p><span style="color: #000000;">I&#8217;m very pleased to announce that today Helios Interactive is releasing it&#8217;s first Open Source project ! Since I started at Helios Interactive one of my main initiatives from the beginning was to open source as many projects as possible to give back to the community. The Table Top project open sourced was originally an informational touch table . It is more conservative  than a lot of openFrameworks apps but I learned a lot making it and I hope that it will prove useful to anyone learning Multitouch that wants to use openFrameworks. <a href="https://github.com/benMcChesney/Helios_TableTop">You can get the full source on github</a></span></p>

<!-- powered by Iframe plugin ver. 1.7 (wordpress.org/extend/plugins/iframe/) -->
<iframe class="iframe-class" width="100%" height="480" src="http://player.vimeo.com/video/33886433" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" allowtransparency="true"></iframe>
<p>&nbsp;</p>
<p>Currently there are only Xcode project files but I will add windows code::blocks files soon.</p>
<p>This video makes use of a small library ofxPixelHitTest that works by drawing a separate input map to an frame buffer object and comparing pixel values  to unique hexadecimal values stored inside each interactive object.</p>
<p>&nbsp;</p>
<p>Some areas covered in this code that might be useful to others includes :</p>
<ul>
<li>Scale / Rotate / Drag multitouch objects</li>
<li>Basic CMS system using XML</li>
<li>Custom Events and custom event arguments to handle interaction</li>
<li>Cross Fade class to easy handle cross fading ofImages</li>
<li>Heavy use of ofxTweenzor and sequencing animations for UI</li>
</ul>
<p>&nbsp;</p>
<pre><span style="color: #000000;">Thanks so much for the awesome OF community for providing the following addons that make this possible :</span></pre>
<pre><strong><span style="color: #000000;">OF libs: </span></strong></pre>
<pre><span style="color: #000000;"> ofxNetwork</span></pre>
<pre><span style="color: #000000;"> ofxOsc</span></pre>
<pre><span style="color: #000000;"> ofxXmlSettings</span></pre>
<p>&nbsp;</p>
<pre></pre>
<pre><strong><span>Memo's libs ( <a href="https://github.com/memo"><span style="color: #000000;">https://github.com/memo</span></a> ) </span></strong></pre>
<pre><span style="color: #000000;"> ofxMSAInteractiveObject </span></pre>
<pre><span style="color: #000000;"> ofxMultiTouch</span></pre>
<pre><span style="color: #000000;"> ofxMultiTouchObject</span></pre>
<pre><span style="color: #000000;"> ofxSimpleGuiToo </span></pre>
<p>&nbsp;</p>
<pre></pre>
<pre><strong><span style="color: #000000;">Arturo's libs ( <a href="https://github.com/arturoc/"><span style="color: #000000;">https://github.com/arturoc/</span></a> ) </span></strong></pre>
<pre><span style="color: #000000;"> ofxTuioWrapper </span></pre>
<p>&nbsp;</p>
<pre></pre>
<pre><strong><span style="color: #000000;">Nick's Libs ( <a href="https://github.com/NickHardeman/"><span style="color: #000000;">https://github.com/NickHardeman/</span></a>) </span></strong></pre>
<pre><span style="color: #000000;"> ofxTweenzor </span></pre>
<p>&nbsp;</p>
<pre></pre>
<pre><strong><span style="color: #000000;">Ben McChesney's Libs: ( <a href="https://github.com/benMcChesney/"><span style="color: #000000;">https://github.com/benMcChesney/</span></a> ) </span></strong></pre>
<pre><span style="color: #000000;"> ofxPixelHitTest </span></pre>
<p>&nbsp;</p>
<pre></pre>
<pre><strong><span style="color: #000000;">SmallFly's Libs :</span></strong></pre>
<pre><span style="color: #000000;"> ofxMultiTouchActions ( <a href="http://code.google.com/p/smallfly/downloads/list"><span style="color: #000000;">http://code.google.com/p/smallfly/downloads/list</span></a></span></pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.benmcchesney.com/blog/2011/12/helios-multitouch-table-top-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FFT Visuals in Open Frameworks</title>
		<link>http://www.benmcchesney.com/blog/2011/09/fft-visuals-in-open-frameworks/</link>
		<comments>http://www.benmcchesney.com/blog/2011/09/fft-visuals-in-open-frameworks/#comments</comments>
		<pubDate>Sun, 18 Sep 2011 23:42:29 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Interactive]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[creative]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[open]]></category>
		<category><![CDATA[Sound]]></category>

		<guid isPermaLink="false">http://www.benmcchesney.com/blog/?p=470</guid>
		<description><![CDATA[I had been wanting to do some sound driven animations and visualizers for a while but had always managed to put it off for one thing or another. I had looked at some options and ended up using ofxFFT addon by Kyle McDonald. After quickly looking through his example  was able to create some of ...]]></description>
			<content:encoded><![CDATA[<p>I had been wanting to do some sound driven animations and visualizers for a while but had always managed to put it off for one thing or another. I had looked at some options and ended up using ofxFFT addon by Kyle McDonald. After quickly looking through his example  was able to create some of my own visuals and customize the visualizer settings at runtime. Below is the result of my first stable iteration :</p>
<p><a href="http://www.benmcchesney.com/blog/wp-content/uploads/2011/09/app_screenshot.png"><img class="aligncenter" title="app_screenshot" src="http://www.benmcchesney.com/blog/wp-content/uploads/2011/09/app_screenshot.png" alt="" width="720" height="475" /></a></p>
<p>The video allows you to see the animation http://vimeo.com/29234695</p>
<p><span id="more-470"></span></p>
<p>But how does it work? There are several options you can take for sound analysis. The simplest example would be the audio input example provided with openFrameworks 007 which provides you with stereo channels of audio and the scaled average.</p>
<p style="text-align: center;"><a href="http://www.benmcchesney.com/blog/wp-content/uploads/2011/09/soundInput.png"><img class="aligncenter size-full wp-image-472" title="soundInput" src="http://www.benmcchesney.com/blog/wp-content/uploads/2011/09/soundInput.png" alt="" width="661" height="291" /></a></p>
<p style="text-align: left;">But this wasn&#8217;t enough information. Sure both input channels and the average values are good starting point, but I wanted to be able to have bass control one animation, and have the higher registers control another graphic. I kept looking and came across <a title="OF ofxFFT Post" href=" http://forum.openframeworks.cc/index.php/topic,2184.msg16909.html#msg16909">this post</a> on the openFrameworks forums, which detailed the ofxFFT addon created By Kyle McDonald ( http://kylemcdonald.net/ ) available here : http://code.google.com/p/kyle/downloads/list</p>
<p style="text-align: left;">This was a solution I could use! I looked at Kyle&#8217;s example and started to play. The addon uses FFT method or the Fast Fourier Transform. This process ( which is more detailed here : http://www.dspguru.com/dsp/faqs/fft ) allows a large set of data, like waveform sound data, into a smaller set of data which we can work with. One of the first issues I ran into was that lots of music I tested did not have a high range. I needed a way to limit my visuals to only work within certain ranges. Below you can see that the ranges of each circle animation are clearly marked making it easy to setup on site, tweak settings to music,  and save them for the show.</p>
<p style="text-align: left;"><a href="http://www.benmcchesney.com/blog/wp-content/uploads/2011/09/range_detail.png"><img class="aligncenter size-full wp-image-474" title="fft_range_detail" src="http://www.benmcchesney.com/blog/wp-content/uploads/2011/09/range_detail.png" alt="FFT Range Detail" width="317" height="81" /></a></p>
<p style="text-align: left;">Through testing I found that classical music like Gustav Holst : http://grooveshark.com/s/Mars+The+Bringer+Of+War/1t79vR?src=5 or Dubstep such as Dodge +&amp; Fuski : http://grooveshark.com/s/Guettastep/3Hi4WY?src=5 worked really well for testing out sound and ranges. Rock and pop seemed to be very limited to the bottom register. This is just a first iteration but I&#8217;ll continue to work on it and improve the tool. I included project files and tested it for CodeBlocks on Windows and xCode on OSX Snow Leopard.  All the source code is available on my github at : https://github.com/benMcChesney/ofFFtPlayground</p>
<p style="text-align: center;"><a href="http://www.benmcchesney.com/blog/wp-content/uploads/2011/09/app_screenshot.png"><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.benmcchesney.com/blog/2011/09/fft-visuals-in-open-frameworks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordDNA: Twitter + Flickr + Away3D</title>
		<link>http://www.benmcchesney.com/blog/2010/03/worddna-twitter-flicker-away3d/</link>
		<comments>http://www.benmcchesney.com/blog/2010/03/worddna-twitter-flicker-away3d/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 15:46:52 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Interactive]]></category>
		<category><![CDATA[Motion]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[away]]></category>
		<category><![CDATA[Away3D]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[camera movement]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[mashup]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.benmcchesney.com/blog/?p=242</guid>
		<description><![CDATA[Source Code is available here Recently I had been wanting to do some more interactive 3D type of projects. I wanted to create something beyond just a pre-rendered sequence that simulated camera movement. I have previously been using papervision3D but wanted to expand my knowledge and check out the competition. Papervision X has been long ...]]></description>
			<content:encoded><![CDATA[<p>Source Code is <a href="http://benmcchesney.com/blog/wordDNA.zip"> available here </a></p>
<p>Recently I had been wanting to do some more interactive 3D type of projects. I wanted to create something beyond just a pre-rendered sequence that simulated camera movement. I have previously been using <a href="http://www.papervision3d.org"> papervision3D</a> but wanted to expand my knowledge and check out the competition. Papervision X has been long expected but with Ralph Hauwert <a href="http://www.unitZeroOne.com"> Unit Zero One</a> leaving the team I thought it was time to move on. Away3D was very highly recommended by my colleague <a href="http://www.kylebeikirch.com"> Kyle Beikirch</a> for it&#8217;s more frequent updates to SVN and ease of interactivity. Since I was exactly sure what would be interactive when I started: I gave it a shot.</p>
<p><a href="http://www.benmcchesney.com/blog/wp-content/uploads/2010/03/flitter_screenshot.png"><img class="alignnone size-full wp-image-250" title="flitter_screenshot" src="http://www.benmcchesney.com/blog/wp-content/uploads/2010/03/flitter_screenshot.png" alt="Build Animation of wordDNA" width="806" height="702" /></a></p>
<p><span id="more-242"></span></p>
<p>In what I did there wasn&#8217;t really a huge difference between the images but I did like how Away3D uses associative arrays much like <a href="http://www.greensock.com/">Greensock Tweening platform </a> instead of traditional constructors. If I didn&#8217;t want to pre-render as many assets as possible I would need an internet source to grab them from. I thought that combining the antics of twitter with somewhat related photos could yield some interesting results. At first I grabbed XML from the twitter time line, but I wanted to have more control over my results. I used the Tweetr Twitter API, and got a lot of code inspiration from Lindsey Burtner&#8217;s <a href="http://lindsayburtner.com/blog/?p=176" > Word Feeder</a>. Lindsey helped me last year when I first began mashing together the last.fm API, and proved an invaluable resource, so props to her.</p>
<p>Let&#8217;s dive into some of the key functions that make this work:</p>
<p>Once the Flickr and Twitter data has been collected we then insert it into a 2D MovieClip and prepare it for 3D.</p>
<div id="attachment_248" class="wp-caption alignnone" style="width: 895px"><a href="http://www.benmcchesney.com/blog/wp-content/uploads/2010/03/prepareBitmap.png"><img class="size-full wp-image-248" title="prepareBitmap" src="http://www.benmcchesney.com/blog/wp-content/uploads/2010/03/prepareBitmap.png" alt="Dynamic Draw of Movie Clip to Bitmap Material" width="885" height="458" /></a><p class="wp-caption-text">Dynamic Draw of Movie Clip to Bitmap Material</p></div>
<p>We prepare it for 3D by simple flattening it with transparency.</p>
<div id="attachment_246" class="wp-caption alignnone" style="width: 858px"><a href="http://www.benmcchesney.com/blog/wp-content/uploads/2010/03/makeBitmapFrom.png"><img class="size-full wp-image-246" title="makeBitmapFrom" src="http://www.benmcchesney.com/blog/wp-content/uploads/2010/03/makeBitmapFrom.png" alt="Document Class creates Bitmap Material" width="848" height="185" /></a><p class="wp-caption-text">Document Class creates Bitmap Material</p></div>
<p>I wanted to organize the planes in  a Helix and found <ahref="http://theflashblog.com/?p=306" >this post </a> from Lee Brimelow&#8217;s blog and modified it for my needs. The by rotating the scene 360 degrees we get this cool spin effect for the zoom out.</p>
<div id="attachment_247" class="wp-caption alignnone" style="width: 810px"><a href="http://www.benmcchesney.com/blog/wp-content/uploads/2010/03/makeHelix.png"><img class="size-full wp-image-247" title="makeHelix" src="http://www.benmcchesney.com/blog/wp-content/uploads/2010/03/makeHelix.png" alt="Make a Helix" width="800" height="604" /></a><p class="wp-caption-text">Make a Double Helix our of Shapes</p></div>
<p>Now we need a way to navigate between planes, at first it was very linear but that got boring quickly. So I added in a new random index each movement to make it feel more exploratory. Adding a mouse event to planes would have been the next logical step to give users some control.</p>
<div id="attachment_249" class="wp-caption alignnone" style="width: 752px"><a href="http://www.benmcchesney.com/blog/wp-content/uploads/2010/03/randomIndex.png"><img class="size-full wp-image-249" title="randomIndex" src="http://www.benmcchesney.com/blog/wp-content/uploads/2010/03/randomIndex.png" alt="Generating a Random Index from an Array" width="742" height="339" /></a><p class="wp-caption-text">Generating a Random Index from an Array</p></div>
<p>Now the fun part: the camera. First we get the distance to to the next target and tweak it so that that camera movement is smooth for all distances.</p>
<p>The Camera has two tweens:</p>
<p>1) To move away from the plane randomly around it in 3D space</p>
<p>2) To move towards the new target</p>
<p>We change the focus of the camera by tweening an empty displayObject3D this would be our &#8220;null object&#8221; in 3d or After Effects.</p>
<p>The bezier gives the tween a nice smooth and organic feel, something that is lacking with a lot of fully 3d sites.</p>
<p>The newY just calculates which direction the camera should swoop in depending if the target is above or below it.</p>
<div id="attachment_244" class="wp-caption alignnone" style="width: 770px"><a href="http://www.benmcchesney.com/blog/wp-content/uploads/2010/03/camera_1.png"><img class="size-full wp-image-244" title="camera_1" src="http://www.benmcchesney.com/blog/wp-content/uploads/2010/03/camera_1.png" alt="Camera AS3 Text" width="760" height="405" /></a><p class="wp-caption-text">Moving the Camera</p></div>
<p>We save the initial values of our current target so that we can return it to it&#8217;s rightful place the user is done looking at it. In our tweenCameraDone() function we save the coordinates of the camera in case we need to reset it.</p>
<div id="attachment_245" class="wp-caption alignnone" style="width: 890px"><a href="http://www.benmcchesney.com/blog/wp-content/uploads/2010/03/camera_2.png"><img class="size-full wp-image-245" title="camera_2" src="http://www.benmcchesney.com/blog/wp-content/uploads/2010/03/camera_2.png" alt="Moving the Camera pt 2" width="880" height="322" /></a><p class="wp-caption-text">Moving the Camera pt 2</p></div>
<p>That&#8217;s it! I had fun making it and mixing interactivity and 3d Camera. Play with it and let me know what you come up with!</p>
<p>Source Code is <a href="http://benmcchesney.com/blog/wordDNA.zip"> available here </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.benmcchesney.com/blog/2010/03/worddna-twitter-flicker-away3d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some Color Matrix Fun in Actionscript 3</title>
		<link>http://www.benmcchesney.com/blog/2010/02/some-color-matrix-fun-in-actionscript-3/</link>
		<comments>http://www.benmcchesney.com/blog/2010/02/some-color-matrix-fun-in-actionscript-3/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 19:51:42 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Interactive]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[bitmap]]></category>
		<category><![CDATA[blur]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[colorMatrix]]></category>
		<category><![CDATA[cool]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[draw]]></category>
		<category><![CDATA[effects]]></category>
		<category><![CDATA[Filter]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[matrix]]></category>

		<guid isPermaLink="false">http://www.benmcchesney.com/blog/?p=201</guid>
		<description><![CDATA[I was reading Lee Brimelow&#8217;s Blog  ( http://gotoandlearn.com/play?id=63 ) and was having some fun playing with effects. While I was trying out a few different solutions to see what the effect would be. The problem was having to continuously recompile my flash movie to see the changed effect. A few numeric steppers later I was ...]]></description>
			<content:encoded><![CDATA[<p>I was reading Lee Brimelow&#8217;s Blog  ( http://gotoandlearn.com/play?id=63 ) and was having some fun playing with effects. While I was trying out a few different solutions to see what the effect would be. The problem was having to continuously recompile my flash movie to see the changed effect. A few numeric steppers later I was able to make a this little applications that spits out the colorMatrix Filter code.</p>
<p>Infinite Puddle:<a href="http://www.benmcchesney.com/blog/wp-content/uploads/2010/02/Picture-5.png"><img class="alignnone size-full wp-image-204" title="Infinite Puddle" src="http://www.benmcchesney.com/blog/wp-content/uploads/2010/02/Picture-5.png" alt="" width="820" height="638" /></a><br />
<span id="more-201"></span><br />
Have fun and share your results!<br />

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_colorMatrixDisplay_825882836"
			class="flashmovie"
			width="600"
			height="600">
	<param name="movie" value="http://benmcchesney.com/blog/colorMatrixDisplay.swf" />
	<param name="play" value="false" />
	<param name="scale" value="noscale" />
	<param name="allowfullscreen" value="false" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://benmcchesney.com/blog/colorMatrixDisplay.swf"
			name="fm_colorMatrixDisplay_825882836"
			width="600"
			height="600">
		<param name="play" value="false" />
		<param name="scale" value="noscale" />
		<param name="allowfullscreen" value="false" />
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>But first: How Does the Color Matrix Filter work? The API Doc can be read <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/filters/ColorMatrixFilter.html">here.</a> But is creates a matrix that alters each pixel&#8217;s color channel.</p>
<div class="wp-caption alignnone" style="width: 190px"><a href="http://www.adobe.com/devnet/flash/articles/matrix_transformations_04.html"><img title="Adobe Color Matrix Chart" src="http://www.adobe.com/devnet/flash/articles/matrix_transformations/fig04.gif" alt="Adobe Developer Net ColorMatrix Filter Chart" width="180" height="180" /></a><p class="wp-caption-text">This is called an &quot;identity matrix&quot; and it will result in no color change.</p></div>
<p>Each channel is multiplied by the Red, Green, Blue, and Alpha channels and then offset by the last argument in each row.</p>
<p>Now the code I used was directly based off of Lee Brimelow&#8217;s code:</p>
<div id="attachment_208" class="wp-caption alignnone" style="width: 661px"><a href="http://www.benmcchesney.com/blog/wp-content/uploads/2010/02/Picture-26.png"><img class="size-full wp-image-208" title="Variables" src="http://www.benmcchesney.com/blog/wp-content/uploads/2010/02/Picture-26.png" alt="Varibles used For Color Matrix Filter and Blur Filter" width="651" height="217" /></a><p class="wp-caption-text">Basic variables needed to create effect.</p></div>
<p>It only takes three variables to achieve this effect:</p>
<ul>
<li>A Sprite Holder of what to affect</li>
<li>Blur Filter to create spill-off effect</li>
<li>Color Matrix Filter to apply for Color</li>
</ul>
<p>And then inside an Event.ENTER_FRAME you add this code:</p>
<div id="attachment_209" class="wp-caption alignnone" style="width: 632px"><a href="http://www.benmcchesney.com/blog/wp-content/uploads/2010/02/Picture-25.png"><img class="size-full wp-image-209" title="Enter Frame Code" src="http://www.benmcchesney.com/blog/wp-content/uploads/2010/02/Picture-25.png" alt="Draw the sprite, apply blur and color filter" width="622" height="126" /></a><p class="wp-caption-text">Draw the sprite, apply blur and color filter</p></div>
<p>and voila cool trails! Don&#8217;t believe me? Here are some examples I was playing around with:</p>
<p>Lava Lamp Looping Fluid effect :</p>
<div id="attachment_206" class="wp-caption alignnone" style="width: 830px"><a href="http://www.benmcchesney.com/blog/wp-content/uploads/2010/02/Picture-6.png"><img class="size-full wp-image-206" title="Lava Lamp Ripples" src="http://www.benmcchesney.com/blog/wp-content/uploads/2010/02/Picture-6.png" alt="" width="820" height="640" /></a><p class="wp-caption-text">Effect creating Lava Lame Ripples</p></div>
<p>Day Glow Trails</p>
<p><a href="http://www.benmcchesney.com/blog/wp-content/uploads/2010/02/Picture-23.png"><img class="alignnone size-full wp-image-203" title="Day Glow Trails" src="http://www.benmcchesney.com/blog/wp-content/uploads/2010/02/Picture-23.png" alt="" width="800" height="600" /></a></p>
<p>Exploding Trails<a href="http://www.benmcchesney.com/blog/wp-content/uploads/2010/02/Picture-24.png"><img class="alignnone size-full wp-image-202" title="Exploding Fizzles" src="http://www.benmcchesney.com/blog/wp-content/uploads/2010/02/Picture-24.png" alt="" width="800" height="600" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.benmcchesney.com/blog/2010/02/some-color-matrix-fun-in-actionscript-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oh yeah TEXT? My name is Leo Wong and I say BOOM! Papervision3D Text Explode Sample</title>
		<link>http://www.benmcchesney.com/blog/2009/12/oh-yeah-text-i-say-boom-papervision3d-text-explode-sample/</link>
		<comments>http://www.benmcchesney.com/blog/2009/12/oh-yeah-text-i-say-boom-papervision3d-text-explode-sample/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 23:30:26 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Interactive]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[3]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[learn]]></category>
		<category><![CDATA[papervision3D]]></category>
		<category><![CDATA[papervistion]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[type]]></category>
		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://www.benmcchesney.com/blog/?p=180</guid>
		<description><![CDATA[Experiment in papervision3D to get the text inside a dynamic textField to explode in X,Y,Z space and then reform. Code Available]]></description>
			<content:encoded><![CDATA[<p>I was in the lab yesterday and saw my friend animating text and 3D and it did not seem very appetizing. I really regret having to do tedious time-consuming things by hand. If there is ever a procedural way to generate or simulate something I&#8217;m willing to try. So I put together this little example.</p>
<p>*UPDATE*</p>
<p>I was able to get the zDepth working by applying simple blur filters to the bitmaps of the BitmapMaterials inside papervision3D. I also added in an input text field so that users could change the text without having to recompile. I have some bigger ideas for this down the road, like sequencing camera tweens between each letter. And exploding a whole paragraph word for word. I had some trouble with making the letter interactive, but it&#8217;s always been a bit of a pain to get events working with papervision3D. But for now: I&#8217;m happy where it is. The code is extremely well documented and if you have any questions just shoot me a line at : ben.mcchesney@gmail.com</p>
<p>The update source code is located <a href="http://www.benmcchesney.com/blog/textExplode_changeText.zip"> here</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img title="movieclip_zsort" src="http://www.benmcchesney.com/blog/wp-content/uploads/2009/12/movieclip_zsort.png" alt="z-sort issue" width="566" height="442" /></p>
<p><span id="more-180"></span></p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_TextExplode_change_1883061412"
			class="flashmovie"
			width="550"
			height="400">
	<param name="movie" value="TextExplode_change.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="TextExplode_change.swf"
			name="fm_TextExplode_change_1883061412"
			width="550"
			height="400">
	<!--<![endif]-->
		

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>Click on my name to get the explode effect, and click again to revert to the whole word.</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_textJumble_1083478115"
			class="flashmovie"
			width="550"
			height="400">
	<param name="movie" value="textJumble.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="textJumble.swf"
			name="fm_textJumble_1083478115"
			width="550"
			height="400">
	<!--<![endif]-->
		

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>First I created a sample using just 2d MovieClips in Flash. Using the text of a dynamic textField on the stage it breaks down and seperates each text into it&#8217;s own textField with it&#8217;s own movieClip container. By the character&#8217;s inside a movieClip I was able to apply TweenLite&#8217;s blurFilter and fake depth of field, by checking the zDepth of the letter</p>
<p>But this solution wasn&#8217;t as appetizing. It lacked the interactivity that I was trying to emulate. I wanted to be able to explode the text and explore the wreckage. The Flash player 10 also has an issue with z-sorting. Since all of the 3d is just a raster illusion the zDepth is fake. If a child that has display index than another child with a lower z-depth the illusion is broken. So I could either write my own methods to parse through each array item and update the displayList constantly or I could go in a different direction.</p>
<p>.I was going to create a version of textExplode using an actionscript 3D api : Papervision3D (<a href="http://papervision3D.org">Papervision3D Site</a>) . In papervision you have to create a small plane for each letter and draw a bitmap of it. You then take this bitmap and apply it to the geometry of the plane.</p>
<div id="attachment_186" class="wp-caption alignnone" style="width: 798px"><img class="size-full wp-image-186 " title="BitmapCodeSample" src="http://www.benmcchesney.com/blog/wp-content/uploads/2009/12/picture-2.png" alt="By creating a bitmapData object to draw the movieClip we can cast it as a BitmapMaterial and apply it to a plane." width="788" height="356" /><p class="wp-caption-text">By creating a bitmapData object to draw the movieClip we can cast it as a BitmapMaterial and apply it to a plane.</p></div>
<p>I had been used to the old version of papervision3D which meant constructing a scene with viewports, cameras , renderers, and scenes. But in papervision 2.0 by simple extending the BasicView Class, all of these assets are extendable for your connivence. The result was a quickly developed, dynamic 3d text explode code set.</p>
<p>Another different technique I used was the use of Vectors. Vectors are a new data type in Flash Player 10 and are essentially arrays with of one and only one data type. This allows for strict data typing in for all array function increasing performance. It&#8217;s less noticeable in this example, but in a physics simulation where it&#8217;s stepping through each particle&#8217;s force application every frame. The increased limit of particles or general smoothness would be more obvious.<br />
More information can be found on Mike Chambers Blog : <a href="http://www.mikechambers.com/blog/2008/08/19/using-vectors-in-actionscript-3-and-flash-player-10/"> here </a></p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_TextExplode_61175938"
			class="flashmovie"
			width="550"
			height="400">
	<param name="movie" value="TextExplode.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="TextExplode.swf"
			name="fm_TextExplode_61175938"
			width="550"
			height="400">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>The next steps are to apply depth of field by checking z-depth and being able to change the textField while the swf is running. I would also like to increase the interactivity by being able to focus and zoom to certain letter and really get the exploration feel. Another change that&#8217;s on the to-do list is a second stage breakup of the letters bitmaps into tiny triangles or squares for more fodder to explode.</p>
<p>I&#8217;ll keep posting as I get farther along and make it more and more extensible.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.benmcchesney.com/blog/2009/12/oh-yeah-text-i-say-boom-papervision3d-text-explode-sample/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Abstract Mograph</title>
		<link>http://www.benmcchesney.com/blog/2009/04/abstract-mograph/</link>
		<comments>http://www.benmcchesney.com/blog/2009/04/abstract-mograph/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 19:02:32 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[abstract]]></category>
		<category><![CDATA[cinema4d]]></category>
		<category><![CDATA[cloner]]></category>
		<category><![CDATA[loftNURBS]]></category>
		<category><![CDATA[mograph]]></category>
		<category><![CDATA[Motion]]></category>
		<category><![CDATA[nurbs]]></category>

		<guid isPermaLink="false">http://www.benmcchesney.com/blog/?p=70</guid>
		<description><![CDATA[Recently I was creating abstract shapes using Mograph in Cinema 4D, I was able to create some really interesting shapes using loft NURBS with assorted splines and Cloner objects. I toyed around with subsurface scattering and layer effects with color and transparency . This first one is part of animation that is giving me a ...]]></description>
			<content:encoded><![CDATA[<p>Recently I was creating abstract shapes using Mograph in Cinema 4D, I was able to create some really interesting shapes using loft NURBS with assorted splines and Cloner objects. I toyed around with subsurface scattering and layer effects with color and transparency .</p>
<p>This first one is part of animation that is giving me a little trouble rendering but I think once I iron a few things out and add sound it&#8217;ll be a solid abstract piece.</p>
<div id="attachment_82" class="wp-caption alignnone" style="width: 514px"><img class="size-full wp-image-82" title="abstractframe" src="http://www.benmcchesney.com/blog/wp-content/uploads/2009/04/abstractframe.png" alt="Plant Inspired abstraction" width="504" height="336" /><p class="wp-caption-text">Plant Inspired abstraction</p></div>
<p><span id="more-70"></span></p>
<p><img class="alignnone size-full wp-image-76" title="abstract2" src="http://www.benmcchesney.com/blog/wp-content/uploads/2009/04/abstract2.png" alt="abstract2" width="432" height="288" /></p>
<p><img class="alignnone size-full wp-image-75" title="abstract" src="http://www.benmcchesney.com/blog/wp-content/uploads/2009/04/abstract.png" alt="abstract" width="461" height="307" /></p>
<p><img class="alignnone size-full wp-image-78" title="abstraction3" src="http://www.benmcchesney.com/blog/wp-content/uploads/2009/04/abstraction3.png" alt="abstraction3" width="504" height="336" /></p>
<p><img class="alignnone size-full wp-image-77" title="abstraction" src="http://www.benmcchesney.com/blog/wp-content/uploads/2009/04/abstraction.png" alt="abstraction" width="504" height="336" /></p>
<p><img class="alignnone size-full wp-image-74" title="abstracion5" src="http://www.benmcchesney.com/blog/wp-content/uploads/2009/04/abstracion5.png" alt="abstracion5" width="504" height="336" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.benmcchesney.com/blog/2009/04/abstract-mograph/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Atgaderum Art</title>
		<link>http://www.benmcchesney.com/blog/2009/03/atgaderum-art/</link>
		<comments>http://www.benmcchesney.com/blog/2009/03/atgaderum-art/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 21:40:13 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[assets]]></category>
		<category><![CDATA[atgaderum]]></category>
		<category><![CDATA[catapult]]></category>
		<category><![CDATA[cinema4d]]></category>
		<category><![CDATA[contraptions]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[sketch]]></category>
		<category><![CDATA[toon]]></category>

		<guid isPermaLink="false">http://www.benmcchesney.com/blog/?p=54</guid>
		<description><![CDATA[Last quarter I had the opportinuty to work on a side project providing media assets to a team of developers creating a physics based puzzle game. Our art team consisted of less than 5 members and we only had six weeks to develop a style and create polished assets. My job was to design the ...]]></description>
			<content:encoded><![CDATA[<p>Last quarter I had the opportinuty to work on a side project providing media assets to a team of developers creating a physics based puzzle game. Our art team consisted of less than 5 members and we only had six weeks to develop a style and create polished assets. My job was to design the user built contraptions that were essentially tools to complete puzzles (ladders, ropes, explosives, etc). The style we setteled on was a mix between fantasy/toon, we modeled all assets in cinema4D, and stylized them with sketch and toon and photoshop.</p>
<p><span id="more-54"></span></p>
<p>The game was developed using XNA, so sadly it isn&#8217;t web deployable but here ARE some of the final assets:</p>
<div id="attachment_59" class="wp-caption alignnone" style="width: 570px"><img class="size-full wp-image-59" title="crate" src="http://www.benmcchesney.com/blog/wp-content/uploads/2009/04/cratetoon.png" alt="The ever stackable crate, in the game almost any puzzle could be solved with enough crates" width="560" height="420" /><p class="wp-caption-text">The ever stackable crate, in the game almost any puzzle could be solved with enough crates</p></div>
<p>~</p>
<div id="attachment_56" class="wp-caption alignnone" style="width: 466px"><img class="size-full wp-image-56" title="explosives" src="http://www.benmcchesney.com/blog/wp-content/uploads/2009/04/explosives.png" alt="These were used in game to bloy away anything big enough blocking the players path." width="456" height="408" /><p class="wp-caption-text">These were used in game to bloy away anything big enough blocking the players path.</p></div>
<p>~</p>
<div id="attachment_57" class="wp-caption alignnone" style="width: 530px"><img class="size-full wp-image-57" title="catapult" src="http://www.benmcchesney.com/blog/wp-content/uploads/2009/04/catapult.png" alt="This was something that I had always wanted to model and happily volunteered for this tool. This was used to launch explosives, crates, or even the character over chasms or tall obstacles" width="520" height="271" /><p class="wp-caption-text">This was something that I had always wanted to model and happily volunteered for this tool. This was used to launch explosives, crates, or even the character over chasms or tall obstacles</p></div>
<p>~</p>
<div id="attachment_55" class="wp-caption alignnone" style="width: 498px"><img class="size-full wp-image-55" title="logfulcrum" src="http://www.benmcchesney.com/blog/wp-content/uploads/2009/04/logfulcrum.png" alt="Log Fulcrum" width="488" height="366" /><p class="wp-caption-text">Log Fulcrum  - used to launch player onto ledges with a counter weight</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.benmcchesney.com/blog/2009/03/atgaderum-art/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>last.fm</title>
		<link>http://www.benmcchesney.com/blog/2009/03/lastfm/</link>
		<comments>http://www.benmcchesney.com/blog/2009/03/lastfm/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 18:24:42 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Interactive]]></category>
		<category><![CDATA[band]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[fm]]></category>
		<category><![CDATA[last]]></category>
		<category><![CDATA[last.fm]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[visualize]]></category>
		<category><![CDATA[visualizer]]></category>

		<guid isPermaLink="false">http://www.benmcchesney.com/blog/?p=44</guid>
		<description><![CDATA[For the piece I really wanted to utilize dynamic information to power a flash application. After researching I came across several API&#8217;s for actiosncript 3.o and after polling a number of people found that last.fm&#8217;s API would appeal to the largest target audience. I started off by doing some sketches on how I wanted the ...]]></description>
			<content:encoded><![CDATA[<p>For the piece I really wanted to utilize dynamic information to power a flash application. After researching I came across several API&#8217;s for actiosncript 3.o and after polling a number of people found that last.fm&#8217;s API would appeal to the largest target audience.</p>
<p><span id="more-44"></span></p>
<p>I started off by doing some sketches on how I wanted the nodes to connect, I toyed with the idea of using papervision, but felt that in 3 weeks I really wouldn&#8217;t have enough time to do it right.</p>
<div id="attachment_47" class="wp-caption alignnone" style="width: 547px"><img class="size-full wp-image-47" title="didsketch11" src="http://www.benmcchesney.com/blog/wp-content/uploads/2009/03/didsketch11.jpg" alt="last.fm sketches" width="537" height="410" /><p class="wp-caption-text">last.fm sketches</p></div>
<p>I then create some wireframes and after looking at how the nodes were connecting it looked more and more like a constellation map which I used in my comps:</p>
<div id="attachment_49" class="wp-caption alignnone" style="width: 624px"><img class="size-full wp-image-49" title="comp4" src="http://www.benmcchesney.com/blog/wp-content/uploads/2009/04/comp4.jpg" alt="first comp" width="614" height="461" /><p class="wp-caption-text">first comp</p></div>
<p>But in my first comp the type and connection weren&#8217;t working, and the swooshes in the background were too bold.</p>
<div id="attachment_48" class="wp-caption alignnone" style="width: 624px"><img class="size-full wp-image-48" title="comp2" src="http://www.benmcchesney.com/blog/wp-content/uploads/2009/04/comp2.jpg" alt="Comp Round 2" width="614" height="461" /><p class="wp-caption-text">Comp Round 2</p></div>
<p>I still had more changes to make, but this is a step in the right direction.</p>
<p><a href="http://benmcchesney.com/McChesney_Projet2_screencapture.mov">Screen Capture Video Link</a></p>
<p>The final developed version is available on my portfolio.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.benmcchesney.com/blog/2009/03/lastfm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://benmcchesney.com/McChesney_Projet2_screencapture.mov" length="19985568" type="video/quicktime" />
		</item>
		<item>
		<title>Squid!</title>
		<link>http://www.benmcchesney.com/blog/2009/02/squid/</link>
		<comments>http://www.benmcchesney.com/blog/2009/02/squid/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 22:47:21 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Motion]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[squid]]></category>
		<category><![CDATA[underwater]]></category>

		<guid isPermaLink="false">http://www.benmcchesney.com/blog/?p=3</guid>
		<description><![CDATA[So my squid started out as &#8220;Design Tag&#8221;, something us RIT kids do when we have free time. I had always wanted to do something underwater with squids so in about 2 hours I quickly came up with this: Building off of the whole underwater theme I had also really wanted to build a diver ...]]></description>
			<content:encoded><![CDATA[<p>So my squid started out as &#8220;Design Tag&#8221;, something us RIT kids do when we have free time. I had always wanted to do something underwater with squids so in about 2 hours I quickly came up with this:</p>
<div id="attachment_6" class="wp-caption alignnone" style="width: 500px"><img class="size-full wp-image-6" title="squid" src="http://www.benmcchesney.com/blog/wp-content/uploads/2009/03/squid.jpg" alt="design tag squid" width="490" height="367" /><p class="wp-caption-text">design tag squid</p></div>
<p><span id="more-3"></span></p>
<p>Building off of the whole underwater theme I had also really wanted to build a diver that could go deep sea mining and I eventually came up with this:</p>
<div id="attachment_8" class="wp-caption alignnone" style="width: 570px"><img class="size-full wp-image-8" title="diver1" src="http://www.benmcchesney.com/blog/wp-content/uploads/2009/03/diver1.jpg" alt="Dive Dive!" width="560" height="420" /><p class="wp-caption-text">Dive Dive!</p></div>
<p>It made sense to bring these two things I love together: underwater deep sea mining + squids, so I quickly got together some style frames for overall look and feel.</p>
<div id="attachment_13" class="wp-caption alignnone" style="width: 570px"><img class="size-full wp-image-13" title="styleframe22" src="http://www.benmcchesney.com/blog/wp-content/uploads/2009/03/styleframe22.jpg" alt="styleframe" width="560" height="420" /><p class="wp-caption-text">styleframe</p></div>
<div id="attachment_14" class="wp-caption alignnone" style="width: 570px"><img class="size-full wp-image-14" title="styleframe31" src="http://www.benmcchesney.com/blog/wp-content/uploads/2009/03/styleframe31.jpg" alt="styleFrame" width="560" height="420" /><p class="wp-caption-text">styleFrame</p></div>
<div id="attachment_15" class="wp-caption alignnone" style="width: 570px"><img class="size-full wp-image-15" title="styleframe41" src="http://www.benmcchesney.com/blog/wp-content/uploads/2009/03/styleframe41.jpg" alt="Tentacles!" width="560" height="420" /><p class="wp-caption-text">Tentacles!</p></div>
<p>The next major changes I made involved the global lighting, I ended up using a combination of fog/depth with visible/volumetric lights to simulate the caustics of the ocean. I ended up having to to do some more complex rigging for the tentacle using XPRESSO in cinema 4d. I also applied sub-surface scattering to the tentacles to give it a different look and feel that changed from low-light situations.</p>
<p>The final render is on my portfolio site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.benmcchesney.com/blog/2009/02/squid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

