I didn't know about web workers until now, would be a nice to try! I'm not sure though if they work well with ProcessingJS...