three实现三维唐代诗人关系图主要诗词作品展示代码
代码语言:html
所属分类:三维
代码描述:three实现三维唐代诗人关系图主要诗词作品展示代码
代码标签: three 三维 唐代 诗人 关系图 主要 诗词 作品 展示 代码
下面为部分代码预览,完整代码请点击下载或在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>
body {
margin: 0;
overflow: hidden;
background-color: #050505;
font-family: "STKaiti", "KaiTi", "楷体", serif;
user-select: none;
}
#canvas-container {
width: 100vw;
height: 100vh;
position: absolute;
top: 0;
left: 0;
z-index: 1;
}
/* 古典UI面板 */
#poem-panel {
position: absolute;
top: 50%;
right: -400px;
transform: translateY(-50%);
width: 320px;
max-height: 80vh;
background: rgba(15, 12, 10, 0.75);
backdrop-filter: blur(10px);
border: 1px solid #d4af37;
border-radius: 4px;
padding: 25px;
color: #eaddcf;
z-index: 10;
transition: right 0.6s cubic-bezier(0.23, 1, 0.32, 1);
box-shadow: 0 0 30px rgba(212, 175, 55, 0.15), inset 0 0 20px rgba(0,0,0,0.8);
overflow-y: auto;
}
#poem-panel.active {
right: 40px;
}
#poem-panel::before, #poem-panel::after {
content: '';
position: absolute;
width: 20px;
height: 20px;
border: 2px solid #d4af37;
}
#poem-panel::before { top: 5px; left: 5px; border-right: none; border-bottom: none; }
#poem-panel::after { bottom: 5px; right: 5px; border-left: none; border-top: none; }
.poet-name-ui {
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0