nglviewer / ngl

WebGL protein viewer
http://nglviewer.org/ngl/
MIT License
664 stars 169 forks source link

Question: How to save and restore transformation? #1031

Open bergwerf opened 6 months ago

bergwerf commented 6 months ago

I want to save and restore the transformation applied by the user. I preferrably want to save something relative to the canvas size, such that the zoom level looks similar when restored on a smaller canvas.