in Processing, get() grab the value of colors of a particular pixel on the screen.
Is there something like that with OF ?
Of course we can use grabscreen for a portion of the screen but that would require a lot of call in my case of procedural painting with agents (each agent would have to call grabscreen to allocate and image and would have to find the value of colors for this 1x1 image pixel)
in processing, depending on the mode, the graphics are rendered in RAM so getting pixels are easier. In opengl, the pixels are on the graphics card and need to be read back, which can be done in different ways. i’m not sure how much you need to read back, but can you try this first: