![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
canves
laihaodong
求北京的小伙伴一起钻研前端技术,交流学习
展开
-
用canvas画一个球体!!
html:<canvas width="500" height="500" id='can'></canvas>js: var can=document.getElementById('can'); ctx = can.getContext('2d'); ctx.beginPath(); ctx.arc(250,250,250,0,2*Math...原创 2018-05-29 16:31:21 · 3905 阅读 · 0 评论 -
用canvas画一个卡通人物!!
html:<canvas id="canvas" width="650" height="671"></canvas>css:canvas { border: 2px solid #08A573; background-size: 100% 250%; background-position: center bottom;}js:var canvas = docume...原创 2018-05-29 16:54:16 · 8810 阅读 · 5 评论