three实现无限上下波纹曲线滚动相册代码
代码语言:html
所属分类:画廊相册
代码描述:three实现无限上下波纹曲线滚动相册代码
代码标签: three 无限 上下 波纹 曲线 滚动 相册 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/lil-gui.min.css">
<style>
@import url(https://fonts.googleapis.com/css2?family=Glass+Antiqua&display=swap);
* {
margin: 0;
padding: 0;
box-sizing: border-box
}
html,
body {
width: 100%;
height: 100%;
overflow: hidden;
background: #d92b00;
font-family: 'Segoe UI', Arial, sans-serif
}
canvas {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
display: block
}
.info {
position: fixed;
top: 20px;
right: 20px;
background: rgb(0 0 0 / .5);
backdrop-filter: blur(10px);
color: #fff;
padding: 10px 20px;
border-radius: 12px;
z-index: 100;
max-width: 260px;
pointer-events: none;
border: 1px solid rgb(255 255 255 / .1)
}
.info h1 {
font-family: "Glass Antiqua", cursive;
margin-bottom: 8px;
font-weight: 400;
font-size: 72px
}
#credits {
position: fixed;
bottom: 20px;
left: 20px;
background: rgb(30 30 30 / .9);
padding: 8px 12px;
border-radius: 6px;
color: #fff;
font-size: 14px;
z-index: 2;
pointer-events: none;
}
#credits a {
color: #dec912;
text-decoration: none
}
#credits a:hover {
color: #fff;
transition: all .8s ease
}
.copy {
position: fixed;
top: 20px;
left: 20px;
color: #000;
background: rgb(255 255 255 / .7);
padding: 10px;
border-radius: 5px;
font-size: 12px;
z-index: 2
}
.controls-panel {
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
background: rgb(0 0 0 / .6);
backdrop-filter: blur(10px);
color: #fff;
padding: 12px 16px;
border-radius: 12px;
font-size: 12px;
z-index: 100;
pointer-events: auto;
font-family: monospace;
border: 1px solid rgb(255 255 255 / .1);
cursor: pointer
}
.loading {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgb(0 0 0 / .8);
backdrop-filter: blur(10px);
color: #fff;
padding: 24px;
border-radius: 16px;
z-index: 1000;
text-align: center;
border: 1px solid rgb(255 255 255 / .2)
}
::-webkit-scrollbar {
display: none
}
.lil-gui {
opacity: 0
}
.color-picker-popover {
position: fixed;
z-index: 10000;
background: #fff;
border-radius: 8px;
box-shadow: 0 4px 20px rgb(0 0 0 / .3);
display: none
}
.color-picker {
background: #131313;
border: 1px solid #8E8888;
border-radius: 5px;
user-select: none;
padding: 10px;
box-shadow: 0 4px 8px rgb(0 0 0 / .2)
}
.color-square {
position: relative;
width: 120px;
height: 120px;
overflow: hidden;
outline: 1px solid #787575;
cursor: crosshair;
float: left
}
.color-overlay1,
.color-overlay2 {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
pointer-events: none
}
.color-overlay1 {
background: linear-gradient(to right, white 0%, #fff0 100%)
}
.color-overlay2 {
background: linear-gradient(to bottom, #fff0 0%, black 100%)
}
.color-selector-outer {
position: absolute;
width: 11px;
height: 11px;
margin: -6px 0 0 -6px;
border: 1px solid #000;
border-radius: 50%;
pointer-events: none;
z-index: 10
}
.color-selector-inner {
position: absolute;
width: 9px;
height: 9px;
border: 1px solid #FFF;
border-radius: 50%;
pointer-events: none
}
.h.........完整代码请登录后点击上方下载按钮下载查看















网友评论0