I put some code pieces on GitHub concerned with generation of noisy background images and parallel task assignment/running.