three实现光环光芒变动音乐可视化效果代码

代码语言:html

所属分类:动画

代码描述:three实现光环光芒变动音乐可视化效果代码

代码标签: thre 光环 光芒 变动 音乐 可视化

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

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

<head>

  <meta charset="UTF-8">

  
  
  
<style>
* {
    margin: 0;
    padding: 0;
  }
  
  html {
    height: 100%;
    background-color: #FFF; 
  }
  
  body {  
    margin: 0;
    height: 100%;
    font-family: 'Noto Sans JP', sans-serif;
    height: 10000px;
  }

  #myCanvas {
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;  
  }
  #myCanvas canvas {  
    display: block;
    width: 100%;
    height: 100%;
  }

  #overlay {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height:100%;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 1;
    background-color: #000000;
    color: #ffffff;
  }

  p{
    color: #ffffff;
  }

  .link{
    color: #000;
    background: #FFF;
    mix-blend-mode: exclusion;
  font-size: 12px;
  position: absolute;
  left: 10px;
  bottom: 10px;
  }

  .link a{
    text-decoration: underline;
    font-size: 10px;
      color: #000;

  }
</style>


<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/three.88.js"></script>

</head>

<body  >

  <div id="overlay">
    <p>Play</p>
  </div>

  
  <div id="myCanvas"></div>



  <script id="fragmentShader" type.........完整代码请登录后点击上方下载按钮下载查看

网友评论0