added Matplotlib animation visualization