three实现三维户外激光秀舞台场景代码
代码语言:html
所属分类:其他
代码由kimi-k3 ai生成,可能有错误,仅供参考:点击查看提示词
代码描述:户外三维带激光活动舞台
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>三维户外舞台 - 激光秀 & 天气系统</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body { overflow: hidden; background: #000; font-family: 'Segoe UI', sans-serif; }
#canvas-container { width: 100vw; height: 100vh; }
.ui-panel {
position: fixed;
top: 20px;
left: 20px;
background: rgba(0,0,0,0.75);
backdrop-filter: blur(12px);
border: 1px solid rgba(255,255,255,0.15);
border-radius: 16px;
padding: 20px;
color: #fff;
z-index: 100;
min-width: 240px;
box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.ui-panel h2 {
font-size: 18px;
margin-bottom: 15px;
background: linear-gradient(90deg, #00d4ff, #ff00a0);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: 700;
}
.weather-display {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 12px;
padding: 10px 14px;
background: rgba(255,255,255,0.08);
border-radius: 10px;
font-size: 14px;
}
.weather-icon { font-size: 24px; }
.weather-label { font-weight: 600; }
.weather-desc { color: #aaa; font-size: 12px; }
.controls {
display: flex;
flex-direction: column;
gap: 8px;
}
.btn {
padding: 10px 16px;
border: none;
border-radius: 10px;
cursor: pointer;
font-size: 13px;
font-weight: 600;
transition: all 0.3s;
display: flex;
align-items: center;
gap: 8px;
}
.btn-primary {
background: linear-gradient(135deg, #00d4ff, #0080ff);
color: #fff;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 4px 16px rgba(0,132,255,0.4);
}
.btn-secondary {
background: rgba(255,255,255,0.1);
color: #fff;
border: 1px solid rgba(255,255,255,0.2);
}
.btn-secondary:hover {
background: rgba(255,255,255,0.2);
}
.stats {
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid rgba(255,255,255,0.1);
font-size: 11px;
color: #888;
display: flex;
flex-direction: column;
gap: 4px;
}
.laser-toggle {
position: fixed;
bottom: 30px;
right: 30px;
z-index: 100;
}
.laser-btn {
width: 64px;
height: 64px;
border-radius: 50%;
border: 2px solid rgba(255,0,160,0.6);
background: rgba(255,0,160,0.15);
color: #ff00a0;
font-size: 24px;
cursor: pointer;
transition: all 0.3s;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 0 20px rgba(255,0,160,0.3);
}
.laser-btn:hover {
background: rgba(255,0,160,0.3);
box-shadow: 0 0 30px rgba(255,0,160,0.5);
}
.laser-btn.active {
background: rgba(255,0,160,0.5);
box-shadow: 0 0 40px rgba(255,0,160,0.7);
animation: pulse 1s infinite;
}
@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.1); }
}
.loading {
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: #000;
display: flex;
flex-direction: colum.........完整代码请登录后点击上方下载按钮下载查看















网友评论0