ogl实现一个webgl等高线动画效果代码

代码语言:html

所属分类:动画

代码描述:ogl实现一个webgl等高线动画效果代码

代码标签: webgl 等高线 动画 效果

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

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

<head>

  <meta charset="UTF-8">

  
  
<style>
.gui {
  box-sizing: border-box;
}
.gui input,
.gui textarea,
.gui select,
.gui button,
.gui label {
  display: block;
  width: 100%;
  margin: 0px;
  border: none;
  border-radius: 0px;
}

.root.gui {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 0px;
  left: 0px;
  width: 250px;
  max-height: 100vh;
  padding: 0px;
  background: rgba(20, 20, 20, 0.5);
  transition: top 300ms ease-in-out;
}

.options-container.gui {
  flex: 1 1 auto;
  overflow: auto;
  padding: 15px;
  padding-bottom: 0px;
}

.expand-button.gui {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin: 0px;
  height: 35px;
  margin-top: 10px;
  background: none !important;
  font-family: monospace;
  color: #fff;
  font-size: 15px;
}
.expand-button.gui:hover {
  text-decoration: underline;
}
.expand-button.gui::before {
  content: "";
  display: block;
  position: absolute;
  bottom: 35px;
  left: 30px;
  right: 30px;
  height: 1px;
  background: #ddd;
}

.input-container.gui {
  margin-bottom: 15px;
}

input.gui {
  padding: 5px;
  font-family: monospace;
}

textarea.gui {
  resize: vertical;
  min-width: 100%;
  font-family: monospace;
  white-space: pre;
}

.checkbox-container.gui {
  display: flex;
  align-items: center;
  margin-bot.........完整代码请登录后点击上方下载按钮下载查看

网友评论0