splinecode实现炫酷玻璃材质三维注册按钮效果代码

代码语言:html

所属分类:动画

代码描述:splinecode实现炫酷玻璃材质三维注册按钮效果代码

代码标签: splinecode 炫酷 玻璃 材质 三维 注册 按钮

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  


  
  
<style>
body {
background-color: #07072E;
  margin: 0;
overflow: hidden;
}

#container{
    display: flex;
    justify-content: center;
    align-items: flex-start;
  height: 100vh;

}
#canvas3d{
  width: 100%;
  height: 100%;
}
</style>


  
</head>

<body translate="no">
  <div id='container'>
  <canvas id="canvas3d"></canvas>

</div>
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/gsap.3.9.1.js"></script>
    
      <script  type="module">
const fileName = "ncLetXLlvPh7bIsT";

function r2d(r) {
  return r * (180 / Math.PI);
}
function d2r(d) {
  return d * (Math.PI / 180);
}
function objectArray(all, name) {
  return all.filter(item => item.name == name);
}
function getDuplicateNameObjects(app, obj, name) {
  if (new RegExp(name).test(obj.name)) {
    return true;
  }
}
//   if(getDuplicateNameObjects(app, c,.........完整代码请登录后点击上方下载按钮下载查看

网友评论0