Demonstrating the Potential of Visualization in Education with the Manim Python Library: Examples from Algorithms and Data Structures
Milorad Marković, Ivan Kaštelan · 2024
Visualization is a powerful tool for learning and teaching complex concepts, especially in the field of computer science. However, creating effective and engaging visualizations can be challenging and time-consuming for educators and students. This paper demonstrates how the Manim Python library, a free and open-source project for creating mathematical animations, can be used to create visualizations that illustrate algorithms and data structures in an undergraduate course. The paper showcases several examples of visualizations created with the Manim library, and explains how they help the students to understand the logic, behavior, and performance of the algorithms and data structures. The paper also discusses the benefits and limitations of the Manim library, and suggests some directions for future research and development.