1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <style> 5 #canvas{ 6 background-color:#cccccc; 7 8 } 9 </style> 10 <script> 11 window.onload=function(){ 12 var canvas=document.getElementById("canvas"); 13 var cobj=canvas.getContext("2d"); 14 // var num=150; 15 var arr=[]; 16
利用HTML5的canvas制作万花筒动画特效
最新推荐文章于 2021-07-03 12:30:28 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)