I am Nicola, a new user.
I am writing a program in c++ about heat dissipation. I refresh the temperature matrix using a for loop and I want somehow create a movie with this matrix. to be more clear:
matrix at time zero = first frame
matrix at time one = second frame
.
.
.
matrix at time n-th = n-th frame
every matrix has an x and y coordinates and the value, so it is like an image, a frame. I refresh this matrix with a for loop so now it is not saved anywhere. I mean, after the loop this matrix contains only the information about the last step of the for loop. at first I thought to save the matrix as txt file at every iteration but it is not a good idea. I would have a lot of txt files and I still don't have idea on how make a "movie".
yes, I mean that at time 0 i see the matrix at time zero, at time 1 i see the matrix at the next iteration