[PD] animation api

João Pais jmmmpais at gmail.com
Sun Jan 3 20:00:03 CET 2016


Is there an estimated release time of your edition, or do you need any  
help with testing etc?

> Hi list,
> I'm playing with adding a simple animation api to data structure drawing  
> commands.The parameters will be sent to the GUI, and the GUI will take  
> care of the ramp, delay, etc.
>
> I'm thinking of just making it a simple "set it and forget it" api.   
> That is, you send a messagewith your ramp and delay times to the GUI,  
> and you just blindly trust that the GUI will makethings happen in the  
> right amount of time.  The alternative I can think of is to have the GUI 
> call back when an animation is finished, but that would encourage mixing  
> the two clocks(i.e., GUI and Pd clock) in unpredictableways.
>
> Does this simple approach seem like a reasonable design?  The biggest  
> problem would be thata long-running animation could skew.  But in that  
> case you could probably amortize the cost of
> sending more messages over the longer time period.
>
> -Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160103/0bb0cbb3/attachment.html>


More information about the Pd-list mailing list