three和webgl实现一个可带来宁静感的迷幻波纹动画效果代码

代码语言:html

所属分类:动画

代码描述:three和webgl实现一个可带来宁静感的迷幻波纹动画效果代码

代码标签: three webgl 迷幻 波纹 宁静

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

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

<head>

  <meta charset="UTF-8">
  

  
<style>
@import url("https://fonts.googleapis.com/css?family=Poppins:400,900");
body {
  overflow: hidden;
}

canvas {
  display: block;
}

.world {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #FF4066;
}

.title {
  position: absolute;
  color: white;
  width: calc 20%;
  font-size: 24px;
  font-weight: 900;
  font-family: "Poppins";
  letter-spacing: 1px;
  bottom: 40px;
  left: 40px;
}

.remark {
  position: relative;
  color: white;
  font-size: 10px;
  font-family: "Poppins";
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.5;
}

.credits {
  position: relative;
  color: white;
  margin-top: 20px;
  font-size: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.credits a {
  color: white;
  text-decoration: none;
}

.credits a:hover {
  color: blue;
  text-decoration: none;
}
</style>
<link type="text/css" rel="stylesheet" href="//repo.bfw.........完整代码请登录后点击上方下载按钮下载查看

网友评论0