multithreaded particle engine