On Oct 24, 2005, at 10:55 PM, Daniel Heckenberg wrote:
I'm just getting started with quartz composer and for my first
trick, I thought I'd play with some flicker effects. In order to
make this somewhat FPS independent I'm looking for a block or patch
method to toggle a number (int or boolean) each time the view is
rendered.
Suitable generators (e.g. LFO with square wave) seem to have
periods in real time. An obvious fudge (using a 0 period or period
less than the frame period) doesn't seem to give my intended
effect... it correctly samples the specified waveform.
The other obvious approach -- using a Conditional or Logic block
looped back on itself -- doesn't seem to be allowed as a valid
patch. The same issue seems to preclude using a counter with reset
caused by a chained conditional.
My first working attempt is a Counter followed by a Range and then
taking the Rolled-Over Value.
Is there a better way? And more generally, is there a general
buffer block to allow loops to be formed?