Augmented Algorithm: Generating Interactive Algorithm Visualizations from Static Textbook Pseudocode
Abstract
Learning data structures and algorithms is a fundamental activity in computer science education, but this is challenging due to their abstract and dynamic nature. While algorithm visualization tools have shown pedagogical benefits, they remain underutilized in educational settings due to creation or integration difficulties. We introduce Augmented Algorithm, a novel LLM-powered algorithm visualization tool that transforms static textbook pseudocode into embedded, interactive algorithm visualizations. Our web-based system combines computer vision with LLMs to automatically generate synchronized, step-by-step algorithm animations from pseudocode directly within scanned textbook pages. We evaluated through technical evaluation, a usability study with students (N=15), and expert interviews with instructors (N=6). Results show that our system significantly reduces algorithm visualization development and access effort while enabling more interactive and tailored learning experiences for algorithmic concepts. All supplemental materials required to reproduce the study are available on https://osf.io/5xrmy.
Create a lesson
Metadata
- Categories
- cs.HC, cs.AI
- Comments
- Conditionally accepted at IUI 2027
Related papers
PromptPoseFX: Authoring Pose-Driven Visual Effects through Augmented Prompting and Interactive Refinement
Shared title terminologycs.HCKexin Zheng, Hui Ye, Hongbo Fu
Beyond Heatmaps: Evaluating More Effective Feature Interaction Visualizations for Generalized Additive Models
Shared title terminologycs.HCNico Hambauer, Julian Rosenberger, Maximilian Veitl et al.
Connecting Climate Projections to Disaster Impacts and Economic Vulnerability through an Interactive Visual Analytics Dashboard
Shared title terminologycs.HCPeter Waldert, David Kneidinger, Patrick Hanfstingl et al.
Introducing ReTiNA-Cinema: Real-Time Neuro-Augmented Cinema via Generative AI
Shared title terminologycs.HCAntoine Bellemare-Pepin, Philipp Thölke, Yann Harel et al.
VideoTrail: Interactive Video Foraging Through Hierarchical Visualization
Shared title terminologycs.HCCatherine Yeh, Bryan Wang, Fernanda Viégas et al.
Sidewalk Stewards: A Visual Analytics Approach for Interactive Topology Repair of Sidewalk Networks
Shared title terminologycs.HCStefan Cobeli, Leonardo Ferreira, Logan Loch et al.