It'd go well as comparison vs. this code I've been playing around with from Phillip Rosedale (Founder of Second Life) where he's simulating economy for purposes of determining wealth distribution scenarios: https://editor.p5js.org/PhilipRosedale/sketches/odl5elMWy
I'd love to take a look too. Just a suggestion, push it to github then clean it up. It's always helpful to see not just the product but the process.
Great work.
I couldn't find anything on the author's GitHub. I'm mostly just curious how it's built.