In 2004 I participated in a high-school physics tournament where a class mate and I formed a team picked to investigate the “Stubborn Ice” effect. Stubborn ice is the phenomenon that occurs when ice is left to melt in vegetable oil. It then describes an oscillation pattern before it sinks to the bottom of the oil and stays there. While the physics behind the phenomena was very interesting enough I also found a way to flex my graphics muscles and build a visual representation which we used during our presentation of the problem proof.
In the simulation a spherical piece of ice is left to melt in room temperature vegetable oil. Over time a water droplet is formed at the bottom of the sphere as soon as the water-droplet becomes big enough to separate from the ice-sphere the water droplet drops to the bottom of the container while the ice-sphere moves upward in the container.