~much~ nicer version of my previous particle simulator (now with portals!)