Hi
Im trying to draw squares with a temporal frequency of say 10 Hz without clearing the screen.
I get incremental drawing of images (so that works), but not at the frequency I want (it's much slower).
I use something like:
tf = 10;
while 1
...
Screen('FillRect', w,RGB,squareRect);
t0 = Screen('Flip', w,t0+(1/tf),1);
end
Can anyone help?
Im trying to draw squares with a temporal frequency of say 10 Hz without clearing the screen.
I get incremental drawing of images (so that works), but not at the frequency I want (it's much slower).
I use something like:
tf = 10;
while 1
...
Screen('FillRect', w,RGB,squareRect);
t0 = Screen('Flip', w,t0+(1/tf),1);
end
Can anyone help?