<?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>Luke Sturgeon</title>
	<atom:link href="http://www.lukesturgeon.co.uk/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lukesturgeon.co.uk/blog</link>
	<description>Interactive Design and Research</description>
	<lastBuildDate>Thu, 19 Aug 2010 10:52:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Linkdump</title>
		<link>http://www.lukesturgeon.co.uk/blog/2010/08/linkdump/</link>
		<comments>http://www.lukesturgeon.co.uk/blog/2010/08/linkdump/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 21:25:42 +0000</pubDate>
		<dc:creator>Luke Sturgeon</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[openFrameworks]]></category>
		<category><![CDATA[physics]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Webcam]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/blog/?p=126</guid>
		<description><![CDATA[I often email myself links to articles and blogs that I want to read later. It's generally something that I only want to read once and then forget so it doesn't seem appropriate to bookmark the links using my delicious account. But an inbox full of emails isn't helping either, so I've decided to create a blog post where I can store all the links to pages that I still want to re-visit. <a href="http://www.lukesturgeon.co.uk/blog/2010/08/linkdump/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I often email myself links to articles and blogs that I want to read later. It’s generally something that I only want to read once and then forget so it doesn’t seem appropriate to bookmark the links using my <a title="Delicious bookmarks" href="http://www.delicious.com/lukesturgeon" target="_blank">delicious</a> account. But an inbox full of emails isn’t working either so I’ve decided to create a blog post where I can store all the links to pages that I still want to re-visit or re-read.</p>
<p><strong>openFrameworks</strong><br />
<a title="oF screensaver" href="http://www.openframeworks.cc/forum/viewtopic.php?f=9&amp;t=1709" target="_blank"> Screen-saver</a><br />
<a title="workin on the iPhone" href="http://www.openframeworks.cc/setup/iphone" target="_blank"> iPhone</a><br />
OpenGL / <a title="OpenGL tutorials" href="http://www.morrowland.com/apron/tut_gl.php" target="_blank">1</a> / <a title="OpenGL tutorials" href="http://www.songho.ca/opengl/index.html" target="_blank">2</a>/ <a title="OpenGL tutorial" href="http://www.gametutorials.com/gtstore/c-1-test-cat.aspx" target="_blank">3</a><br />
<a title="Anaglyph image" href="http://www.openframeworks.cc/forum/viewtopic.php?p=17770" target="_blank">3D anagyph</a></p>
<p><strong>Flash</strong><br />
<a title="Augmented Reality" href="http://flash.tarotaro.org/blog/2009/07/12/mgo2" target="_blank">AR markers</a><br />
<a title="3D anaglyph" href="http://mrdoob.com/lab/actionscript/pv3d/anaglyph/02" target="_blank"> 3D anaglyph example</a> (Mr Doob)<br />
<a title="FLARManager" href="http://words.transmote.com/wp/flarmanager/inside-flarmanager/customization" target="_blank">Customising FlarManager</a><br />
<a href="http://www.bytearray.org/?p=93" target="_blank">Create animated GIF<br />
</a><a href="http://www.piterwilson-toys.com/wcsmt2/" target="_blank">Webcam stop-motion</a></p>
<p><strong>Maths</strong><br />
<a title="Delaunay triangulation" href="http://en.wikipedia.org/wiki/Delaunay_triangulation" target="_blank"> Delaunay triangulation</a><br />
<a title="Tutorial" href="http://www.codeguru.com/cpp/cpp/algorithms/general/article.php/c8901" target="_blank"> Delaunay tutorial</a><br />
<a title="Voroni tessellation" href="http://en.wikipedia.org/wiki/Voronoi_tessellation" target="_blank"> Voroni tessellation</a><br />
<a title="Contour line" href="http://en.wikipedia.org/wiki/Isoline" target="_blank"> Contour line</a><br />
<a title="Newtons universal gravitation law" href="http://en.wikipedia.org/wiki/Newton's_law_of_universal_gravitation" target="_blank"> Universal gravitation</a><br />
<a title="3D Anaglyph" href="http://local.wasp.uwa.edu.au/~pbourke/texture_colour/anaglyph" target="_blank"> 3D anaglyph</a></p>
<p><strong>Design</strong><br />
<a title="Aligning elements on the web" href="http://www.subtraction.com/2007/06/06/nudge-your-e" target="_blank"> Aligning elements</a><br />
<a title="Setting type on the web" href="http://www.alistapart.com/articles/settingtypeontheweb" target="_blank"> Baseline grid</a><br />
<a title="Flash" href="http://www.aisleone.net/2007/design/designing-grid-systems-for-flash/" target="_blank"> Grids for Flash</a><br />
<a title="Grids on the web" href="http://www.markboulton.co.uk/journal/comments/five-simple-steps-to-designing-grid-systems-part-1" target="_blank"> Grid systems</a><br />
<a title="grids" href="http://www.subtraction.com/2004/12/31/grid-computi" target="_blank"> Computing a grid</a><br />
<a title="Photoshop gridmaker" href="http://www.grafikk.co.uk/gridmaker/" target="_blank"> Gridmaker</a><br />
<a title="Information Architecture" href="http://informationarchitects.jp/designing-for-ipad-reality-check/" target="_blank"> Designing for the iPad</a></p>
<p><strong>Fabrica</strong><br />
<a href="http://blog.paulobarcelos.com" target="_blank"> Paulo Barcelos</a><br />
<a title="Fabrica student" href="http://thoughts.jonobr1.com" target="_blank"> Jono Brandel</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/blog/2010/08/linkdump/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monome</title>
		<link>http://www.lukesturgeon.co.uk/blog/2010/08/monome/</link>
		<comments>http://www.lukesturgeon.co.uk/blog/2010/08/monome/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 07:59:03 +0000</pubDate>
		<dc:creator>Luke Sturgeon</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Audio]]></category>
		<category><![CDATA[Interaction]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/blog/?p=117</guid>
		<description><![CDATA[I discovered monome a couple of years ago and have been desperate to one day either buy one of the limited edition devices that they produce or buy one of their kits and solder and build my very own Monome. <a href="http://www.lukesturgeon.co.uk/blog/2010/08/monome/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><object width="640" height="505"><param name="movie" value="http://www.youtube.com/v/LuxN13VHHtM?fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/LuxN13VHHtM?fs=1" type="application/x-shockwave-flash" width="640" height="505" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>I discovered <a href="http://monome.org" target="_blank">monome</a> a couple of years ago and have been desperate to one day either buy one of the limited edition devices that they produce or buy one of their kits and solder and build my very own Monome.</p>
<p><strong>Getting started.<br />
</strong>There are a few options for getting your hands on your very own monome device. Firstly you can buy a pre-built momone from <a title="Monome" href="http://monome.org" target="_blank">monome.org</a> however these can often be quite expensive and have a very limited number that only become available every now and again. Another option which many people decide to take is to buy the basic electronic components which are the logic chip, driver and keypad from monome.org then buy a soldering iron, some LEDs and a case to hold your own monome and to solder and build the entire device from scratch. There is a stack of information and step-by-step instructions on the monome website as well as other blogs to help you build a monome from scratch.</p>
<p><a href="http://docs.monome.org/doku.php?id=tech:mk:assembly"><img class="alignnone size-medium wp-image-122" title="mk06" src="http://www.lukesturgeon.co.uk/blog/wp-content/uploads/2010/08/mk06-640x426.jpg" alt="A Complete monome" width="640" height="426" /></a></p>
<p>Once you’ve soldered all the electronic components and fastened the case together you are ready to plug the monome device in to a computer via a usb cable and run a max5 patch to setup, test and configure the monome initially (there are also comprehensive instructions on downloading and installing <a title="Max/MSP" href="http://cycling74.com/products/maxmspjitter/" target="_blank">Max</a> on the monome website).</p>
<p><strong>Playing.<br />
</strong>Once you’ve built your monome and run the setup patch you are ready to upload existing patches written in <a title="Max/MSP" href="http://cycling74.com/products/maxmspjitter/" target="_blank">Max</a> and <a title="ChucK" href="http://chuck.cs.princeton.edu/" target="_blank">ChucK</a> and start exploring your monome.</p>
<p>http://www.youtube.com/watch?v=cJwxbTKwONc</p>
<p><object width="640" height="505"><param name="movie" value="http://www.youtube.com/v/yAyjcONJcaY?fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/yAyjcONJcaY?fs=1" type="application/x-shockwave-flash" width="640" height="505" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><object type="application/x-shockwave-flash" data="http://vimeo.com/moogaloop.swf" width="504" height="380"><param name="allowscriptaccess" value="always"/><param name="allowfullscreen" value="true"/><param name="movie" value="http://vimeo.com/moogaloop.swf"/><param name="flashvars" value="clip_id=3263311&amp;color=00adef&amp;fullscreen=1&amp;server=vimeo.com&amp;show_byline=1&amp;show_portrait=1&amp;show_title=1"/></object></p>
<p><strong>Extending.<br />
</strong>The most exciting point about a monome device is that it is not restricted to any default applications and they are simple there as a hello world set of examples. You are able and encouraged to develop your own Max patches , to upload and test them on your monome and then to upload and write about them on the monome website so that you can share you findings and experiments with the community.</p>
<p>There is a fantastic tutorial on the monome website which explains how to create a simple Max patch and upload it to your monome to test (<a title="Max tutorial" href="http://docs.monome.org/doku.php?id=dev:max:mlr-tutorial" target="_blank">http://docs.monome.org/doku.php?id=dev:max:mlr-tutorial</a>).</p>
<p>You can also communicate with the monome device using the OSC protocol and there is an article on that here (<a title="Using OSC" href="http://docs.monome.org/doku.php?id=tech:protocol:osc" target="_blank">http://docs.monome.org/doku.php?id=tech:protocol:osc</a>). This means that you can control a monome and receive button presses from a monome using software like <a title="Processing" href="http://processing.org/" target="_blank">Processing</a>, <a title="openFrameworks" href="http://www.openframeworks.cc/" target="_blank">openFrameworks</a>, <a title="VVVV" href="http://vvvv.org/" target="_blank">VVVV</a>, <a title="PureData" href="http://puredata.info/" target="_blank">PureData</a> and even in Flash using a proxy server like <a title="FLOSC" href="http://www.benchun.net/flosc/" target="_blank">flosc</a>. This opens up fantastic opportunities to use the monome as a tactile input device for a piece of custom software or installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/blog/2010/08/monome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ten principles for good design</title>
		<link>http://www.lukesturgeon.co.uk/blog/2010/07/ten-principles-for-good-design/</link>
		<comments>http://www.lukesturgeon.co.uk/blog/2010/07/ten-principles-for-good-design/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 09:09:09 +0000</pubDate>
		<dc:creator>Luke Sturgeon</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/blog/?p=115</guid>
		<description><![CDATA[I came across a page on the Vitsoe website which outlines Dieter Rams ten principles for good design. <a href="http://www.lukesturgeon.co.uk/blog/2010/07/ten-principles-for-good-design/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I came across a <a title="Dieter Rams" href="http://www.vitsoe.com/en/gb/about/dieterrams/gooddesign" target="_blank">page on the Vitsoe website</a> which outlines Dieter Rams ten principles for good design. In a nutshell they are that good design:</p>
<ol>
<li>… is innovative.</li>
<li>… makes a product useful.</li>
<li>… is aesthetic.</li>
<li>… makes a product understandable.</li>
<li>… is unobtrusive.</li>
<li>… is honest.</li>
<li>… is long-lasting.</li>
<li>… is thorough, down to the last detail.</li>
<li>… is environmentally-friendly.</li>
<li>… is as little design as possible.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/blog/2010/07/ten-principles-for-good-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ReacTickles Lab at the Touch Trust, Cardiff</title>
		<link>http://www.lukesturgeon.co.uk/blog/2010/07/reactickles-lab-cardiff/</link>
		<comments>http://www.lukesturgeon.co.uk/blog/2010/07/reactickles-lab-cardiff/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 21:20:27 +0000</pubDate>
		<dc:creator>Luke Sturgeon</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Interaction]]></category>
		<category><![CDATA[openFrameworks]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/blog/?p=109</guid>
		<description><![CDATA[On Monday and Tuesday last week I was one of a team of six who travelled to Cardiff for a ReacTickles/openFrameworks lab at the Touch Trust. I joined Joel Gethin Lewis, Memo Atken, Marek Bereza, Will Pearson and Ben Jones and together we produced a series of audio and visual interactions that were projected on the wall of the at the centre for the children to interact with. These were used as an extra level of playfulness and expression, developed to fit in with their existing activity routine. <a href="http://www.lukesturgeon.co.uk/blog/2010/07/reactickles-lab-cardiff/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a title="ReacTickles" href="http://www.flickr.com/photos/reactickles/sets/72157624444812410/" target="_blank"><img class="alignnone size-full wp-image-110" title="4771918734_42ae4ecfd7_b-1" src="http://www.lukesturgeon.co.uk/blog/wp-content/uploads/2010/07/4771918734_42ae4ecfd7_b-1.jpg" alt="" width="640" height="424" /></a></p>
<p>On Monday and Tuesday last week I was one of a team of six who travelled to Cardiff for a <a title="ReacTickles" href="http://www.reactickles.org/" target="_blank">ReacTickles</a>/<a title="openFrameworks" href="http://www.openFrameworks.cc" target="_blank">openFrameworks</a> lab at the <a title="Touch Trust" href="http://www.touch-trust.org/" target="_blank">Touch Trust</a>. I joined <a title="Hellicar and Lewis" href="http://www.hellicarandlewis.com/" target="_blank">Joel Gethin Lewis</a>, <a title="Mega Super Awesome Visuals" href="http://www.msavisuals.com/" target="_blank">Memo Atken</a>, <a title="MArek Bereza" href="http://www.mrkbrz.com/" target="_blank">Marek Bereza</a>, <a title="Will Pearson" href="http://www.sacculi.co.uk/" target="_blank">Will Pearson</a> and <a title="Ben Jones" href="http://www.flickr.com/people/43290335@N05/" target="_blank">Ben Jones</a> and together we produced a series of audio and visual interactions that were projected on the wall of the at the centre for the children to interact with. These were used as an extra level of playfulness and expression, developed to fit in with their existing activity routine.</p>
<p>The Touch Trust is a centre that offers creative, touch-based art, movement and dance programmes for individuals affected by Autism Spectrum Conditions (ASC) and Profound Learning Difficulties (PLD). I was introduced to ReacTickles at an openFrameworks lab at the V&amp;A museum in February since then I’ve been keen to develop more interactive pieces for the project, to hopefully engage and help people affected by ASC or PLD as well as their family and carers.</p>
<blockquote><p>Utilizing an inspire-play-create-appropriate methodology, the aim of the lab was to generate ideas for experiential interfaces that compliment the therapeutic activities offered at the Touch Trust. Central to ideation has been the inclusion of end users and those who care for them in a rapid process of playful co-creation in authentic, real world settings.</p></blockquote>
<p>You can see a selection of photographs that document the positive results of the interactions we produced on the ReacTickles’ flickr page <a title="ReacTickles" href="http://www.flickr.com/photos/reactickles/sets/72157624444812410/" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/blog/2010/07/reactickles-lab-cardiff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful AS3 Code snippets</title>
		<link>http://www.lukesturgeon.co.uk/blog/2010/06/useful-as3-code-snippets/</link>
		<comments>http://www.lukesturgeon.co.uk/blog/2010/06/useful-as3-code-snippets/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 10:18:04 +0000</pubDate>
		<dc:creator>Luke Sturgeon</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/blog/?p=106</guid>
		<description><![CDATA[I often find myself searching for the same snippet of code to create a certain affect. Such as making a sprite follow the mouse but with a little bit of ease or elasticity. I was wanted to explore better ways of containing data such as object pools and linked lists. So I've decided to drop any useful snippets of code in to this post so I always have somewhere to refer to quickly. <a href="http://www.lukesturgeon.co.uk/blog/2010/06/useful-as3-code-snippets/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I often find myself searching for the same snippet of code to create a certain affect. Such as making a sprite follow the mouse but with a little bit of ease or elasticity. I also keep meaning to to explore better ways of containing data such as object pools and linked lists. So I’ve decided to drop any useful snippets of code in to this post so I always have somewhere to refer to quickly.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">// Embed flash using swfobject but with a redirect</span>
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>swfobject.<span style="color: #006600;">hasFlashPlayerVersion</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;6.0.0&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #808080; font-style: italic;">// Embed Flash here</span>
<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #808080; font-style: italic;">// no Flash</span>
	location.<span style="color: #006600;">href</span>=<span style="color: #ff0000;">&quot;no_flash.html&quot;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">// Find the amount of time between one point in time and another</span>
t = <span style="color: #0066CC;">getTimer</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
elapsedTime = <span style="color: #cc66cc;">1000</span> <span style="color: #66cc66;">/</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">getTimer</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> - t<span style="color: #66cc66;">&#41;</span>;</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">// Use object pools</span>
<span style="color: #000000; font-weight: bold;">function</span> getThingInstance<span style="color: #66cc66;">&#40;</span>param<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>pool.<span style="color: #0066CC;">length</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span> o = poop.<span style="color: #0066CC;">pop</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #66cc66;">&#125;</span>
	<span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span> o = <span style="color: #000000; font-weight: bold;">new</span> Thing<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #66cc66;">&#125;</span>
	o.<span style="color: #006600;">init</span><span style="color: #66cc66;">&#40;</span>param<span style="color: #66cc66;">&#41;</span>;
	<span style="color: #b1b100;">return</span> o;
<span style="color: #66cc66;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">// memoization: cache return values for expensive logic</span>
<span style="color: #000000; font-weight: bold;">function</span> calculateStuff<span style="color: #66cc66;">&#40;</span>a<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>cache<span style="color: #66cc66;">&#91;</span>a<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #b1b100;">return</span> cache<span style="color: #66cc66;">&#91;</span>a<span style="color: #66cc66;">&#93;</span>; <span style="color: #66cc66;">&#125;</span>
	… <span style="color: #808080; font-style: italic;">// calculate b</span>
	cache<span style="color: #66cc66;">&#91;</span>a<span style="color: #66cc66;">&#93;</span> = b;
	<span style="color: #b1b100;">return</span> b;
<span style="color: #66cc66;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">// Easing</span>
x += <span style="color: #66cc66;">&#40;</span>targetX - x<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">*</span> <span style="color: #cc66cc;">0.1</span>;
<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">abs</span><span style="color: #66cc66;">&#40;</span>targetX - x<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&amp;</span>lt; <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #808080; font-style: italic;">// end tween</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">// Acceloration</span>
velocityX += <span style="color: #66cc66;">&#40;</span>targetX - x<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">*</span> <span style="color: #cc66cc;">0.1</span>;
velocityX <span style="color: #66cc66;">*</span>= <span style="color: #cc66cc;">0.95</span>;
x += velocityX;
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">abs</span><span style="color: #66cc66;">&#40;</span>targetX - x<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&amp;</span>lt; <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #808080; font-style: italic;">// end tween</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/blog/2010/06/useful-as3-code-snippets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenGL blending</title>
		<link>http://www.lukesturgeon.co.uk/blog/2010/06/opengl-blending/</link>
		<comments>http://www.lukesturgeon.co.uk/blog/2010/06/opengl-blending/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 12:25:13 +0000</pubDate>
		<dc:creator>Luke Sturgeon</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[openFrameworks]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/blog/?p=100</guid>
		<description><![CDATA[While I was developing a recent project I needed to figure out how to use a multiply blend mode in openFrameworks. After a little research I discovered that it's as simple
as setting the blend function in OpenGL. As openFrameworks uses OpenGL as a core graphics library it's very easy to use OpenGL functions to create visual affects that go beyond the absolute basics. <a href="http://www.lukesturgeon.co.uk/blog/2010/06/opengl-blending/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><object type="application/x-shockwave-flash" data="http://vimeo.com/moogaloop.swf" width="640" height="360"><param name="allowscriptaccess" value="always"/><param name="allowfullscreen" value="true"/><param name="movie" value="http://vimeo.com/moogaloop.swf"/><param name="flashvars" value="clip_id=12791596&#038;color=00adef&#038;fullscreen=1&#038;server=vimeo.com&#038;show_byline=1&#038;show_portrait=1&#038;show_title=1"/></object></p>
<p>While I was developing a recent project I needed to figure out how to use a multiply blend mode in openFrameworks. After a little research I discovered that it’s as simple<br />
as setting the blend function in OpenGL. As openFrameworks uses OpenGL as a core graphics library it’s very easy to use OpenGL functions to create visual affects that go beyond the absolute basics.</p>
<p>All I needed to do to create a multiply effect was add the following two lines of code to the setup function. This enabled me to use OpenGL and calling the depth test allows OpenGL to configure itself to avoid any weird effects (although I’m basing that on what I’ve read as I haven’t excluded this code to test the effects yet).</p>
<pre>glEnable(GL_DEPTH_TEST); // enable depth testing to avoid problems
glDepthFunc(GL_LEQUAL); // set the type of depth testing</pre>
<p>Then in the draw function I enable OpenGL and call the glBlendFunc function and pass in two parameters to tell OpenGL how I want to treat the existing graphics and the new graphics. I then looped through my points and draw an ellipse for each one, using one of three colours which I set when the application first starts, these were hexadecimal equivalents of cyan, magenta and yellow which can blend together to create black/keyline (the K in CMYK). Finally I call the glDisable function to stop OpenGL from applying the blend mode to anything else I might want to draw.</p>
<pre>glEnable(GL_BLEND); // enable blending
glBlendFunc(GL_DST_COLOR, GL_ZERO); // set the type of blend mode

for (int i = 0; i &lt; NUM_BOIDS; i++) {
	ofSetColor(boids[i].colour);
	ofEllipse(boids[i].position.x, boids[i].position.y,
        minDistance, minDistance);
}

glDisable(GL_BLEND); // disable the blending</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/blog/2010/06/opengl-blending/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flocking in 3D</title>
		<link>http://www.lukesturgeon.co.uk/blog/2010/06/flocking-in-3d/</link>
		<comments>http://www.lukesturgeon.co.uk/blog/2010/06/flocking-in-3d/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 10:10:45 +0000</pubDate>
		<dc:creator>Luke Sturgeon</dc:creator>
				<category><![CDATA[Animation]]></category>
		<category><![CDATA[openFrameworks]]></category>
		<category><![CDATA[physics]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/blog/?p=95</guid>
		<description><![CDATA[For a project I'm currently working on I wanted to explore flocking behaviours and track relationships between points within a real-time simulation. The final piece and been completed now (but more on that another time) and for the meanwhile I've created a video of the prototype I was using to test the simulation and aesthetics. <a href="http://www.lukesturgeon.co.uk/blog/2010/06/flocking-in-3d/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><object type="application/x-shockwave-flash" data="http://vimeo.com/moogaloop.swf" width="640" height="360"><param name="allowscriptaccess" value="always"/><param name="allowfullscreen" value="true"/><param name="movie" value="http://vimeo.com/moogaloop.swf"/><param name="flashvars" value="clip_id=12790466&#038;color=00adef&#038;fullscreen=1&#038;server=vimeo.com&#038;show_byline=1&#038;show_portrait=1&#038;show_title=1"/></object></p>
<p>For a project I’m currently working on I wanted to explore flocking behaviours and track relationships between points within a real-time simulation. The final piece has been completed now (but more on that another time) and in the meantime I’ve created a video of the prototype I was using to test the simulation and aesthetics.</p>
<p>I created a simple flocking simulation and then tracked the relationship between each point in the flock and it’s neighbouring points. As the simulation runs the points effect one another’s position and direction, rather than tracking each point I track the relationship each point has on it’s neighbours. The relationships between the points are then represented using an anaglyph image that creates a stereoscopic 3D effect. The two rules that influence the distance between points can be changed in real-time and can cause significant effects with the slightest of changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/blog/2010/06/flocking-in-3d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Studio Culture</title>
		<link>http://www.lukesturgeon.co.uk/blog/2010/06/studio-culture/</link>
		<comments>http://www.lukesturgeon.co.uk/blog/2010/06/studio-culture/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 09:38:50 +0000</pubDate>
		<dc:creator>Luke Sturgeon</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[Book]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/blog/?p=89</guid>
		<description><![CDATA[Studio Culture provides a unique glimpse into the inner workings of 28 leading graphic design studios. In a series of penetrating interviews, the mechanics of building and maintaining a vibrant studio culture are laid bare with disarming frankness. <a href="http://www.lukesturgeon.co.uk/blog/2010/06/studio-culture/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently finished reading Studio Culture from <a title="Studio Culture" href="http://www.uniteditions.com/shop/studio-culture/" target="_blank">Unit Editions</a>. I’ve always been interested in the various ways that design studios are run and by the physical studio itself and this book gives a fantastic behind-the-scenes look at a number of very well-established studios across the globe. It’s certainly not a particularly new book, it’s been sitting on my bookshelf for a while but I’ve finally found some quiet time on the train in the mornings to read through it thoroughly.</p>
<p>As a freelancer I am already in a lucky position where I can go in to a studio and work closely with a team, anywhere from a couple of days to several months. I’ve always found this experience rewarding as I meet new people and make new friends and work contacts and I also take away from the studio all the positive ways of working that I’ve seen whilst I’ve been with them. Eventually my goal is to apply all the things I have seen over the past few years – that I feel work successfully – to my own studio and hopefully create something that produces great work and is exciting to be a part of.</p>
<blockquote><p><em>Studio Culture</em> provides a unique glimpse into the inner workings of 28 leading graphic design studios. In a series of penetrating interviews, the mechanics of building and maintaining a vibrant studio culture are laid bare with disarming frankness.</p></blockquote>
<p><img class="alignnone size-large wp-image-90" title="IMG_1151_new" src="http://www.lukesturgeon.co.uk/blog/wp-content/uploads/2010/06/IMG_1151_new-1024x768.jpg" alt="Studio Culture" width="640" height="480" /></p>
<p><img class="alignnone size-large wp-image-91" title="IMG_1152_new" src="http://www.lukesturgeon.co.uk/blog/wp-content/uploads/2010/06/IMG_1152_new-1024x768.jpg" alt="Studio Culture" width="640" height="480" /></p>
<p><img class="alignnone size-large wp-image-92" title="IMG_1155_new" src="http://www.lukesturgeon.co.uk/blog/wp-content/uploads/2010/06/IMG_1155_new-1024x768.jpg" alt="Studio Culture" width="640" height="480" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/blog/2010/06/studio-culture/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flocking relationships</title>
		<link>http://www.lukesturgeon.co.uk/blog/2010/06/flocking-relationships/</link>
		<comments>http://www.lukesturgeon.co.uk/blog/2010/06/flocking-relationships/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 21:13:08 +0000</pubDate>
		<dc:creator>Luke Sturgeon</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[openFrameworks]]></category>
		<category><![CDATA[physics]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/blog/?p=84</guid>
		<description><![CDATA[I've spent a little more time exploring the relationship between each Boid in my flocking simulation. I still need to add some more features to the simulation and then I will be able to start exploring the design and aesthetics in more detail. <a href="http://www.lukesturgeon.co.uk/blog/2010/06/flocking-relationships/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><object type="application/x-shockwave-flash" data="http://vimeo.com/moogaloop.swf" width="640" height="360"><param name="allowscriptaccess" value="always"/><param name="allowfullscreen" value="true"/><param name="movie" value="http://vimeo.com/moogaloop.swf"/><param name="flashvars" value="clip_id=12375749&#038;color=00adef&#038;fullscreen=1&#038;server=vimeo.com&#038;show_byline=1&#038;show_portrait=1&#038;show_title=1"/></object></p>
<p>I’ve spent a little more time exploring the relationship between each Boid in my flocking simulation. I still need to add some more features to the simulation and then I will be able to start exploring the design and aesthetics in more detail.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/blog/2010/06/flocking-relationships/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starting to flock</title>
		<link>http://www.lukesturgeon.co.uk/blog/2010/06/starting-to-flock/</link>
		<comments>http://www.lukesturgeon.co.uk/blog/2010/06/starting-to-flock/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 20:25:18 +0000</pubDate>
		<dc:creator>Luke Sturgeon</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[openFrameworks]]></category>
		<category><![CDATA[physics]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/blog/?p=79</guid>
		<description><![CDATA[For an upcoming project I'm going to be using a simple flocking simulation to produce a series of generative artworks based on time. These pieces are being produces in openFrameworks so it's another great opportunity to experiment more with this fun tool. I've been struggling to find the time to work on this up until very recently, so hopefully over the next few weeks I can start to produce something very interesting. <a href="http://www.lukesturgeon.co.uk/blog/2010/06/starting-to-flock/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><object type="application/x-shockwave-flash" data="http://vimeo.com/moogaloop.swf" width="640" height="360"><param name="allowscriptaccess" value="always"/><param name="allowfullscreen" value="true"/><param name="movie" value="http://vimeo.com/moogaloop.swf"/><param name="flashvars" value="clip_id=12342517&#038;color=00adef&#038;fullscreen=1&#038;server=vimeo.com&#038;show_byline=1&#038;show_portrait=1&#038;show_title=1"/></object></p>
<p>For an upcoming project I’m going to be using a simple flocking simulation to produce a series of generative artworks based on time. These pieces are being produces in <a title="openFrameworks" href="http://www.openframeworks.cc/" target="_blank">openFrameworks</a> so it’s another great opportunity to experiment more with this fun tool. I’ve been struggling to find the time to work on this up until very recently, so hopefully over the next few weeks I can start to produce something very interesting.</p>
<p>I’m planning on assigning some more of the core flocking functionality to gui sliders so that I can start to make adjustments to the simulation in real-time (I’m using Memo Atkens <a title="ofxSimpleGuiToo" href="http://code.google.com/p/ofxmsaof/source/browse/#svn/trunk/ofxSimpleGuiToo" target="_blank">ofxSimpleGuiToo</a> addon for this). Once I’ve got a behaviour that I’m happy with I can start to explore ways of recording and mapping the relationships within the simulation to hopefully achieve something interesting.</p>
<p><span id="more-79"></span></p>
<p>There’s some really interest work already out there and a quick search on YouTube of vimeo will give you some very interesting results. I’m showing some other peoples work that interests me below, some use a great set of parameters to create a really nice effect between each Boid other show really nice ways of visualising the different types of Boid and groups of boids.</p>
<p><object width="640" height="505"><param name="movie" value="http://www.youtube.com/v/QNzyGeZiDaY&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/QNzyGeZiDaY&#038;fs=1" type="application/x-shockwave-flash" width="640" height="505" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><object width="640" height="505"><param name="movie" value="http://www.youtube.com/v/MvmN5o6dZ8s&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/MvmN5o6dZ8s&#038;fs=1" type="application/x-shockwave-flash" width="640" height="505" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><object width="640" height="505"><param name="movie" value="http://www.youtube.com/v/dtSxwexF5B0&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/dtSxwexF5B0&#038;fs=1" type="application/x-shockwave-flash" width="640" height="505" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><object width="640" height="505"><param name="movie" value="http://www.youtube.com/v/rN8DzlgMt3M&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/rN8DzlgMt3M&#038;fs=1" type="application/x-shockwave-flash" width="640" height="505" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><object width="640" height="505"><param name="movie" value="http://www.youtube.com/v/oHdecmpDzqI&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/oHdecmpDzqI&#038;fs=1" type="application/x-shockwave-flash" width="640" height="505" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><object width="640" height="505"><param name="movie" value="http://www.youtube.com/v/S1SzjsP34PE&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/S1SzjsP34PE&#038;fs=1" type="application/x-shockwave-flash" width="640" height="505" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><object width="640" height="505"><param name="movie" value="http://www.youtube.com/v/l7zWn3fXBsA&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/l7zWn3fXBsA&#038;fs=1" type="application/x-shockwave-flash" width="640" height="505" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><object width="640" height="505"><param name="movie" value="http://www.youtube.com/v/bf3dKxof_9w&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/bf3dKxof_9w&#038;fs=1" type="application/x-shockwave-flash" width="640" height="505" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><object width="640" height="505"><param name="movie" value="http://www.youtube.com/v/MIzlcH2q6Vo&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/MIzlcH2q6Vo&#038;fs=1" type="application/x-shockwave-flash" width="640" height="505" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/blog/2010/06/starting-to-flock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bold problems with Flash CS4</title>
		<link>http://www.lukesturgeon.co.uk/blog/2010/06/bold-problems-with-cs4/</link>
		<comments>http://www.lukesturgeon.co.uk/blog/2010/06/bold-problems-with-cs4/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 21:45:38 +0000</pubDate>
		<dc:creator>Luke Sturgeon</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Bugfix]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/blog/?p=70</guid>
		<description><![CDATA[For a recent project I had to load in HTML text from a CMS (ExpressionEngine) and display it in a Flash website. For me this is nothing new as I've been loading external content in to my Flash websites since I started many years ago. However this was the first time I've needed to do this in the Flash CS4 IDE using a very specific typeface. <a href="http://www.lukesturgeon.co.uk/blog/2010/06/bold-problems-with-cs4/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>For a recent project I had to load in HTML text from a CMS (ExpressionEngine) and display it in a Flash website. For me this is nothing new as I’ve been loading external content in to my Flash websites since I started many years ago. However this was the first time I’ve needed to do this in the Flash CS4 IDE using a very specific typeface.</p>
<p>I suddenly found that no matter how I tried to hack the HTML to get the bold face to work it simply would not show. After a few emails with another developer chum I found that even the example file that he sent over which used embedded Arial in a dynamic TextField would display with bold and italic straight from Flash CS3 but would only show the regular font from Flash CS4.</p>
<p>In previous situations I’ve set the TextField’s HTML property to true in the IDE and embedded some text using the regular font and another line of text using the bold font. However Flash CS4 only seems to be happy with that providing that the typeface you are using will allow faux bold and faux italic. Faux bold is when you are using the regular font and you click on the <strong>b</strong> or <em>i</em> buttons in the properties inspector to change the typeface. Flash is still using the regular font but it fakes bold by expanding the paths for the characters and fakes italic by rotating the paths for the characters. This is definitely not the prefered way to produce these fonts, especially for designers that have a keen typographic eye like the guys that I am often fortunate enough to work with.</p>
<p>After some frustrating trial and error, I came across a solution that seems to work well and that I will probably continue to use on future projects. To embed each font in to the library of the Flash file and export them for ActionScript. Then use CSS to set the font-family property for specific tags within a chunk of HTML text. This means I can use the actual italic cut of a particular typeface instead of faux italic in my projects and gives me much more control over the way the text is rendered. It also means that if you found your typeface was particularly thin and the difference between regular and bold was barely noticeable on screen, you might be able to swap out the bold for medium or ultra-bold depending on the typeface and get the visual hierarchy back in your text.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">// Create a stylesheet to set the 'strong' tag to use the bold typeface</span>
<span style="color: #808080; font-style: italic;">// you cannot use 'b' because it's a tag that is recognised by Flash</span>
<span style="color: #808080; font-style: italic;">// already, so use a findReplace function to turn all 'bold' tag pairs</span>
<span style="color: #808080; font-style: italic;">// in to 'strong' tags. Or do this when the text is created.</span>
<span style="color: #000000; font-weight: bold;">var</span> myStyleSheet:StyleSheet = <span style="color: #000000; font-weight: bold;">new</span> StyleSheet<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">// Use inline display to avoid an extra line return</span>
myStyleSheet.<span style="color: #0066CC;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;strong&quot;</span>, <span style="color: #66cc66;">&#123;</span>fontFamily:<span style="color: #ff0000;">&quot;Bryant-Bold&quot;</span>, display:<span style="color: #ff0000;">&quot;inline&quot;</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">// Assign the stylesheet</span>
myTextField.<span style="color: #006600;">styleSheet</span> = myStyleSheet;
myTextField.<span style="color: #0066CC;">autoSize</span> = <span style="color: #ff0000;">&quot;left&quot;</span>;
myTextField.<span style="color: #0066CC;">htmlText</span> = myHTMLText;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/blog/2010/06/bold-problems-with-cs4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ReacTickles</title>
		<link>http://www.lukesturgeon.co.uk/blog/2010/04/reactickles/</link>
		<comments>http://www.lukesturgeon.co.uk/blog/2010/04/reactickles/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 15:08:54 +0000</pubDate>
		<dc:creator>Luke Sturgeon</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Interaction]]></category>
		<category><![CDATA[openFrameworks]]></category>
		<category><![CDATA[physics]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/blog/?p=65</guid>
		<description><![CDATA[As part of the Decode exhibition held at the V&#038;A museum in London I joined a group of experienced and novice openFrameworks users and collaborated on a collection of very simple but very interesting interactive experiences that are part of the ReacTickles project. <a href="http://www.lukesturgeon.co.uk/blog/2010/04/reactickles/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As part of the <a title="Decode exhibition" href="http://www.vam.ac.uk/microsites/decode/" target="_blank">Decode</a> exhibition held at the <a title="Victoria and Albert Museum" href="http://www.vam.ac.uk/" target="_blank">V&amp;A museum</a> in London I joined a group of experienced and novice <a title="openFrameworks" href="http://www.openframeworks.cc/" target="_blank">openFrameworks</a> users and collaborated on a collection of very simple but very engaging interactive experiences that are part of the <a title="ReacTickles project" href="http://reactickles.org/" target="_blank">ReacTickles project</a>.</p>
<p>We developed a series of very simple interactions that explored the five main forms of energy that make up the guiding design principles for the project; elasticity, velocity, gravity, inertia and momentum. These applications are then taken to various schools and centres around the globe and are used to help develop communication and social interaction within young children with Autistic Spectrum Conditions through playful interactions and exploration.</p>
<p>It’s a very interesting, thoughtful and beneficial use of technology and Interactive design and I am very keen to commit more time to help develop the project further.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/blog/2010/04/reactickles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A HD portfolio</title>
		<link>http://www.lukesturgeon.co.uk/blog/2010/03/a-hd-portfolio/</link>
		<comments>http://www.lukesturgeon.co.uk/blog/2010/03/a-hd-portfolio/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 14:09:38 +0000</pubDate>
		<dc:creator>Luke Sturgeon</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/blog/?p=40</guid>
		<description><![CDATA[As we all know video is the new photo as far as the web is concerned and for the past year I’ve slowly been recording all of my projects as video screen-casts so that I can use them to demonstrate &#8230; <a href="http://www.lukesturgeon.co.uk/blog/2010/03/a-hd-portfolio/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As we all know <em>video</em> is the new <em>photo</em> as far as the web is concerned and for the past year I’ve slowly been recording all of my projects as video screen-casts so that I can use them to demonstrate my work more effectively. As an interactive designer my work is more than design and more than programming, it is the combination of design, animation and programming; creating a unique and engaging interactive experience for people to share. My previous portfolio has always used a series of stills taken from my projects, but you can’t really get an idea of the level of interactivity, the animation and the feel that the project has from these, video does this beautifully.</p>
<p><object type="application/x-shockwave-flash" data="http://vimeo.com/moogaloop.swf" width="640" height="360"><param name="allowscriptaccess" value="always"/><param name="allowfullscreen" value="true"/><param name="movie" value="http://vimeo.com/moogaloop.swf"/><param name="flashvars" value="clip_id=10402748&#038;color=00adef&#038;fullscreen=1&#038;server=vimeo.com&#038;show_byline=1&#038;show_portrait=1&#038;show_title=1"/></object></p>
<p>So that I can remember – and to help anyone else interested in doing the same – I’m recording the settings and processes that I’m going through to record these videos. If I ever find a better way of doing this, I will update this post with the relevant details.</p>
<p><strong>Recording the video</strong><br />
The first thing I need to do is record my project on to my computer. For this I am using <a title="iShowU HD" href="http://www.shinywhitebox.com/ishowuhd/main.html" target="_blank">iShowU HD</a> from Shinywhitebox. I’m capturing and outputting the video at <strong>1280 x 720 px</strong> – standard HD size and a perfect for capturing any websites – using the <strong>Apple Animation</strong> video codec at <strong>25 fps</strong> with quality set to Lossless and the audio is using the <strong>AAC codec</strong> at a rate of <strong>44100 Khz</strong> in stereo. The only negative is that while the quality is extremely high, the file size is also huge with approximately 40 Mb per second of video recording which can mean at least a couple of gigabytes per video recording. To make things more manageable I’ve started filming some of my projects in sections of around 20 seconds, you need to make sure you keep your mouse in the same position between clips though.</p>
<p>To help me show the project I’ve created a desktop background that is white except for a grey 1280 x 720 pixels rectangle at the bottom left. I then position my browser window so that the window chrome sits outside of the 1280 x 720 area and the website takes up the fill width and height of the capture area. I’m going to start using <a title="Firefox" href="http://www.mozilla.com/en-US/firefox/firefox.html" target="_blank">Firefox</a> to record any websites, as Safari and <a title="Google Chrome" href="http://www.google.co.uk/chrome" target="_self">Chrome</a> both place the annoying resize icon at the bottom right on top of my projects. Firefox has a full bar at the bottom which – with a bit of trial and error – you can position off the bottom of the screen.</p>
<p><strong>Editing the recording</strong><br />
Once I’ve captured a successful video or group of videos, I take them in to <a title="Adobe Premiere" href="http://www.adobe.com/products/premiere/" target="_blank">Adobe Premiere</a> to cut and edit them in to a suitable length. I also use this opportunity to cut out any long pauses while waiting for content to load such as buffering video or large images. This makes the examples feel more responsive and doesn’t waste valuable seconds of video time. I also use <a title="Adobe After Effects" href="http://www.adobe.com/products/aftereffects/" target="_blank">After Effects</a> to clean up any parts that I’m not happy with and amend any text or images that have been added to the project has been launched.</p>
<p><strong>Export the final video</strong><br />
Once I’ve edited the video and I’m happy with the final results I can now export the video to an number of final formats to be used on my <a title="Luke Sturgeon" href="http://www.lukesturgeon.co.uk" target="_blank">online portfolio</a>, offline portfolio, <a title="My Vimeo account" href="http://www.vimeo.com/album/199953" target="_blank">Vimeo</a> account or any other place I might need to show it. Because they are all filmed in HD I can scale them down to any size and know that the quality will never decrease from the original.</p>
<p>For Vimeo I followed their <a title="Vimeo compression guidelines" href="http://vimeo.com/help/compression" target="_blank">compression guidelines</a> which – in a nutshell – were the <strong>H.264/mp4</strong> Codec at <strong>25 fps</strong> with a video data rate of <strong>5000 Kbps</strong> and an audio data rate of <strong>320 Kbps</strong> and sample rate at <strong>44100 Khz</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/blog/2010/03/a-hd-portfolio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RGB TouchOSC experiment</title>
		<link>http://www.lukesturgeon.co.uk/blog/2009/09/rgb-touchosc-experiment/</link>
		<comments>http://www.lukesturgeon.co.uk/blog/2009/09/rgb-touchosc-experiment/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 07:56:48 +0000</pubDate>
		<dc:creator>Luke Sturgeon</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[OSC]]></category>
		<category><![CDATA[Processing]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/blog/?p=3</guid>
		<description><![CDATA[I’ve justed uploaded the processing source file for this experiment, you can download it here. You will also need to download the TouchOSC iPhone app and follow the instructions on their website. <a href="http://www.lukesturgeon.co.uk/blog/2009/09/rgb-touchosc-experiment/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><object type="application/x-shockwave-flash" data="http://vimeo.com/moogaloop.swf" width="640" height="480"><param name="allowscriptaccess" value="always"/><param name="allowfullscreen" value="true"/><param name="movie" value="http://vimeo.com/moogaloop.swf"/><param name="flashvars" value="clip_id=6604718&#038;color=00adef&#038;fullscreen=1&#038;server=vimeo.com&#038;show_byline=1&#038;show_portrait=1&#038;show_title=1"/></object></p>
<p>I’ve justed uploaded the processing source file for this experiment, you can download it here <a href="http://www.lukesturgeon.co.uk/blog/wp-content/uploads/2010/03/sketch_sep09a.pde_.zip" target="_blank">TouchOSC experiment</a>. You will also need to download the TouchOSC iPhone app and follow the instructions on their <a href="http://hexler.net/software/touchosc" target="_blank">website</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/blog/2009/09/rgb-touchosc-experiment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interactive Design</title>
		<link>http://www.lukesturgeon.co.uk/blog/2009/09/interactive-design/</link>
		<comments>http://www.lukesturgeon.co.uk/blog/2009/09/interactive-design/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 08:18:03 +0000</pubDate>
		<dc:creator>Luke Sturgeon</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Interaction]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/blog/?p=7</guid>
		<description><![CDATA[I’ve always wanted to become more and more involved in interactive projects. I spent the final couple of years of my degree focusing almost exclusively on interactive and screen-based solutions for my projects. Since then I’ve been extremely fortunate in the companies I have worked for, the great people I have met and the experience I have gained over the past years, it’s been fantastic. <a href="http://www.lukesturgeon.co.uk/blog/2009/09/interactive-design/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was in my second year of my Graphic Design degree when I discovered the <a title="RCA Interaction Design" href="http://www.interaction.rca.ac.uk/" target="_blank">MA Interaction Design</a> course at the Royal College of Arts. I was blown away by the work that the students were doing and that you could study this amazing subject, Interaction Design. Ever since then I’ve always wanted to become more and more involved in interactive projects. I spent the final couple of years of my degree focusing almost exclusively on interactive and screen-based solutions for my projects. Since then I’ve been extremely fortunate in the companies I have worked for, the great people I have met and the experience I have gained over the past years, it’s been fantastic. Given the chance to start over I would do everything again and work with the very same people that have helped me develop.</p>
<p>Working as a freelance Interactive Designer/Flash Developer has put me in a really fortunate position where I have a constant – if not sometimes exhausting – demand for work which keeps me extremely busy, very challenged and motivated to keep pushing myself forwards. It also gives me the opportunity to take time off when I feel I can and spend some time developing new skills and exploring new challenges to constantly push myself forwards. I’ve never been one to settle, I need to try new things and to constantly put myself in new and sometimes difficult situations and freelancing is the only way for me to continually do this. So my new challenge and also my (why didn’t I do this earlier) is to start taking time out to research and experiment various topics including physical computing, interaction design, data visualisation and mathematics, and to read, read, read.</p>
<p>As <a href="http://www.tinker.it/en/People/HomePage" target="_blank">Massimo Banzi</a> quotes in <em>Getting started with Arduino</em> ‘Interaction design is the design of any interactive experience.’ I am already familiar with and have been creating interactive online experiences since I started as an interactive designer 3 years ago, but what I intend to do is start exploring tangible experiences. I want to be able to create a physical environment that someone can use to interact with a digital environment. I want to create objects that you can touch and feel and play with instead of using the more traditional keyboard, mouse and monitor.</p>
<p>I have been researching and following the development of several MA Interaction Design courses at institutes around the world. However there are always pros and cons for making the decision to enroll on an MA course and so far I haven’t found a course that combines all the areas I want to work in and wont cost me £30,000+ for the fees (not to mention living costs for a 2 year course). The cons simply outweight the pros. So I’ve been speaking with a handful of interaction designers and asking them about their background and experience and how they came to work in this field. These discussions have opened up a whole range of alternative ways to gain experience in Interaction Design.</p>
<p>This blog will become my primary place to document my research and experiments in Interaction Design. I’ve already booked tickets at several design events across the globe such as the <a href="http://www.aec.at/" target="_self">Ars Electronica</a> festival, which I’ve unfortunately had to miss this year. I will storing any relevant research on this blog as well as the working and failed experiments I create.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/blog/2009/09/interactive-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webcam Painting</title>
		<link>http://www.lukesturgeon.co.uk/blog/2009/08/webcam-painting/</link>
		<comments>http://www.lukesturgeon.co.uk/blog/2009/08/webcam-painting/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 08:19:36 +0000</pubDate>
		<dc:creator>Luke Sturgeon</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Webcam]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/blog/?p=10</guid>
		<description><![CDATA[Some of the projects I have been working on recently – or have in the pipeline – involve using the webcam in Flash. I’m getting quite excited about the fun possibilities that the webcam can open up. <a href="http://www.lukesturgeon.co.uk/blog/2009/08/webcam-painting/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><object type="application/x-shockwave-flash" data="http://vimeo.com/moogaloop.swf" width="640" height="480"><param name="allowscriptaccess" value="always"/><param name="allowfullscreen" value="true"/><param name="movie" value="http://vimeo.com/moogaloop.swf"/><param name="flashvars" value="clip_id=6053367&#038;color=00adef&#038;fullscreen=1&#038;server=vimeo.com&#038;show_byline=1&#038;show_portrait=1&#038;show_title=1"/></object></p>
<p>Some of the projects I have been working on recently – or have in the pipeline – involve using the webcam in Flash. I’m getting quite excited about the fun possibilities that the webcam can open up.</p>
<p>This was a tiny 20 minute experiment where I am using the mouse to paint the video from my webcam directly on to the stage. The pixel colour is taken from the webcam.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/blog/2009/08/webcam-painting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scrolling a dynamic textfield bugfix.</title>
		<link>http://www.lukesturgeon.co.uk/blog/2009/06/fixed-vertical-scrolling-text-bug/</link>
		<comments>http://www.lukesturgeon.co.uk/blog/2009/06/fixed-vertical-scrolling-text-bug/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 08:30:00 +0000</pubDate>
		<dc:creator>Luke Sturgeon</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Bugfix]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/blog/?p=13</guid>
		<description><![CDATA[There has been a bug in flash that has always niggled me, and I’ve always wanted to try and find a solution but for one reason or another never had a time to. This bug occurs when you dynamically insert &#8230; <a href="http://www.lukesturgeon.co.uk/blog/2009/06/fixed-vertical-scrolling-text-bug/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There has been a bug in flash that has always niggled me, and I’ve always wanted to try and find a solution but for one reason or another never had a time to. This bug occurs when you dynamically insert text in to a TextField in Flash which is allowed to autoSize and then select all the text by dragging with the cursor. In most cases, as you drag down the text will scroll up 1 line and you will loose the top line. This is a really ugly bug.</p>
<p>After reading <a title="Tomeks blog" href="http://play.blog2t.net/fixing-jumpy-htmltext-links/" target="_blank">Tomek’s blog post</a> on the same bug and his fix , I’ve managed to discover what the problem is and the slightly modified (improved… cough, cough) on Tomek’s solution.</p>
<p>Tomek’s solution worked perfectly, which was to insert the text, store the height, set the autoSize property to NONE and then manually increase the height of the TextField. This means that the text fits within the resizes TextField fully and does not need to scroll.</p>
<p>The thing I didn’t like is that I was just adding 10 pixels to the height. What if I was using a large font size and that solution didn’t work? After some experimenting I found that the value you need to increase the height of the TextField by is it’s leading. So if your leading is 0 the bug will not appear, if you leading is much greater like 24, then you will need to add 24 pixels to the height of your dynamic TextField. It seems that when Flash resizes the TextField as you flow the copy in, it doesn’t take in to account the affect the leading will have on the overall height.</p>
<p>My solution is:</p>
<ol>
<li>Set the autoSize property to TextFieldAutoSize.LEFT.</li>
<li>Insert the new text.</li>
<li>Store the new height.</li>
<li>Set the autoSize property to TextFieldAutoSize.NONE.</li>
<li>Set the height to the stored height value and the leading value from the TextFields TextFormat object.</li>
</ol>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">myTextField.<span style="color: #0066CC;">autoSize</span> = TextFieldAutoSize.<span style="color: #0066CC;">LEFT</span>;
myTextField.<span style="color: #0066CC;">text</span> = <span style="color: #ff0000;">&quot;lorem ipsum&quot;</span>;
<span style="color: #000000; font-weight: bold;">var</span> h:<span style="color: #0066CC;">Number</span> = myTextField.<span style="color: #0066CC;">height</span>;
myTextField.<span style="color: #0066CC;">autoSize</span> = TextFieldAutoSize.<span style="color: #006600;">NONE</span>;
myTextField.<span style="color: #0066CC;">height</span> = h + myTextField.<span style="color: #0066CC;">getTextFormat</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #0066CC;">leading</span>;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/blog/2009/06/fixed-vertical-scrolling-text-bug/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cargo video player</title>
		<link>http://www.lukesturgeon.co.uk/blog/2009/04/cargo-video-player/</link>
		<comments>http://www.lukesturgeon.co.uk/blog/2009/04/cargo-video-player/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 10:22:21 +0000</pubDate>
		<dc:creator>Luke Sturgeon</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/blog/?p=98</guid>
		<description><![CDATA[I quickly prototyped a Flash video player that could be embedded on any HTML page. I was going to use this for my Cargo Collective portfolio but I have still yet to complete this. Although embedding video from my vimeo account feel like a much more robust solution and provides me with all the customisation options that a vimeo plus account has along with using vimeo's CDN to stream the video which will be much faster than progressively downloading the video from my own server. <a href="http://www.lukesturgeon.co.uk/blog/2009/04/cargo-video-player/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I quickly prototyped a Flash video player that could be embedded on any HTML page. I was going to use this for my Cargo Collective portfolio but I have still yet to complete this. Although embedding video from my vimeo account feel like a much more robust solution and provides me with all the customisation options that a <a title="Vimeo Plus" href="http://www.vimeo.com/plus" target="_blank">vimeo plus account</a> has along with using vimeo’s CDN to stream the video which will be much faster than progressively downloading the video from my own server.</p>
<p>I still need to find the previous example source files that I created and once I do I will upload them to this page for archiving.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/blog/2009/04/cargo-video-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first flocking experiment</title>
		<link>http://www.lukesturgeon.co.uk/blog/2009/04/my-first-flocking-experiment/</link>
		<comments>http://www.lukesturgeon.co.uk/blog/2009/04/my-first-flocking-experiment/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 08:34:48 +0000</pubDate>
		<dc:creator>Luke Sturgeon</dc:creator>
				<category><![CDATA[Animation]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[physics]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/blog/?p=16</guid>
		<description><![CDATA[I finally managed to spend a little time exploring Flocking and Emergent Behaviour using Flash to visualise the system. This effect has been done by other people numerous times so it’s nothing new, but it’s the first time I’ve been able to try my hand at it. <a href="http://www.lukesturgeon.co.uk/blog/2009/04/my-first-flocking-experiment/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I finally managed to spend a little time exploring Flocking and Emergent Behaviour using Flash to visualise the system. This effect has been done by other people numerous times so it’s nothing new, but it’s the first time I’ve been able to try my hand at it. As you can imagine a lot more work needs to be done so that the behavior looks better and the groups appear within the system (at the moment the Agents seem to overshoot the groups a lot of the time until they are out of range to affect the group and they all disperse).</p>
<p>You can view the example here <a href="http://www.lukesturgeon.co.uk/blog/wp-content/uploads/2010/03/flocking1.swf" target="_blank">Flocking Example</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/blog/2009/04/my-first-flocking-experiment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bounce my balls</title>
		<link>http://www.lukesturgeon.co.uk/blog/2009/03/bounce-my-balls/</link>
		<comments>http://www.lukesturgeon.co.uk/blog/2009/03/bounce-my-balls/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 08:40:39 +0000</pubDate>
		<dc:creator>Luke Sturgeon</dc:creator>
				<category><![CDATA[Animation]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[physics]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/blog/?p=23</guid>
		<description><![CDATA[I’ve just spent the past couple of hours revisiting some tutorials and thoughts on bouncing ball physics and I wanted to try and incorporate collision detection. <a href="http://www.lukesturgeon.co.uk/blog/2009/03/bounce-my-balls/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I’ve just spent the past couple of hours revisiting some tutorials and thoughts on bouncing ball physics and I wanted to try and incorporate collision detection. As far as I can tell it seems to work quite well. I even set the rotation of each of the balls based on their current x velocity so that it looks like they are actually spinning around – although this causes a bug with the bottom left and bottom right balls constantly spinning.</p>
<p>You can view the experiment here <a href="http://www.lukesturgeon.co.uk/blog/wp-content/uploads/2010/03/homemade_01.swf">Bouncing Balls experiment</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/blog/2009/03/bounce-my-balls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
