Introduction - If you have any usage issues, please Google them yourself
Architecture
MVC核心封装实现图形仓库、视图渲染和交互控制:
• Stroage(M) : shape数据CURD管理
• Painter(V) : canvase元素生命周期管理,视图渲染,绘画,更新控制
• Handler(C) : 事件交互处理,实现完整dom事件模拟封装
• shape : 图形实体,分而治之的图形策略,可定义扩展
• tool : 绘画扩展相关实用方法,工具及脚手架
• animation : 动画扩展,提供promise式的动画接口和常用缓动函数