imageio_test


imageio_test, a Python code which demonstrates techniques for creating an animation, such as a GIF or MP4 file, using some version (there are at least 3!) of the imageio library.

So far, my experiences with imageio have been unsatisfactory. The documentation is scanty and obscure, the existence of three incompatible versions is maddening, and the library doesn't seem to make it easy' to do what I want, namely to create images within matplotlib and display them on the screen as an animation. In other words, rather that have matplotlib repeatedly issue Show() commands, requiring the user to close the current image before seeing the next, instead the images would appear automatically with some predetermined interval. Dream on.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

imageio_test is available in a Python version.

Related Data and Programs:

allen_cahn_pde, a Python code which sets up and solves the 1D Allen-Cahn reaction-diffusion partial differential equation (PDE).

graphics_test, a Python code which illustrates how various kinds of data can be displayed and analyzed graphically.

gray_scott_movie, a Python code which solves versions of the partial differential equation (PDE) known as the Gray-Scott reaction diffusion equation, converting the solutions to a sequence of graphics frames, which are then assembled into a movie.

movie_test, a Python code which creates a movie file from a sequence of solutions to a partial differential equation, using matplotlib().

peak_movie, a Python code which creates a sequence of frames, and then an animation or movie from the data displayed by the peaks() function.

Source Code:


Last revised on 09 April 2025.