独立渲染引擎就绪引擎就绪
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>4象限低磁阻支路磁通解耦原理 - TRIZ 最终理想解 (IFR)</title>
<style>
:root {
--bg-space: #070a0f;
--panel-bg: rgba(13, 19, 31, 0.78);
--panel-border: rgba(56, 189, 248, 0.22);
--text-dim: #94a3b8;
--text-bright: #f8fafc;
--q1-color: #00f0ff;
--q2-color: #fbbf24;
--q3-color: #10b981;
--q4-color: #c084fc;
--gap-accent: #f59e0b;
--steel-color: #1e293b;
--steel-stroke: #334155;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
user-select: none;
}
body {
background-color: var(--bg-space);
color: var(--text-bright);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", monospace;
overflow: hidden;
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
position: relative;
}
/* 背景工业坐标标线与暗色微网格 */
.bg-grid {
position: absolute;
inset: 0;
background-image:
radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.08) 0%, transparent 65%),
linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
background-size: 100% 100%, 36px 36px, 36px 36px;
pointer-events: none;
z-index: 0;
}
/* 主可视化舞台 */
.stage-container {
position: relative;
flex: 1;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
z-index: 1;
}
svg#canvas {
width: 100%;
height: 100%;
max-width: 1100px;
max-height: 860px;
filter: drop-shadow(0 0 35px rgba(0, 0, 0, 0.8));
}
/* 边角极简状态板 - 严格控制小字号,避让中央核心区 */
.hud-panel {
position: absolute;
background: var(--panel-bg);
border: 1px solid var(--panel-border);
border-radius: 8px;
backdrop-filter: blur(10px);
padding: 8px 14px;
font-size: 11px;
line-height: 1.5;
color: var(--text-dim);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
z-index: 10;
pointer-events: auto;
}
.hud-tl {
top: 14px;
left: 16px;
display: flex;
flex-direction: column;
gap: 3px;
}
.hud-tr {
top: 14px;
right: 16px;
text-align: right;
}
.hud-title {
font-size: 13px;
font-weight: 600;
color: #38bdf8;
display: flex;
align-items: center;
gap: 6px;
}
.status-badge {
display: inline-flex;
align-items: center;
padding: 1px 6px;
border-radius: 4px;
background: rgba(16, 185, 129, 0.15);
border: 1px solid rgba(16, 185, 129, 0.4);
color: #34d399;
font-size: 10px;
font-weight: 500;
}
.status-dot {
width: 5px;
height: 5px;
border-radius: 50%;
background: #10b981;
margin-right: 4px;
animation: pulse-dot 1.8s infinite;
}
/* 底部紧凑浮动交互控制器 */
.bottom-dock {
position: absolute;
bottom: 12px;
left: 50%;
transform: translateX(-50%);
display: flex;
align-items: center;
gap: 16px;
background: rgba(11, 17, 28, 0.88);
border: 1px solid rgba(56, 189, 248, 0.25);
border-radius: 28px;
padding: 6px 18px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
backdrop-filter: blur(12px);
z-index: 20;
}
.channel-ctrl {
display: flex;
align-items: center;
gap: 8px;
font-size: 11px;
color: var(--text-dim);
}
.channel-pill {
font-weight: 700;
font-size: 10px;
padding: 2px 7px;
border-radius: 10px;
letter-spacing: 0.5px;
}
.slider-compact {
-webkit-appearance: none;
appearance: none;
width: 72px;
height: 4px;
background: #334155;
border-radius: 2px;
outline: none;
cursor: pointer;
}
.slider-compact::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 12px;
height: 12px;
border-radius: 50%;
background: #f8fafc;
border: 2px solid #0284c7;
cursor: pointer;
transition: transform 0.15s;
}
.slider-compact::-webkit-slider-thumb:hover {
transform: scale(1.25);
}
.btn-action {
background: rgba(56, 189, 248, 0.12);
border: 1px solid rgba(56, 189, 248, 0.35);
color: #e0f2fe;
font-size: 11px;
padding: 4px 12px;
border-radius: 14px;
cursor: pointer;
transition: all 0.2s ease;
display: inline-flex;
align-items: center;
gap: 4px;
}
.btn-action:hover {
background: rgba(56, 189, 248, 0.25);
border-color: #38bdf8;
box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}
/* 动态流动动画样式定义 */
@keyframes pulse-dot {
0%, 100% { opacity: 0.4; transform: scale(0.9); }
50% { opacity: 1; transform: scale(1.2); }
}
@keyframes flow-cw {
to { stroke-dashoffset: -120; }
}
@keyframes flow-ccw {
to { stroke-dashoffset: 120; }
}
@keyframes shimmer-gap {
0%, 100% { opacity: 0.65; filter: drop-shadow(0 0 2px var(--gap-accent)); }
50% { opacity: 1; filter: drop-shadow(0 0 9px var(--gap-accent)); }
}
.gap-highlight {
animation: shimmer-gap 2.2s infinite ease-in-out;
}
.flux-stream-q1 {
stroke-dasharray: 8 16;
animation: flow-cw 1.8s linear infinite;
}
.flux-stream-q2 {
stroke-dasharray: 8 16;
animation: flow-ccw 1.8s linear infinite;
}
.flux-stream-q3 {
stroke-dasharray: 8 16;
animation: flow-cw 1.8s linear infinite;
}
.flux-stream-q4 {
stroke-dasharray: 8 16;
animation: flow-ccw 1.8s linear infinite;
}
</style>
</head>
<body>
<div class="bg-grid"></div>
<!-- 左上极简 HUD 信息面板 -->
<div class="hud-panel hud-tl">
<div class="hud-title">
<span>4象限低磁阻对角支路 · IFR理想解架构</span>
<span class="status-badge"><span class="status-dot"></span>0 跨象限串流</span>
</div>
<div>构型:50W470硅钢框体 + 4组对角配磨非磁缝 (0.5~2.0mm)</div>
<div>约束:单支路面积 820 mm² | 预紧力 2.5 kN | 偏差 ≤ 1.2%</div>
</div>
<!-- 右上微小指标监视 -->
<div class="hud-panel hud-tr">
<div style="color: #38bdf8; font-weight:600;">解耦指标实测实时监测</div>
<div>象限间串扰抑制比: <span style="color:#34d399; font-weight:bold;">-46.2 dB</span></div>
<div>跨象限杂散磁通密度: <span style="color:#34d399;">< 0.008 mT (趋零)</span></div>
<div>线性区磁密利用率: <span style="color:#e2e8f0;">B = 1.24 T (远离饱和1.6T)</span></div>
</div>
<!-- 中央主呈现区:SVG高保真磁路动画 -->
<div class="stage-container">
<svg id="canvas" viewBox="0 0 1000 860" xmlns="http://www.w3.org/2000/svg">
<defs>
<!-- 导磁框体硅钢微纹理 -->
<pattern id="laminate" width="8" height="8" patternUnits="userSpaceOnUse">
<line x1="0" y1="0" x2="8" y2="0" stroke="#253349" stroke-width="1.2" />
</pattern>
<!-- 辉光滤镜 -->
<filter id="glow-q1" x="-30%" y="-30%" width="160%" height="160%">
<feGaussianBlur stdDeviation="3.5" result="blur" />
<feMerge>
<feMergeNode in="blur" />
<feMergeNode in="SourceGraphic" />
</feMerge>
</filter>
<filter id="glow-q2" x="-30%" y="-30%" width="160%" height="160%">
<feGaussianBlur stdDeviation="3.5" result="blur" />
<feMerge>
<feMergeNode in="blur" />
<feMergeNode in="SourceGraphic" />
</feMerge>
</filter>
<filter id="glow-q3" x="-30%" y="-30%" width="160%" height="160%">
<feGaussianBlur stdDeviation="3.5" result="blur" />
<feMerge>
<feMergeNode in="blur" />
<feMergeNode in="SourceGraphic" />
</feMerge>
</filter>
<filter id="glow-q4" x="-30%" y="-30%" width="160%" height="160%">
<feGaussianBlur stdDeviation="3.5" result="blur" />
<feMerge>
<feMergeNode in="blur" />
<feMergeNode in="SourceGraphic" />
</feMerge>
</filter>
<!-- 径向磁极底衬渐变 -->
<radialGradient id="center-haze" cx="50%" cy="50%" r="50%">
<stop offset="0%" stop-color="#0284c7" stop-opacity="0.12" />
<stop offset="100%" stop-color="#0284c7" stop-opacity="0" />
</radialGradient>
</defs>
<!-- 中心参考标线与正交解耦分界层 -->
<g opacity="0.35">
<line x1="500" y1="120" x2="500" y2="740" stroke="#38bdf8" stroke-dasharray="4 6" stroke-width="1" />
<line x1="180" y1="430" x2="820" y2="430" stroke="#38bdf8" stroke-dasharray="4 6" stroke-width="1" />
<circle cx="500" cy="430" r="140" fill="url(#center-haze)" stroke="#1e293b" stroke-width="1" />
</g>
<!-- ==================== 1. 50W470 硅钢叠片导磁框体主体 (八角异形环) ==================== -->
<g id="magnetic-frame">
<!-- 外轮廓路径与叠片填充 -->
<path d="
M 310,120 L 690,120 L 840,270 L 840,590 L 690,740 L 310,740 L 160,590 L 160,270 Z
M 360,260 L 640,260 L 730,350 L 730,510 L 640,600 L 360,600 L 270,510 L 270,350 Z
" fill="var(--steel-color)" fill-rule="evenodd" stroke="var(--steel-stroke)" stroke-width="2" />
<path d="
M 310,120 L 690,120 L 840,270 L 840,590 L 690,740 L 310,740 L 160,590 L 160,270 Z
M 360,260 L 640,260 L 730,350 L 730,510 L 640,600 L 360,600 L 270,510 L 270,350 Z
" fill="url(#laminate)" fill-rule="evenodd" opacity="0.85" />
<!-- 框体结构倒角与立体阴影边缘 -->
<polygon points="310,120 690,120 670,140 330,140" fill="#334155" opacity="0.5" />
<polygon points="160,270 160,590 180,570 180,290" fill="#0f172a" opacity="0.6" />
</g>
<!-- ==================== 2. 4对角核心创新部件:配磨微调非磁性气隙与螺栓预紧结构 ==================== -->
<!-- Q1 对角支路修整缝 (右上角 45°) -->
<g id="gap-q1" class="gap-highlight" transform="translate(765, 195) rotate(45)">
<rect x="-12" y="-48" width="24" height="96" fill="#0b1329" rx="3" stroke="#f59e0b" stroke-width="1.8" />
<!-- 黄铜/环氧高阻微调垫片 -->
<rect x="-4" y="-44" width="8" height="88" fill="#fbbf24" opacity="0.9" />
<!-- 穿心螺栓头 -->
<circle cx="0" cy="-22" r="5" fill="#e2e8f0" stroke="#475569" stroke-width="1.5" />
<circle cx="0" cy="22" r="5" fill="#e2e8f0" stroke="#475569" stroke-width="1.5" />
</g>
<!-- Q1 气隙文字微标注 -->
<g transform="translate(845, 180)">
<text x="0" y="0" fill="#fbbf24" font-size="11" font-weight="bold">Q1 非磁微调隙</text>
<text x="0" y="14" fill="#94a3b8" font-size="9">δ₁ = 1.15 mm | 配磨平衡</text>
</g>
<!-- Q2 对角支路修整缝 (左上角 -45°) -->
<g id="gap-q2" class="gap-highlight" transform="translate(235, 195) rotate(-45)">
<rect x="-12" y="-48" width="24" height="96" fill="#0b1329" rx="3" stroke="#f59e0b" stroke-width="1.8" />
<rect x="-4" y="-44" width="8" height="88" fill="#fbbf24" opacity="0.9" />
<circle cx="0" cy="-22" r="5" fill="#e2e8f0" stroke="#475569" stroke-width="1.5" />
<circle cx="0" cy="22" r="5" fill="#e2e8f0" stroke="#475569" stroke-width="1.5" />
</g>
<g transform="translate(70, 180)">
<text x="0" y="0" fill="#fbbf24" font-size="11" font-weight="bold">Q2 非磁微调隙</text>
<text x="0" y="14" fill="#94a3b8" font-size="9">δ₂ = 1.14 mm | 配磨平衡</text>
</g>
<!-- Q3 对角支路修整缝 (左下角 45°) -->
<g id="gap-q3" class="gap-highlight" transform="translate(235, 665) rotate(45)">
<rect x="-12" y="-48" width="24" height="96" fill="#0b1329" rx="3" stroke="#f59e0b" stroke-width="1.8" />
<rect x="-4" y="-44" width="8" height="88" fill="#fbbf24" opacity="0.9" />
<circle cx="0" cy="-22" r="5" fill="#e2e8f0" stroke="#475569" stroke-width="1.5" />
<circle cx="0" cy="22" r="5" fill="#e2e8f0" stroke="#475569" stroke-width="1.5" />
</g>
<g transform="translate(70, 680)">
<text x="0" y="0" fill="#fbbf24" font-size="11" font-weight="bold">Q3 非磁微调隙</text>
<text x="0" y="14" fill="#94a3b8" font-size="9">δ₃ = 1.15 mm | 配磨平衡</text>
</g>
<!-- Q4 对角支路修整缝 (右下角 -45°) -->
<g id="gap-q4" class="gap-highlight" transform="translate(765, 665) rotate(-45)">
<rect x="-12" y="-48" width="24" height="96" fill="#0b1329" rx="3" stroke="#f59e0b" stroke-width="1.8" />
<rect x="-4" y="-44" width="8" height="88" fill="#fbbf24" opacity="0.9" />
<circle cx="0" cy="-22" r="5" fill="#e2e8f0" stroke="#475569" stroke-width="1.5" />
<circle cx="0" cy="22" r="5" fill="#e2e8f0" stroke="#475569" stroke-width="1.5" />
</g>
<g transform="translate(845, 680)">
<text x="0" y="0" fill="#fbbf24" font-size="11" font-weight="bold">Q4 非磁微调隙</text>
<text x="0" y="14" fill="#94a3b8" font-size="9">δ₄ = 1.16 mm | 配磨平衡</text>
</g>
<!-- ==================== 3. 4象限内极柱与高精度励磁线圈组 ==================== -->
<!-- Q1 极柱及线圈 (右上) -->
<g id="pole-q1" transform="translate(565, 305)">
<path d="M 0,0 L 70,0 L 70,60 L 0,60 Z" fill="#334155" stroke="#475569" />
<!-- 铜质绕组线包 -->
<rect x="12" y="-12" width="46" height="84" rx="4" fill="#b45309" stroke="#f59e0b" stroke-width="1.5" />
<line x1="20" y1="-10" x2="20" y2="70" stroke="#fbbf24" stroke-width="1" stroke-dasharray="3 3" />
<line x1="35" y1="-10" x2="35" y2="70" stroke="#fbbf24" stroke-width="1" stroke-dasharray="3 3" />
<line x1="50" y1="-10" x2="50" y2="70" stroke="#fbbf24" stroke-width="1" stroke-dasharray="3 3" />
<text x="25" y="34" fill="#fef08a" font-size="11" font-weight="bold">L1</text>
</g>
<!-- Q2 极柱及线圈 (左上) -->
<g id="pole-q2" transform="translate(365, 305)">
<path d="M 0,0 L 70,0 L 70,60 L 0,60 Z" fill="#334155" stroke="#475569" />
<rect x="12" y="-12" width="46" height="84" rx="4" fill="#b45309" stroke="#f59e0b" stroke-width="1.5" />
<line x1="20" y1="-10" x2="20" y2="70" stroke="#fbbf24" stroke-width="1" stroke-dasharray="3 3" />
<line x1="35" y1="-10" x2="35" y2="70" stroke="#fbbf24" stroke-width="1" stroke-dasharray="3 3" />
<line x1="50" y1="-10" x2="50" y2="70" stroke="#fbbf24" stroke-width="1" stroke-dasharray="3 3" />
<text x="25" y="34" fill="#fef08a" font-size="11" font-weight="bold">L2</text>
</g>
<!-- Q3 极柱及线圈 (左下) -->
<g id="pole-q3" transform="translate(365, 495)">
<path d="M 0,0 L 70,0 L 70,60 L 0,60 Z" fill="#334155" stroke="#475569" />
<rect x="12" y="-12" width="46" height="84" rx="4" fill="#b45309" stroke="#f59e0b" stroke-width="1.5" />
<line x1="20" y1="-10" x2="20" y2="70" stroke="#fbbf24" stroke-width="1" stroke-dasharray="3 3" />
<line x1="35" y1="-10" x2="35" y2="70" stroke="#fbbf24" stroke-width="1" stroke-dasharray="3 3" />
<line x1="50" y1="-10" x2="50" y2="70" stroke="#fbbf24" stroke-width="1" stroke-dasharray="3 3" />
<text x="25" y="34" fill="#fef08a" font-size="11" font-weight="bold">L3</text>
</g>
<!-- Q4 极柱及线圈 (右下) -->
<g id="pole-q4" transform="translate(565, 495)">
<path d="M 0,0 L 70,0 L 70,60 L 0,60 Z" fill="#334155" stroke="#475569" />
<rect x="12" y="-12" width="46" height="84" rx="4" fill="#b45309" stroke="#f59e0b" stroke-width="1.5" />
<line x1="20" y1="-10" x2="20" y2="70" stroke="#fbbf24" stroke-width="1" stroke-dasharray="3 3" />
<line x1="35" y1="-10" x2="35" y2="70" stroke="#fbbf24" stroke-width="1" stroke-dasharray="3 3" />
<line x1="50" y1="-10" x2="50" y2="70" stroke="#fbbf24" stroke-width="1" stroke-dasharray="3 3" />
<text x="25" y="34" fill="#fef08a" font-size="11" font-weight="bold">L4</text>
</g>
<!-- ==================== 4. 理想解核心特征:4象限专属独立闭合磁通束 (零跨界串流) ==================== -->
<!-- 闭合引导轨道底图 (半透明衬底) -->
<g opacity="0.18" fill="none" stroke-width="16" stroke-linecap="round" stroke-linejoin="round">
<path d="M 520,380 C 580,340 680,240 765,195 C 800,280 810,380 770,440 C 720,430 630,420 520,380 Z" stroke="var(--q1-color)" />
<path d="M 480,380 C 420,340 320,240 235,195 C 200,280 190,380 230,440 C 280,430 370,420 480,380 Z" stroke="var(--q2-color)" />
<path d="M 480,480 C 420,520 320,620 235,665 C 200,580 190,480 230,420 C 280,430 370,440 480,480 Z" stroke="var(--q3-color)" />
<path d="M 520,480 C 580,520 680,620 765,665 C 800,580 810,480 770,420 C 720,430 630,440 520,480 Z" stroke="var(--q4-color)" />
</g>
<!-- 动态磁通流线组 (各象限具有两道伴随流线,立体直观) -->
<g id="flux-paths" fill="none" stroke-linecap="round" stroke-linejoin="round">
<!-- Q1象限磁通回路 (青色系) -->
<g id="q1-flux-group" filter="url(#glow-q1)">
<!-- 主磁流通路 (穿过Q1对角修整缝,优先本象限闭合) -->
<path id="q1-p1" d="M 530,370 C 600,320 680,240 765,195 C 805,270 810,360 765,420 C 700,410 610,395 530,370 Z"
stroke="var(--q1-color)" stroke-width="3.5" class="flux-stream-q1" opacity="0.95" />
<path id="q1-p2" d="M 545,355 C 615,305 690,230 755,210 C 785,275 790,345 750,395 C 695,390 620,380 545,355 Z"
stroke="var(--q1-color)" stroke-width="2" class="flux-stream-q1" opacity="0.75" />
</g>
<!-- Q2象限磁通回路 (暖黄系) -->
<g id="q2-flux-group" filter="url(#glow-q2)">
<path id="q2-p1" d="M 470,370 C 400,320 320,240 235,195 C 195,270 190,360 235,420 C 300,410 390,395 470,370 Z"
stroke="var(--q2-color)" stroke-width="3.5" class="flux-stream-q2" opacity="0.95" />
<path id="q2-p2" d="M 455,355 C 385,305 310,230 245,210 C 215,275 210,345 250,395 C 305,390 380,380 455,355 Z"
stroke="var(--q2-color)" stroke-width="2" class="flux-stream-q2" opacity="0.75" />
</g>
<!-- Q3象限磁通回路 (翠绿系) -->
<g id="q3-flux-group" filter="url(#glow-q3)">
<path id="q3-p1" d="M 470,490 C 400,540 320,620 235,665 C 195,590 190,500 235,440 C 300,450 390,465 470,490 Z"
stroke="var(--q3-color)" stroke-width="3.5" class="flux-stream-q3" opacity="0.95" />
<path id="q3-p2" d="M 455,505 C 385,555 310,630 245,650 C 215,585 210,515 250,465 C 305,470 380,480 455,505 Z"
stroke="var(--q3-color)" stroke-width="2" class="flux-stream-q3" opacity="0.75" />
</g>
<!-- Q4象限磁通回路 (紫粉系) -->
<g id="q4-flux-group" filter="url(#glow-q4)">
<path id="q4-p1" d="M 530,490 C 600,540 680,620 765,665 C 805,590 810,500 765,440 C 700,450 610,465 530,490 Z"
stroke="var(--q4-color)" stroke-width="3.5" class="flux-stream-q4" opacity="0.95" />
<path id="q4-p2" d="M 545,505 C 615,555 690,630 755,650 C 785,585 790,515 750,465 C 695,470 620,480 545,505 Z"
stroke="var(--q4-color)" stroke-width="2" class="flux-stream-q4" opacity="0.75" />
</g>
</g>
<!-- ==================== 5. 虚拟正交隔离界线与霍尔检测阵列 ==================== -->
<!-- 零串流自然隔离界面 (无额外物理屏障,全由低磁阻支路自动形成) -->
<g opacity="0.85">
<line x1="500" y1="260" x2="500" y2="600" stroke="#0ea5e9" stroke-width="1.5" stroke-dasharray="4 4" />
<line x1="270" y1="430" x2="730" y2="430" stroke="#0ea5e9" stroke-width="1.5" stroke-dasharray="4 4" />
<!-- 4处霍尔传感器采样点 (位于象限分界中性面) -->
<g transform="translate(500, 260)">
<rect x="-10" y="-8" width="20" height="16" fill="#0284c7" rx="3" stroke="#e0f2fe" stroke-width="1" />
<text x="0" y="4" fill="#ffffff" font-size="8" text-anchor="middle" font-weight="bold">H1</text>
</g>
<g transform="translate(730, 430)">
<rect x="-10" y="-8" width="20" height="16" fill="#0284c7" rx="3" stroke="#e0f2fe" stroke-width="1" />
<text x="0" y="4" fill="#ffffff" font-size="8" text-anchor="middle" font-weight="bold">H2</text>
</g>
<g transform="translate(500, 600)">
<rect x="-10" y="-8" width="20" height="16" fill="#0284c7" rx="3" stroke="#e0f2fe" stroke-width="1" />
<text x="0" y="4" fill="#ffffff" font-size="8" text-anchor="middle" font-weight="bold">H3</text>
</g>
<g transform="translate(270, 430)">
<rect x="-10" y="-8" width="20" height="16" fill="#0284c7" rx="3" stroke="#e0f2fe" stroke-width="1" />
<text x="0" y="4" fill="#ffffff" font-size="8" text-anchor="middle" font-weight="bold">H4</text>
</g>
</g>
<!-- 中心工作主气隙载荷区 -->
<g transform="translate(500, 430)">
<circle cx="0" cy="0" r="42" fill="#0f172a" stroke="#0284c7" stroke-dasharray="3 3" stroke-width="1.5" />
<circle cx="0" cy="0" r="6" fill="#38bdf8" />
<text x="0" y="-12" fill="#94a3b8" font-size="9" text-anchor="middle" font-weight="600">独立梯度作用区</text>
<text x="0" y="24" fill="#38bdf8" font-size="8" text-anchor="middle">∇Bx, ∇By 解耦</text>
</g>
</svg>
</div>
<!-- 底部精简动态调谐控制器 (用户可自由增减任意象限电流,亲验互不干扰的理想解状态) -->
<div class="bottom-dock">
<div class="channel-ctrl">
<span class="channel-pill" style="background: rgba(0,240,255,0.15); color: var(--q1-color); border:1px solid rgba(0,240,255,0.4)">Q1 电流</span>
<input type="range" id="slider-q1" class="slider-compact" min="20" max="100" value="85" />
</div>
<div class="channel-ctrl">
<span class="channel-pill" style="background: rgba(251,191,36,0.15); color: var(--q2-color); border:1px solid rgba(251,191,36,0.4)">Q2 电流</span>
<input type="range" id="slider-q2" class="slider-compact" min="20" max="100" value="65" />
</div>
<div class="channel-ctrl">
<span class="channel-pill" style="background: rgba(16,185,129,0.15); color: var(--q3-color); border:1px solid rgba(16,185,129,0.4)">Q3 电流</span>
<input type="range" id="slider-q3" class="slider-compact" min="20" max="100" value="90" />
</div>
<div class="channel-ctrl">
<span class="channel-pill" style="background: rgba(192,132,252,0.15); color: var(--q4-color); border:1px solid rgba(192,132,252,0.4)">Q4 电流</span>
<input type="range" id="slider-q4" class="slider-compact" min="20" max="100" value="70" />
</div>
<button id="btn-pulse" class="btn-action" title="循环脉冲展示各象限独立瞬态响应">
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polygon points="5 3 19 12 5 21 5 3"></polygon>
</svg>
<span>巡检演示</span>
</button>
</div>
<script>
document.addEventListener("DOMContentLoaded", () => {
// 绑定4象限电流独立调节滑块
const sliders = {
q1: document.getElementById("slider-q1"),
q2: document.getElementById("slider-q2"),
q3: document.getElementById("slider-q3"),
q4: document.getElementById("slider-q4"),
};
const groups = {
q1: document.getElementById("q1-flux-group"),
q2: document.getElementById("q2-flux-group"),
q3: document.getElementById("q3-flux-group"),
q4: document.getElementById("q4-flux-group"),
};
// 动态映射流线强度与通量密度粗细
function updateQuadrant(quad, val) {
const factor = val / 100;
const group = groups[quad];
if (!group) return;
const mainPath = group.querySelectorAll("path")[0];
const subPath = group.querySelectorAll("path")[1];
// 磁流通量越大,流速越快,线条越亮,证明本象限低磁阻支路的高通量吞吐能力
mainPath.style.strokeWidth = (2.0 + factor * 3.5) + "px";
mainPath.style.opacity = (0.5 + factor * 0.5);
mainPath.style.animationDuration = (2.6 - factor * 1.4) + "s";
if (subPath) {
subPath.style.strokeWidth = (1.2 + factor * 2.0) + "px";
subPath.style.opacity = (0.3 + factor * 0.6);
subPath.style.animationDuration = (2.6 - factor * 1.4) + "s";
}
}
// 初始化各象限
Object.keys(sliders).forEach(key => {
const slider = sliders[key];
updateQuadrant(key, slider.value);
slider.addEventListener("input", (e) => {
updateQuadrant(key, e.target.value);
});
});
// 自动循环巡检动画 (展示各象限相互不串扰的独立自由度)
let autoRunning = false;
let timer = null;
let step = 0;
const btnPulse = document.getElementById("btn-pulse");
btnPulse.addEventListener("click", () => {
autoRunning = !autoRunning;
if (autoRunning) {
btnPulse.style.background = "rgba(56, 189, 248, 0.4)";
btnPulse.querySelector("span").textContent = "暂停巡检";
timer = setInterval(() => {
const quads = ['q1', 'q2', 'q3', 'q4'];
const targetQuad = quads[step % 4];
// 逐个大幅度激励特定象限,其余保持稳定,直观印证理想解完全无交叉干扰
quads.forEach(q => {
if (q === targetQuad) {
sliders[q].value = 100;
updateQuadrant(q, 100);
} else {
sliders[q].value = 40;
updateQuadrant(q, 40);
}
});
step++;
}, 1100);
} else {
clearInterval(timer);
btnPulse.style.background = "rgba(56, 189, 248, 0.12)";
btnPulse.querySelector("span").textContent = "巡检演示";
}
});
});
</script>
</body>
</html>
积分规则:每轮对话扣10分
等待动画代码生成...
