[PD] acceleration - deceleration between coordinates - how to do this?

Thomas Jeppesen jeppesen at skydebanen.net
Tue Mar 16 22:40:17 CET 2010


Thanks - that looks very helpful!

Cheers,
Thomas

Max wrote:
> i use this patch to decide which function suits the application best:
>
>
>   
> ------------------------------------------------------------------------
>
>
>
>
> Am 16.03.2010 um 20:59 schrieb Thomas Jeppesen:
>
>   
>> Hi guys,
>>
>> I'm working on a patch (rjdj scene) where I'm moving a little object around on a plane. The object is been given random coordinates which it is supposed to gradually move to in five seconds.
>>
>> Right now my solution is to bang the x- and y-coordinates into a line-object which works fine, but I'd prefer for the movement to be more "natural". By natural I mean that the object accelerates in the beginning and then decellerates near the end until it comes to a full stop at the exact coordinates that where randomly produced..
>>
>> I've been trying to get my head around a solution for quite a while now, but unfortunately no luck so far.
>>
>> I'm sure this must be simple stuff for some of you PD-geniuses out there, and I'm hoping that one of you will stand up and show me how it's done :)
>>
>> Thanks in advance,
>> Thomas :)
>>
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>>     
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100316/ae2bee90/attachment.htm>


More information about the Pd-list mailing list