<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt">I refactored a bunch of the easing styles from Raphael.js to use with data structures (attached).&nbsp; Look in [pd movers] and then [pd animate].<br><br>The patch itself only works in Pd-l2ork, but you can break out all of the animation logic.&nbsp; You'll just need to replace any instance of [pi(--[pdinfo], with the value of Pi.&nbsp; (I should probably get rid of that anyway.)<br><br>Here's a video:<br>jonathanwilkes.net/easing.webm<br><br><div><span><br></span></div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font
 face="Arial" size="2"> On Wednesday, February 26, 2014 4:00 PM, Alexandros Drymonitis &lt;adrcki@gmail.com&gt; wrote:<br> </font> </div>  <div class="y_msg_container"><div id="yiv3303408733"><div dir="ltr">The mapping library is very likely to have stuff that would be helpful to you, I guess..<br></div><div class="yiv3303408733gmail_extra"><br><br><div class="yiv3303408733gmail_quote">On Wed, Feb 26, 2014 at 10:42 PM, David Schaffer <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:schafferdavid@hotmail.com" target="_blank" href="mailto:schafferdavid@hotmail.com">schafferdavid@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="yiv3303408733gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


<div><div dir="ltr">Hi , <br><br>I was wonderning if anyone of you had tried to implement easing in pd. I'm working on a video animation patch that uses "random" objects and the result would look much better if I could find a way to "smooth" the transitions. I already use the "line" object, but I'm looking for a way to slow down the line output when the line comes to its end, then start smoothly when it has a new target value. I'm thinking of using the expr object but I would be grateful if someone could give me some design hints on this...<br>
<br>Thank you very much,<br><br>D.S<br><br><div>
<div style="MARGIN:0cm 0cm 0pt;"><font size="3"><font face="Times New Roman"><a rel="nofollow" target="_blank" href="http://www.flickr.com/photos/schafferdavid/">http://www.flickr.com/photos/schafferdavid/</a></font></font></div>
<div style="MARGIN:0cm 0cm 0pt;"><a rel="nofollow" target="_blank" href="https://soundcloud.com/schafferdavid"><font style="font-size:12pt;" size="3"><font face="Times New Roman">https://soundcloud.com/schafferdavid</font></font></a><br></div>
</div>                                               </div></div>
<br>_______________________________________________<br>
<a rel="nofollow" ymailto="mailto:Pd-list@iem.at" target="_blank" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a rel="nofollow" target="_blank" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div></div><br>_______________________________________________<br><a ymailto="mailto:Pd-list@iem.at" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br><br><br></div>  </div> </div>  </div> </div></body></html>