generate palette moved in worker thread