I refactored a bunch of the easing styles from Raphael.js to use with data 
structures (attached).  Look in [pd movers] and then [pd animate].

The patch itself only works in Pd-l2ork, but you can break out all of the 
animation logic.  You'll just need to replace any instance of [pi(--[pdinfo], 
with the value of Pi.  (I should probably get rid of that anyway.)

Here's a video:
jonathanwilkes.net/easing.webm






On Wednesday, February 26, 2014 4:00 PM, Alexandros Drymonitis 
<adr...@gmail.com> wrote:
 
The mapping library is very likely to have stuff that would be helpful to you, 
I guess..




On Wed, Feb 26, 2014 at 10:42 PM, David Schaffer <schafferda...@hotmail.com> 
wrote:

Hi , 
>
>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...
>
>Thank you very much,
>
>D.S
>
>
>http://www.flickr.com/photos/schafferdavid/
>https://soundcloud.com/schafferdavid
>
>_______________________________________________
>Pd-list@iem.at mailing list
>UNSUBSCRIBE and account-management -> 
>http://lists.puredata.info/listinfo/pd-list
>
>

_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Attachment: easing.pd
Description: Binary data

_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to