This a project that simulates sand and water (and oil I guess, it's just water but colored differently and goes up when in water). However, the program isn't as fast as I'd like it to be, and there are some quirks that happen when there is a stream of particles. I am not sure how to help with both of these problems, so I would appreciate any help.
yes i did code all of this by myself (did you try comparing griffpatch's code to the code in this project?). but i did take inspiration from griffpatch's version, with the inclusion of water. but there are other games/apps like this, not just griffpatch's version.
i just found out they're called "falling-sand games"