This project is based on particle theory where hear energy make the particles move away from each other. Try remixing this and add your own properties , I am still working on making this smooth till then enjoy. Please remember if cold energy>heat energy , the particles will move back to their original position. Just slide the variables to control the project. The code is quite simple to understand and it just follows properties of particles.
All code is done by me.