```interact
slider angle range=0..360 step=1 default=45 label="角度 (°)"
slider radius range=12..46 step=1 default=40 label="长度"
computed hx = 50 + radius * cos(angle * pi / 180)
computed hy = 50 - radius * sin(angle * pi / 180)
template svg:
<svg viewBox="0 0 100 100" width="240" height="190" role="img" aria-label="一根由角度和长度滑块驱动的表盘指针">
  <circle cx="50" cy="50" r="{radius}" fill="none" stroke="#c9c9da" stroke-width="0.6" stroke-dasharray="2,2"/>
  <line x1="50" y1="50" x2="{hx}" y2="{hy}" stroke="#7E73F7" stroke-width="1.8"/>
  <circle cx="{hx}" cy="{hy}" r="3.4" fill="#7E73F7"/>
  <circle cx="50" cy="50" r="2.2" fill="#161427"/>
</svg>
```
