Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: high speed strobe problems



Hi Keith. You could achieve this effect using javascript to strobe every other frame using feedback.
Here's some pseudocode which should help.


if ((outputs[0] == undefined) || (outputs[0] == 1)) outputs[0] = 0;
else outputs[0] = 1;

Of note, this is frame rate dependent. If you were looking
for a solution which was not then you could use the same technique, but check too see if a certain amount of time
had passed and then flip.
.xX




On May 24, 2006, at 2:58 AM, Keith Lang wrote:

Hello all again,

I'm trying now to strobe an image (by adding a black overlay) at approx 0.05 duration, but in fullscreen mode, the timing occasionally drops and the strobing effect is a little inconsistant.

any way to sync it with the framerate?


thanks,

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


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >high speed strobe problems (From: Keith Lang <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.