It's so hard spread the knowledge you need to link to versioned libraries. THREE.JS has a policy of basically ignoring backward compatibility with every new version prioritizing forward momentum yet this library tells you to just download the latest version which will likely break.
The library currently doesn't work if you actually follow the docs because it's not compatible with the current version of three.js
I've cloned the repo and built it with the latest three.js, v0.113.2, and it's working. There must be something in the CDN versions that's off. I've submitted a PR to the origin repo (https://github.com/pchen66/panolens.js/pull/219) but whether or not the maintainer will pick it up is an unknown. It does look a bit abandoned.
My patched repo is at https://github.com/onion2k/panolens.js if you want to clone from something that works with a new version of three (it works, but some of the tests fail so that it might not be working entirely..)
Your PR gets several deprecated warnings and the docs still tell you to wrongly download the latest three.min.js and use panolens.min.js which are not compatible. If you actually try it you'll get an error from three.js, versions don't match
Yes I know I should submit a PR, but the point wasn't to fix the lib. The lib should use a versioned three.js and the docs should tell you to link to a versioned three.js, not top of tree. The point is conveying that is hard (easy to say, hard for people to discover and the knowledge to spread).
IMO Three.js should put the version in the pathname so that if you link directly their site you'll always get a specific version. This would remove the issue for all the people that don't manage to find out that linking to top of tree will break their stuff.
Hmm... since Javascript does everything nowadays, including reading and rendering PDF files which can be binary, I suppose writing a program to decode QTVR files is possible.
The library currently doesn't work if you actually follow the docs because it's not compatible with the current version of three.js