![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
webgl
文章平均质量分 54
郭不耐
数据可视化爱好者,专注于d3.js;
展开
-
用THREE.Shape画二维圆角矩形
function roundedRect( shape, x, y, width, height, radius ) { shape.moveTo( x, y + radius ); shape.lineTo( x, y + height - radius ); shape.quadraticCurveTo( x, y + height, x + radius, y + heig原创 2016-10-23 22:34:51 · 5474 阅读 · 0 评论 -
three.js环境下的一种飞线动画实现方法
var aCurve = createFlyLine(startPoint, endPoint, heightLimit, flyTime, lineStyle) scene.add(aCurve) function createFlyLine(startPoint, endPoint, heightLimit, flyTime, lineStyle) { var原创 2016-11-01 00:15:57 · 11911 阅读 · 5 评论