随笔分类 -  动画

摘要:项目地址:https://birthday-narutoen.oasgames.com/ 要求:每条留言的 移动速度,背景颜色随机 效果图: 参考文章:张鑫旭:使用canvas实现和HTML5 video交互的弹幕效果 阅读全文
posted @ 2021-04-12 12:00 CatherLee 阅读(152) 评论(0) 推荐(0)
摘要:方法一:基于canvas实现多个人物序列帧切换 (原生写法) class cavasAnimate { constructor(id, activeRw) { this.id = id; this.sourcesRw = {}; this.canvas = null; this.ctx = null 阅读全文
posted @ 2020-07-10 11:18 CatherLee 阅读(1133) 评论(0) 推荐(0)