This was done for my Data Structures and Algorithms paper at AUT
This program above was making a LinkedSet and LinkedRRSet. LinkedSet is an linked list implementation but with a set so it cannot contain duplicates.
Each element in the grid is a thread and its temperature is accessed by other threads as well. The other threads would be the neighbours of that element. The threads are synchronized so that they do not run into race conditions.
Clicking on an element will apply the temperature
The temperature slider represents how much temperature to apply and the heat constant the rate of application.