6 Commits

Author SHA1 Message Date
99d137cc09 Conjugate scaling operation by translating to the origin
https://stackoverflow.com/questions/38446666/scaling-around-a-specific-point-in-2d-coordinate-system
2025-03-17 09:58:10 -07:00
f0b5c1a511 Add Jest testing framework 2025-03-06 21:47:00 -08:00
33a9b2256e Update package.json 2025-03-06 10:58:40 -08:00
79964ead91 Add module to save and restore pan/zoom values on page reload 2025-03-05 14:18:31 -08:00
9c34e15c47 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
2024-06-11 15:09:41 -07:00
263201d869 Initial commit 2024-04-15 09:48:00 -07:00