JS酷炫3D方块飘落动画特效

来源:https://www.sucaihuo.com/js/1527.html 2017-03-24 11:41浏览(1956) 收藏

这是一款js3D动画,效果非常炫,喜欢的朋友欢迎下载。
JS酷炫3D方块飘落动画特效
分类:3D 难易:
查看演示 下载资源 下载积分: 20 积分
class Orbit {
  constructor(target, dumping=10, from={ x: 0, y: 0 }, to={ x: 0, y: 0 }) {
    this.__target = target
    this.dumping = dumping;
    this.desire_rotateZ = -to.y;
    this.desire_rotateX = -to.x;
    this.rz = from.y;
    this.rx = from.x;
    this.isDragging = false;
    this.previousMousePosition = {
      x: 0,
      y: 0
    };
    this.behaviours();
  }
标签: 3d
评论0
头像

系统已开启自动识别垃圾评论机制,识别到的自动封号,下载出错或者资源有问题请联系全栈客服QQ 1915635791

1 2