<?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>Mike's Brain &#187; interpolation</title>
	<atom:link href="http://blog.witsmith.com/tag/interpolation/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.witsmith.com</link>
	<description>Just ticking away...</description>
	<lastBuildDate>Sat, 04 Jul 2009 19:17:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Smoothstep interpolation for motion control</title>
		<link>http://blog.witsmith.com/2009/03/smoothstep-interpolation-for-motion-control/</link>
		<comments>http://blog.witsmith.com/2009/03/smoothstep-interpolation-for-motion-control/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 23:06:12 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Brain Dump]]></category>
		<category><![CDATA[algorithms]]></category>
		<category><![CDATA[interpolation]]></category>
		<category><![CDATA[motion control]]></category>

		<guid isPermaLink="false">http://blog.witsmith.com/?p=36</guid>
		<description><![CDATA[&#8220;Adding little smoothness to all kinds of movement, be it actual movement of the camera, some object, fading of lights, fading in and out etc, makes things much more enjoyable to watch. Sharp movements and changes are jarring and should be avoided.
danthompsonsblog.blogspot.com/2009/02/smoothstep-interpolation-with-arduino.html
sol.gfxile.net/interpolation/index.html
For example, X ranges between points A and B in N steps.
With linear interpolation:
 for [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;Adding little smoothness to all kinds of movement, be it actual movement of the camera, some object, fading of lights, fading in and out etc, makes things much more enjoyable to watch. Sharp movements and changes are jarring and should be avoided.</p>
<p><a href="http://danthompsonsblog.blogspot.com/2009/02/smoothstep-interpolation-with-arduino.html" target="_blank">danthompsonsblog.blogspot.com/2009/02/smoothstep-interpolation-with-arduino.html</a><br />
<a href="http://sol.gfxile.net/interpolation/index.html" target="_blank">sol.gfxile.net/interpolation/index.html</a></p>
<p>For example, X ranges between points A and B in N steps.</p>
<p>With linear interpolation:</p>
<p style="padding-left: 30px;"> for (i = 0; i &lt; N; i++)<br />
 {<br />
   v = i / N;<br />
   X = (A * v) + (B * (1 &#8211; v));<br />
 } </p>
<p>With smoothing:</p>
<p style="padding-left: 30px;">#define SMOOTHSTEP(x) ((x) * (x) * (3 &#8211; 2 * (x)))<br />
for (i = 0; i &lt; N; i++)<br />
 {<br />
   v = i / N;<br />
   v = SMOOTHSTEP(v);<br />
   X = (A * v) + (B * (1 &#8211; v));<br />
 }</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.witsmith.com/2009/03/smoothstep-interpolation-for-motion-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
