<?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>Shide and Prame &#187; Computer Programming</title>
	<atom:link href="http://aidan.rfm.co.nz/blog/tag/coding/feed/" rel="self" type="application/rss+xml" />
	<link>http://aidan.rfm.co.nz/blog</link>
	<description>Aidan&#039;s digital life</description>
	<lastBuildDate>Fri, 21 May 2010 01:45:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Catmull-Rom curve</title>
		<link>http://aidan.rfm.co.nz/blog/2009/08/catmull-rom-curve/</link>
		<comments>http://aidan.rfm.co.nz/blog/2009/08/catmull-rom-curve/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 05:54:39 +0000</pubDate>
		<dc:creator>aidan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Computer Programming]]></category>
		<category><![CDATA[Flash and ActionScript]]></category>

		<guid isPermaLink="false">http://aidan.rfm.co.nz/blog/?p=49</guid>
		<description><![CDATA[Ever wanted to draw a curve directly through any number of points with the Flash Graphics class?]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to draw a curve directly through any number of points with the Flash Graphics class?</p>
<p>Here&#8217;s a class that will do that for you. It uses a &#8220;<a title="Catmull-Rom wikipedia article" href="http://en.wikipedia.org/wiki/Catmull-Rom_spline#Catmull.E2.80.93Rom_spline" target="_blank">Catmull-Rom</a>&#8221; spline (named after its inventors), which draws directly through any number of points.</p>
<p>It&#8217;s not a spectacular or pretty looking curve. It&#8217;s very &#8220;dowdy&#8221;, and somewhat ugly, but it doesn&#8217;t make wild swinging curves like many other equations. This humble quality makes it really good for situations where it&#8217;s important that the curve stays pretty close to the control points.</p>
<p><a href="http://aidan.rfm.co.nz/blog/wp-content/catmullromexample.swf">Example SWF</a> (<a href="http://aidan.rfm.co.nz/blog/wp-content/catmullromexample.as">actionscript code</a>)</p>
<p><a href="http://aidan.rfm.co.nz/blog/wp-content/catmullrom.as">CatmullRom curve actionscript class</a></p>
]]></content:encoded>
			<wfw:commentRss>http://aidan.rfm.co.nz/blog/2009/08/catmull-rom-curve/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
