three实现三维户外激光秀舞台场景代码
代码语言:html
所属分类:其他
代码由gemini-3.7 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>3D 逼真户外大型舞台 - 激光秀与动态天气系统</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
overflow: hidden;
background-color: #000;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
user-select: none;
}
#webgl-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#ui-layer {
position: absolute;
top: 20px;
left: 20px;
color: #fff;
z-index: 10;
background: rgba(10, 15, 30, 0.75);
padding: 15px 25px;
border-radius: 12px;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.15);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
h1 {
font-size: 1.2rem;
margin-bottom: 8px;
letter-spacing: 1px;
color: #00ffcc;
text-shadow: 0 0 10px rgba(0,255,204,0.5);
}
.weather-info {
font-size: 0.9rem;
color: #ccc;
margin-bottom: 12px;
}
.btn-group {
display: flex;
gap: 8px;
flex-wrap: wrap;
}
button {
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.25);
color: #fff;
padding: 6px 12px;
border-radius: 6px;
cursor: pointer;
font-size: 0.8rem;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
button:hover, button.active {
background: #00ffcc;
color: #000;
font-weight: bold;
box-shadow: 0 0 12px #00ffcc;
}
#instructions {
position: absolute;
bottom: 20px;
left: 50%;
transfor.........完整代码请登录后点击上方下载按钮下载查看















网友评论0