Get the latest tech news
Show HN: I created snapDOM to capture DOM nodes as images with exceptional speed
snapDOM captures DOM nodes as images with exceptional speed avoiding bottlenecks and long tasks. - zumerlab/snapdom
snapDOM is a high-fidelity DOM capture tool, developed as part of the animation engine for Zumly — a framework for creating smooth zoom-based view transitions. It converts any HTML element into a scalable SVG image, preserving styles, fonts, backgrounds, shadow DOM content, pseudo-elements, and more. 📸 Full DOM capture 🎨 Embedded styles, pseudo-elements, and fonts 🖼️ Export to SVG, PNG, JPG, WebP, or canvas ⚡ Lightweight, no dependencies 📦 100% based on standard Web APIs
Or read this on Hacker News