This app is used to demonstrate how a spherical object with a finite volume immersed in a fluid experiences an upthrust due to the differences in pressure around it.
Given that the centre of mass remains in the same position within the fluid, as the radius increases, the pressure due to the fluid above the object decreases while the pressure below increases. This is because hydrostatic pressure at a point is proportional to the height of the fluid above it.
It can also be used to show that when the volume becomes infinitesimal, the pressure acting in all directions is equal.
The following codes can be used to embed this into SLS.
<iframe scrolling="no" title="Hydrostatic Pressure and Upthrust" src="https://www.geogebra.org/material/iframe/id/xxeyzkqq/width/640/height/480/border/888888/sfsb/true/smb/false/stb/false/stbh/false/ai/false/asb/false/sri/false/rc/false/ld/false/sdz/false/ctl/false" width="640px" height="480px" style="border:0px;"> </iframe>