Hero image

Wait Frames

What the code does

This demonstrates how to update an image on the screen at a rate different to that of the monitors refresh rate. Here we update the color of the screen to a random color (RGB value) every second. The code will run until you press any keyboard button to exit. This way of coding is more optimal for drawing static stimuli which do not change on every screen refresh, as shown in Accurate Timing Demo. It demomstrates some of the f

Visualisation

The code

Instagram image Instagram image Instagram image Instagram image Instagram image Instagram image