Hero image

Show Image

What the code does

Shows you how to load an image into PTB, convert it to a texture and then present it on the screen for a specific amount of time. Specifically, the code presents an image for two seconds on a grey background, fills the screen green for two seconds, then finally presents the same image (now upside down) again for two seconds, this time on the green background.

Visualisation

The code

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