On Jan 12, 2011, at 17:47 , Christopher Wright wrote:
> This isn't possible in the construct of QC

I understand that. Although logical, it seems paradoxal that Quartz is so good 
at real-time rendering and so weak at real-time input. I'll investigate further 
on my options. Nothing happens between two frames. Check.

On Jan 10, 2011, at 1:48 , Christopher Wright wrote:
> In fact, I can't think of any times I've wanted a queue _not_ in continuous 
> mode, but there's probably a novel use out there somewhere.


If you need to retrieve a direction angle from a movement using atan2(x,y), you 
must update two queues only if their input values change - otherwise you end up 
with equal numbers when motion stops, resulting in a sudden drop to zero - 
whatever direction you were facing a frame before. Updating only when value 
changes allows you in this situation to keep your last few deltas at hand, and 
return consistant directional calculation.

On the other hand, calculating movement speed calls for continuous filling, 
otherwise it won't decrease if you stop moving.

dimitri


Attachment: dd_Movement to trajectory.qtz
Description: application/quartzcomposer

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to