Shipped this project!
I’m a hardcore physics nerd and yeah I wanted to build this (a fluid simulation engine emerging from statistical Newtonian laws for collisions) for quite a while now, to better understand the emergence of statistical mechanics.
It was more of a research experiment and I’m glad this was a success.
The hard part here was the collisions, which took a real long while to figure out. And one more thing that would have been a mess was state-management and memory, however I could avoid that because I had well defined classes, methods and functions from the start itself.
Besides that, creating and testing experiments was a fun thing in itself, and hope you’ll enjoy it too!
Best,
void