摘要
基于最新的HTML5标准,笔者设计实现了一款算法可视化编辑器,可用于算法的动态演示、算法教学等。该设计建立在基于oCanvas的动画框架和算法动画库上,设计出了基于时间线脚本序列的定义和存储。编辑器通过动画框架控制动画进程,通过调用算法动画库来实现动画效果,丰富了算法教学的手段。
Based on the latest HTML5 standard,an algorithm visualization editor is designed and implemented,which can be used for dynamic demonstration and algorithm teaching.The design is based on the ocanvas based animation framework and algorithm animation library,and the definition and storage of script sequence based on timeline are designed.The editor controls the animation process through the animation framework,realizes the animation effect by calling the algorithm animation library,and enriches the method of algorithm teaching.
作者
戴文鑫
袁榕澳
Dai Wenxin;Yuan Rongao(College of Computer Science,Sichuan University,Chengdu Sichuan 610065,China;Wu Yuzhang Honors College,Sichuan University,Chengdu Sichuan 610065,China)
出处
《信息与电脑》
2020年第5期64-66,共3页
Information & Computer