ontrols">
    <canvas id="reset" class="button" onclick="resetplay()"> </canvas> 
    <canvas id="play_pause" class="button" onclick="toggleplaypause()">  </canvas>
    <input id="slider" class="slider" type="range" name="duration" min="0" max="100" step="0.1" onchange="sliderdrag()" oninput="sliderdrag()"/>
  </div>
  <a href="https://klampt.org"><img src="https://motion.cs.illinois.edu/klampt/powered_by_klampt_transparent.png" class="logo"></a>
  <div id="canvas" style="position:absolute; top:0; left:0; d