Make separate functions for the converter and the gif generator _Originally posted by @elswit in https://github.com/ComputationalScienceLaboratory/ODE-Test-Problems/issues/93#issuecomment-1689175818_