Slide the sliders to change volume or mass and watch the density change! Use the equation D=M/V Things float if their density is under the density of the liquid (1 for water), they will sink if their density is over the liquid.
My science teacher I just made this In 15 minutes, this is not what I've been working on recently for days