Starting from the first pixel at the top left, proceeding to the right, and then in the following rows of pixels:
Antonio Belluscio (@livinbits) December 2021 (first version: 2015)
Instructions:
PS: The name "frameCount" comes from the Processing variable that contains the frame number to be drawn.