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>Sunny High-Speed Rail - Refined Model</title>
<style>
body { margin: 0; overflow: hidden; background-color: #87CEEB; font-family: 'Segoe UI', sans-serif; }
#ui-container {
position: absolute; top: 20px; left: 20px; z-index: 100;
background: rgba(255, 255, 255, 0.9); padding: 20px; border-radius: 12px;
color: #333; border-left: 5px solid #ffaa00; width: 260px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
h1 { margin: 0 0 10px 0; font-size: 20px; color: #333; font-weight: 900; letter-spacing: 1px; }
.weather-badge {
background: #ffaa00; color: white; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: bold; display: inline-block; margin-bottom: 15px;
}
label { display: block; font-size: 12px; color: #666; margin-bottom: 5px; font-weight: 700; text-transform: uppercase; }
.btn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
button {
background: #f0f2f5; border: 1px solid #ccc; color: #555;
padding: 8px; cursor: pointer; border-radius: 6px; font-size: 12px; transition: all 0.2s; font-weight: 600;
}
button:hover { background: #e6e6e6; color: #000; border-color: #999; }
button.active { background: #007bff; color: white; border-color: #0056b3; }
#speed-display { font-family: 'Impact', sans-serif; font-size: 36px; color: #007bff; text-align: right; margin-top: 10px; }
.unit { font-size: 16px; color: #999; font-weight: normal; font-family: sans-serif; }
#loading {
position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #87CEEB;
display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 999; transition: opacity 0.6s;
}
.sun-loader {
width: 60px; height: 60px; background: #ffaa00; border-radius: 50%;
box-shadow: 0 0 40px #ffaa00; animation: pulse 1s infinite alternate; margin-bottom: 20px;
}
@keyframes pulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.2); opacity: 1; } }
</style>
</head>
<body>
<div id="loading">
<div class="sun-loader"></div>
<div style="color: white; font-weight: bold; font-size: 18px;">正在组装新型流线车头...</div>
<.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0