So I managed to get ChatGPT to write a solution to the heat equation, change the initial condition, find a numerically stable step size, display it in javascript/html animated make the plot fancy. Completely written by ChatGPT, no manual fixes to the code.