Total Entropy of a Phase Transition

In this tutorial, students create a graphic visualizing a phase transition at a non-transition temperature. The assignment requires students to calculate the entropy and enthalpy associated with phase transitions and temperature changes. You can access the student-facing assignment prompt here.
Students should be familiar with the basics of python before attempting this assignment. (A tutorial can be found here). The assignment can be implemented in trinket (which requires a free account). Students should also be familiar with the python package turtle; trinket has an excellent tutorial for turtle available here.
If you would like access to example code to use as a key, please email me from your institutional account. An example (with code hidden) is shown below: