Added zoom to mouse to 3D viewer


Something I’ve wanted for a long time in the ChiliPeppr 3D viewer is “zoom to mouse” where you could zoom in on your trackpad towards where the mouse pointer was pointing. It turns out it’s a tricky feature because the default three.js trackpad control used in ChiliPeppr doesn’t have native support for it.

I just deployed a version that I think works ok. It’s in production for those who want to play with it. If there are problems, let me know, because I could roll back the changes.