Shader output to Processing

You can have your shaders render to an image and then interpret the colors as your output data or you can use SSBOs which requires you to go “under the covers” of Processing and use OpenGL calls directly.