首次播放不掉帧

This commit is contained in:
yinsx
2026-01-04 14:06:14 +08:00
parent 2bd183463d
commit f98ff21394
7 changed files with 4856 additions and 33 deletions

View File

@ -51,6 +51,13 @@
style="width: 100%; cursor: pointer;">
</div>
<div class="input-group">
<label>播放倍速: <span id="speedValue">1.0x</span></label>
<input type="range" id="speedSlider" min="0.25" max="3" step="0.25" value="1.0"
oninput="updatePlaybackSpeed(this.value)"
style="width: 100%; cursor: pointer;">
</div>
<button id="generateBtn" onclick="generateAnimation()">生成动画</button>
<button onclick="playAnimation()">播放动画</button>
<button onclick="stopAnimation()">停止动画</button>