How to improve performance: multiple array operations on pixels

Hi, thank you for the answer.
That mean i need to try using the “thread()” class ? (thread() / Reference / Processing.org)
I will try that, im using

  for (int y=0; y<elmt.height; y++){
    for (int x =0; x<elmt.width; x++){..}}

I’ll may try something like

for (int y=0; y<elmt.height; y++){thread("threadX");}

I hope i can have a way to pass argument to the thread call.
It is something like that, you was thinking about ?

Thank you very much :wink:

.Flodeux.