I made a module to run arbitrary tasks in parallel
If you end up using my module, do not run each pixel as a separate task. While the module does itself group tasks together to reduce overhead, you’ll get the best performance if you do that yourself. A simple way to do that is create one task per line, so 360 tasks in your case which isn’t bad
For the use of parallel lua to be effective, each task should be a decent amount of work. In your case, this should be the case
There are also other modules like mine you can find on the dev forum