关注本头条号,专注做前端。
之前分享了很多基于html5 canvas的效果,下面要介绍的也是基于html5 canvas制作,不过采用了比较优秀的3d的js插件 —— three.js 。
为了能让鼠标拖动字体旋转,使用了OrbitControls.js 。
////// 演示 //////
https://www.html5tricks.com/demo/html5-canvas-3d-text-scale/index.html
// 源码下载 /////
https://www.html5tricks.com/download/html5-canvas-3d-text-scale.rar
////
本文暂时没有评论,来添加一个吧(●'◡'●)