Adapting gltf viewer for animation

hi, back again!

now attempting to alter current viewer to include animations, no idea how to do so.

code is here:

glb viewer

checked docs and several tutorials, could not quite understand how to do this.

if anyone here has suggestions i would be appreciative.

I’d start by looking at an example like animation / keyframes (source link in bottom right), which loads a GLB and plays its first animation.

hi, after some while i am looking again at this. attached is my edit of the demonstration code, which is predictably non functional. any advice would be appreciated. non functional edit of demo code.