1dde57b0ea
Update URLs to new domain name
2025-06-17 11:01:42 -07:00
d2a670731f
Conjugate scaling operation by translating to the origin
...
https://stackoverflow.com/questions/38446666/scaling-around-a-specific-point-in-2d-coordinate-system
2025-06-16 23:25:25 -07:00
3fa7f02571
Add Jest testing framework
2025-06-16 23:25:25 -07:00
79e5a4995e
Update package.json
2025-06-16 23:25:25 -07:00
aa15e21132
Add module to save and restore pan/zoom values on page reload
2025-06-16 23:25:25 -07:00
b449601a6b
Update implementation to account for WebKit bug
...
getScreenCTM() on WebKit does not reflect transformations applied to an ancestor (see bug https://bugs.webkit.org/show_bug.cgi?id=209220 ), so instead of transforming the root <svg> element, we can only transform a child element
2025-06-16 23:25:25 -07:00
e0fbba8fee
Use CSS transformations instead of manipulating the viewBox
2025-06-16 23:25:25 -07:00
9f82c19ed4
Initial commit
2025-06-16 23:25:25 -07:00