Keys 1-3: Change material
Mouse & shift: attract
Based on the paper Particle based viscoelastic fluid simulation
. Modified with a massive amount of help from kotsoft
910 particles. Sorry if it's a little slow, there's a fair bit of calculation being done here. I recommend downloading it, try running it standalone.Coming soon
: viscoelasticity (lololol), right now I'm just limited to varying viscous fluids, I'm struggling to find an efficient way of managing elastic / plastic materials.
Then again, this thing is pretty bogged down as it is. I've started playing with C# and XNA, I might just switch this over.