three实现高科技网格三维山脉标注动画场景代码
代码语言:html
所属分类:三维
代码描述:three实现高科技网格三维山脉标注动画场景代码
代码标签: three 高科技 网格 三维 山脉 标注 动画 场景 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>高科技地形图 - Holographic Terrain</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
overflow: hidden;
background: #000;
font-family: 'Courier New', 'Consolas', monospace;
}
canvas {
display: block;
}
/* 扫描线效果 */
.scanlines {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
background: repeating-linear-gradient(
0deg,
rgba(0, 0, 0, 0.1) 0px,
rgba(0, 0, 0, 0.1) 1px,
transparent 1px,
transparent 2px
);
z-index: 100;
}
/* 边框装饰 */
.frame {
position: fixed;
pointer-events: none;
z-index: 50;
}
.frame-corner {
position: fixed;
width: 60px;
height: 60px;
border: 2px solid #00ffff;
z-index: 50;
}
.frame-corner.top-left {
top: 20px;
left: 20px;
border-right: none;
border-bottom: none;
}
.frame-corner.top-right {
top: 20px;
right: 20px;
border-left: none;
border-bottom: none;
}
.frame-corner.bottom-left {
bottom: 20px;
left: 20px;
border-right: none;
border-top: none;
}
.frame-corner.bottom-right {
bottom: 20px;
right: 20px;
border-left: none;
border-top: none;
}
/* 主标题 */
.title-panel {
position: fixed;
top: 20px;
left: 50%;
transform: translateX(-50%);
text-align: center;
z-index: 60;
}
.title-panel h1 {
color: #00ffff;
font-size: 28px;
font-weight: 300;
letter-spacing: 15px;
text-transform: uppercase;
text-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff;
animation: flicker 4s infinite;
}
.title-panel .subtitle {
color: #0088aa;
font-size: 12px;
letter-spacing: 5px;
margin-top: 5px;
}
@keyframes flicker {
0%, 100% { opacity: 1; }
92% { opacity: 1; }
93% { opacity: 0.8; }
94% { opacity: 1; }
95% { opacity: 0.9; }
}
/* 左侧数据面板 */
.data-panel {
position: fixed;
left: 30px;
top: 100px;
width: 220px;
z-index: 60;
}
.data-panel .panel-title {
color: #00ffff;
font-size: 11px;
letter-spacing: 3px;
border-bottom: 1px solid #00ffff44;
padding-bottom: 8px;
margin-bottom: 15px;
}
.data-row {
display: flex;
justify-content: space-between;
margin-bottom: 8px;
font-size: 11px;
}
.data-row .label {
color: #0088aa;
}
.data-row .value {
color: #00ffff;
text-shadow: 0 0 10px #00ffff;
}
.data-bar {
height: 4px;
background: #001a1a;
margin: 15px 0;
border: 1px solid #00ffff33;
}
.data-bar-fill {
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0