Visual Intelligence for Program Animation

Mohamed Moussa, Nada Sharaf

2025

Abstract

This paper introduces CodeMotion: an AST-driven web-based program visualization tool designed to improve learners’ understanding of JavaScript code execution and algorithmic concepts through interactive visual exploration. By parsing user-submitted code into Abstract Syntax Trees (ASTs), the system enables secure, step-by-step simulations of program logic without direct execution, addressing common security and scalability issues found in traditional approaches. In contrast to existing browser-based and educational visualization tools, our platform offers granular control over the execution process, supports algorithm visualization (e.g., sorting), and is easily extendable to other code structures. Usability testing with a sample of computer science students demonstrates that this approach reduces complexity, increases user confidence, and leads to measurable improvements in comprehension. The tool allows users to trace their programs not pre-defined algorithms. This allows them to gain more understanding of their bugs. In addition, various aspects of the visualization are controlled by the user.

Download


Paper Citation


in Harvard Style

Moussa M. and Sharaf N. (2025). Visual Intelligence for Program Animation. In Proceedings of the 17th International Conference on Computer Supported Education - Volume 1: CSEDU; ISBN 978-989-758-746-7, SciTePress, pages 565-572. DOI: 10.5220/0013432000003932


in Bibtex Style

@conference{csedu25,
author={Mohamed Moussa and Nada Sharaf},
title={Visual Intelligence for Program Animation},
booktitle={Proceedings of the 17th International Conference on Computer Supported Education - Volume 1: CSEDU},
year={2025},
pages={565-572},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0013432000003932},
isbn={978-989-758-746-7},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 17th International Conference on Computer Supported Education - Volume 1: CSEDU
TI - Visual Intelligence for Program Animation
SN - 978-989-758-746-7
AU - Moussa M.
AU - Sharaf N.
PY - 2025
SP - 565
EP - 572
DO - 10.5220/0013432000003932
PB - SciTePress