Skip to content

Comment on A flat map with the least error possible: The Gott-Goldberg-Vanderbei projectionparent

Comments

To do it with CSS, at a minimum it would require adding support for rendering to two different canvas elements.

It might into trouble because rotating a rectangular <img> area varies it in height and width [1], but I would investigate animating a ‘rotate’ transformation. https://developer.mozilla.org/en-US/docs/Web/CSS/transform-f....

[1] seems to have a demo without that problem, so it seems this can be made to work https://imagekit.io/blog/image-rotation-html-and-css-imageki...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.