Press space to change the object's shape. Use the precision slider to change the accuracy of the simulation, but more accurate also means slower. Change resistance to edit the air and water resistance, for this simulator I'm just assuming they're the same, even though in reality this wouldn't even be close to true. Size... is trivial. Density changes... well, the density. It's measured in g/cm^3, where 1 is water and 0.92 is ice. Show sample points shows where my code is testing to see for whether or not they are wet. "found" is how many of the sample points are wet. "vy" is the vertical acceleration of the object. Last and probably least, "IsWet?" is 0 if the object is dry, and 1 if it's wet. This isn't necessary for the program, it just helps speed things up a bit. Oh, also the forces lag one frame behind where the object actually is. I could fix this if I wanted to, but I don't really care. If you're going to use this in one of your projects, just put "Credit to @guineapiggamer101 for buoyancy physics", okey?