The game wouldn't be laggy at all, it'd be as simple as making a 4x4 grid that stores temperature values, and making the game calculate difference with each particle from the grid block it's under before calculating averages from its eight surrounding particles.