<?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>*drawlogic &#187; easing</title>
	<atom:link href="http://drawlogic.com/tag/easing/feed/" rel="self" type="application/rss+xml" />
	<link>http://drawlogic.com</link>
	<description>interactive and game development technologies for the web - flash, flex, unity3d, silverlight, javascript</description>
	<lastBuildDate>Thu, 22 Dec 2011 21:55:20 +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>iTween Tweening and Easing Animation Library for Unity 3D</title>
		<link>http://drawlogic.com/2010/04/11/itween-tweening-and-easing-animation-library-for-unity-3d/</link>
		<comments>http://drawlogic.com/2010/04/11/itween-tweening-and-easing-animation-library-for-unity-3d/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 23:38:46 +0000</pubDate>
		<dc:creator>drawk</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[JAVASCRIPT]]></category>
		<category><![CDATA[PROGRAMMING]]></category>
		<category><![CDATA[TECHNOLOGY]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[ANIMATION]]></category>
		<category><![CDATA[easing]]></category>
		<category><![CDATA[itween]]></category>
		<category><![CDATA[tweener]]></category>
		<category><![CDATA[tweenlite]]></category>
		<category><![CDATA[unity]]></category>
		<category><![CDATA[unity3d]]></category>

		<guid isPermaLink="false">http://drawlogic.com/?p=772</guid>
		<description><![CDATA[iTween is a tweening kit for Unity that is in the same style as TweenLite, Tweener and others in the tween format that is common for flash tween libraries in Actionscript 3. This library is available in javascript and C# for Unity 3d Projects and is quite fast and solid. iTween is a simple one [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.pixelplacement.com/iTween/"><img class="alignright" title="iTween for Unity" src="http://i81.photobucket.com/albums/j223/drawkbox/iTweenLogo.png" alt="" width="349" height="145" /></a><a href="http://www.pixelplacement.com/iTween/" target="_blank">iTween</a> is a tweening kit for Unity that is in the same style as <a href="http://www.greensock.com/tweenlite/" target="_blank">TweenLite</a>, <a href="http://code.google.com/p/tweener/" target="_blank">Tweener</a> and others in the tween format that is common for flash tween libraries in Actionscript 3. This library is available in <a href="http://www.pixelplacement.com/iTween/" target="_blank">javascript </a>and <a href="http://www.insquare.com/itween/" target="_blank">C#</a> for Unity 3d Projects and is quite fast and solid.</p>
<p>iTween is a simple one file drop in for some great scripted animation and easing that is very reminiscent of Flash using Penner equations and common libraries so it is easy to get started. It works for web player, desktop and iPhone Unity (however long that lasts).</p>
<p>Some sample code looks like this:</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">private</span> GameObject go<span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">private</span> GameObject cam<span style="color: #008000;">;</span>
&nbsp;
<span style="color: #6666cc; font-weight: bold;">void</span> Awake<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
    go <span style="color: #008000;">=</span> gameObject<span style="color: #008000;">;</span>
    cam <span style="color: #008000;">=</span> Camera<span style="color: #008000;">.</span><span style="color: #0000FF;">main</span><span style="color: #008000;">.</span><span style="color: #0000FF;">gameObject</span><span style="color: #008000;">;</span>
<span style="color: #008000;">&#125;</span>
&nbsp;
<span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #6666cc; font-weight: bold;">void</span> Start<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
    iTween<span style="color: #008000;">.</span><span style="color: #0000FF;">rotateFrom</span><span style="color: #008000;">&#40;</span>go, 1<span style="color: #008000;">.</span>5f, <span style="color: #FF0000;">0</span>, <span style="color: #0600FF; font-weight: bold;">null</span>, <span style="color: #FF0000;">90</span>, <span style="color: #0600FF; font-weight: bold;">null</span>, iTween<span style="color: #008000;">.</span><span style="color: #0000FF;">EasingType</span><span style="color: #008000;">.</span><span style="color: #0000FF;">easeInExpo</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
    iTween<span style="color: #008000;">.</span><span style="color: #0000FF;">moveFrom</span><span style="color: #008000;">&#40;</span>go, 1<span style="color: #008000;">.</span>5f, <span style="color: #FF0000;">0</span>, <span style="color: #0600FF; font-weight: bold;">null</span>, 3<span style="color: #008000;">.</span>5f, <span style="color: #0600FF; font-weight: bold;">null</span>, iTween<span style="color: #008000;">.</span><span style="color: #0000FF;">EasingType</span><span style="color: #008000;">.</span><span style="color: #0000FF;">easeInExpo</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
    iTween<span style="color: #008000;">.</span><span style="color: #0000FF;">colorTo</span><span style="color: #008000;">&#40;</span>go, <span style="color: #008000;">.</span>3f, 1<span style="color: #008000;">.</span>5f, <span style="color: #FF0000;">3</span>, <span style="color: #008000;">.</span>5f, 1<span style="color: #008000;">.</span>2f<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
    iTween<span style="color: #008000;">.</span><span style="color: #0000FF;">shake</span><span style="color: #008000;">&#40;</span>cam, <span style="color: #008000;">.</span>8f, 1<span style="color: #008000;">.</span>5f, <span style="color: #0600FF; font-weight: bold;">null</span>, <span style="color: #008000;">.</span>3f, <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
    iTween<span style="color: #008000;">.</span><span style="color: #0000FF;">scaleTo</span><span style="color: #008000;">&#40;</span>go, <span style="color: #FF0000;">2</span>, 2<span style="color: #008000;">.</span>3f, <span style="color: #0600FF; font-weight: bold;">null</span>, <span style="color: #FF0000;">2</span>, <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
    iTween<span style="color: #008000;">.</span><span style="color: #0000FF;">rotateBy</span><span style="color: #008000;">&#40;</span>go, <span style="color: #0600FF; font-weight: bold;">null</span>, 4<span style="color: #008000;">.</span>3f, <span style="color: #008000;">.</span>5f, <span style="color: #0600FF; font-weight: bold;">null</span>, <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
    iTween<span style="color: #008000;">.</span><span style="color: #0000FF;">moveTo</span><span style="color: #008000;">&#40;</span>go, <span style="color: #0600FF; font-weight: bold;">null</span>, 4<span style="color: #008000;">.</span>6f, <span style="color: #0600FF; font-weight: bold;">null</span>, 1<span style="color: #008000;">.</span>2f, <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
    iTween<span style="color: #008000;">.</span><span style="color: #0000FF;">moveTo</span><span style="color: #008000;">&#40;</span>go, <span style="color: #0600FF; font-weight: bold;">null</span>, 5<span style="color: #008000;">.</span>8f, <span style="color: #0600FF; font-weight: bold;">null</span>, <span style="color: #FF0000;">0</span>, <span style="color: #0600FF; font-weight: bold;">null</span>, iTween<span style="color: #008000;">.</span><span style="color: #0000FF;">EasingType</span><span style="color: #008000;">.</span><span style="color: #0000FF;">easeInExpo</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
    iTween<span style="color: #008000;">.</span><span style="color: #0000FF;">shake</span><span style="color: #008000;">&#40;</span>cam, <span style="color: #008000;">.</span>8f, 6<span style="color: #008000;">.</span>8f, <span style="color: #0600FF; font-weight: bold;">null</span>, <span style="color: #008000;">.</span>3f, <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
    iTween<span style="color: #008000;">.</span><span style="color: #0000FF;">colorTo</span><span style="color: #008000;">&#40;</span>go, <span style="color: #008000;">.</span>5f, 7<span style="color: #008000;">.</span>6f, <span style="color: #008000;">.</span>165f, <span style="color: #008000;">.</span>498f, <span style="color: #008000;">.</span>729f<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
    iTween<span style="color: #008000;">.</span><span style="color: #0000FF;">scaleTo</span><span style="color: #008000;">&#40;</span>go, <span style="color: #0600FF; font-weight: bold;">null</span>, 7<span style="color: #008000;">.</span>6f, <span style="color: #0600FF; font-weight: bold;">null</span>, <span style="color: #FF0000;">1</span>, <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #008000;">&#125;</span></pre></div></div>

<ul>
<li><a href="http://www.pixelplacement.com/iTween/" target="_blank">Download Javascript iTween</a> by Bob Berkebile (<a href="http://www.pixelplacement.com/" target="_blank">pixelplacement.com</a>)</li>
<li><a href="http://www.insquare.com/itween/" target="_blank">Download C# iTween</a> by Patrick Corkum (<a href="http://www.insquare.com/" target="_blank">insquare.com</a>)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://drawlogic.com/2010/04/11/itween-tweening-and-easing-animation-library-for-unity-3d/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>AS3 New Tween Animation Engine Called gTween from Grant Skinner</title>
		<link>http://drawlogic.com/2008/08/19/as3-new-tween-engine-gtween-from-grant-skinner/</link>
		<comments>http://drawlogic.com/2008/08/19/as3-new-tween-engine-gtween-from-grant-skinner/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 10:44:44 +0000</pubDate>
		<dc:creator>drawk</dc:creator>
				<category><![CDATA[ACTIONSCRIPT]]></category>
		<category><![CDATA[ACTIONSCRIPT3]]></category>
		<category><![CDATA[ARCHITECT]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[DEVELOPMENT]]></category>
		<category><![CDATA[FLASH]]></category>
		<category><![CDATA[FLEX]]></category>
		<category><![CDATA[GAMEDEV]]></category>
		<category><![CDATA[PROGRAMMING]]></category>
		<category><![CDATA[TECHNOLOGY]]></category>
		<category><![CDATA[ANIMATION]]></category>
		<category><![CDATA[easing]]></category>
		<category><![CDATA[ENGINE]]></category>
		<category><![CDATA[tween]]></category>

		<guid isPermaLink="false">http://drawk.wordpress.com/?p=253</guid>
		<description><![CDATA[There is another new Tween engine from Grant Skinner called gTween, further demonstrating the fun in coding with AS3.  Frameworks and kits are duplicating much like the Python community because the language and platform are quite empowering.  Do we have too many Tween engines, maybe but be glad the flash community has this many and [...]]]></description>
			<content:encoded><![CDATA[<p>There is another <a href="http://www.gskinner.com/blog/archives/2008/08/gtween_a_new_tw.html" target="_blank">new Tween engine from Grant Skinner called gTween</a>, further demonstrating the fun in coding with AS3.  Frameworks and kits are duplicating much like the Python community because the language and platform are quite empowering.  Do we have too many Tween engines, maybe but be glad the flash community has this many and share, it only makes each iteration better.</p>
<blockquote>
<h3>Additional Features<span class="sub"> </span></h3>
<p>gTween has a lot of additional features. I&#8217;m not going to write about all of them, but here are a few:</p>
<ul>
<li> autoHide, sets the target&#8217;s visible to false when the tweened alpha is 0</li>
<li> autoReverse, reverses the tween when it ends (and plays it backwards if autoPlay is true).</li>
<li> smartRotate, rotates in shortest direction</li>
<li> supports using setSize for tweening height and width on components</li>
<li> support for updating properties like matrix and colorTransform automatically during a tween.</li>
<li> jump to any point in a tween by setting position.</li>
<li> loop a tween by setting nextTween equal to the same tween.</li>
<li> determine the state of a tween with the state and paused properties.</li>
</ul>
<h3>Download<span class="sub"> (Beta 1)</span></h3>
<p>To access the API documentation, and download the latest build of GTween, visit the GTween page at <a href="http://gskinner.com/libraries/gtween/">gskinner.com/libraries/gtween/</a>.</p></blockquote>
<p><a name="download"></a></p>
<p><strong>Here is a list of all open AS3 Tweening engines and base kits</strong></p>
<ul class="xoxo blogroll">
<li><a href="http://www.alex-uhlmann.de/flash/animationpackage/">Animation Package</a></li>
<li><a href="http://www.boostworthy.com/blog/?p=170">AS3 Animation System 2.1</a></li>
<li><a href="http://www.uza.lt/codex/as3-easing/" target="_blank">AS3Easing</a></li>
<li><a href="http://www.goasap.org/">Go (base animation kit)</a></li>
<li><a href="http://www.gskinner.com/blog/archives/2008/08/gtween_a_new_tw.html" target="_blank">gTween</a></li>
<li><a href="http://code.google.com/p/kitchensynclib/" target="_blank">KitchenSync</a></li>
<li><a href="http://code.google.com/p/twease/" target="_blank">Twease</a></li>
<li><a href="http://code.google.com/p/tweener/">Tweener</a></li>
<li><a href="http://blog.greensock.com/tweenliteas3">TweenLite (TweenMax)<br />
</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://drawlogic.com/2008/08/19/as3-new-tween-engine-gtween-from-grant-skinner/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

