PROPixx Demo 1 -- Drawing dots at 480 Hz ================================================================================== This demo is a simple demonstration of the PROPixx's 480 Hz sequencer. We show four random-color dots around the center of the screen, cycling at a rate of 480 Hz. The demo ends when a key is pressed. Currently, there is no graphics card capable of drawing individual frames at 480 Hz. In order to achieve this refresh rate, the PROPixx uses a built-in "sequencer" that takes a 1920 x 1080, 120 Hz video signal and breaks it into multiple frames which are then displayed in sequence. In 480 Hz mode, we divide the 1920 x 1080 image into four full color 960 x 540 images, or "quadrants" and show these in a sequence starting with the top left quadrant. All quadrants are displayed full-screen. .. image:: Quad4xStill.* :width: 500 :align: center To create our stimuli, we draw our targets as if they were full resolution, full screen. The helper script ``convertToQuadrant`` reassigns and rescales the target positon to the correct quadrant. A screen running in 120 Hz mode will show the four quadrants drawn on the same frame: .. image:: 480HzDemoFullHD.* :width: 300 :align: center The PROPixx in 480 Hz mode will display the four quadrants in sequence: .. image:: 480HzDemoGif.* :width: 300 :align: center .. literalinclude:: ../DatapixxToolbox/DatapixxDemos/PPxDraw480HzDots.m :language: matlab :emphasize-lines: 44, 45, 74, 82, 90, 98, 112, 113, 118-132 :linenos: