SnapDOM is a next-generation DOM Capture Engine β ultra-fast, modular, and extensible. It converts any DOM subtree into a self-contained representation that can be exported to SVG, PNG, JPG, WebP, Canvas, Blob, or any custom format through plugins.
π Benchmark: snapDOM vs html2canvas
Each library will capture the same DOM element to canvas 5 times. We'll calculate average speed and show the winner.
This is the benchmark test element to be captured by both libraries.
π¦ Basic
Hello SnapDOM!
Transforms & Shadows
Transformed + Shadow
Capture it just with outerTransforms /
outerShadows.
π °οΈ ASCII Plugin
πβ¨π§ πΌοΈποΈπ§ͺ π‘π§©π¦π§βοΈπ‘οΈ ππ₯οΈππ§΅πΉοΈπ¨ π¬ποΈπ§°π§πͺπ§·
π Timestamp Plugin
π Fun Transition
πΊπ
I'm dancing and changing color!
Orbit CSS toolkit - Go to repo
π€ Google Fonts
Unique Typography!
Google Fonts with embedFonts: true.
π§± Shadow DOM
π¨ Canvas
π Export Formats
π€ Export as
PNG, JPG & WebP.
β¨ Pseudo Elements
This element has pseudo-elements.
βοΈ Clip-Path Demo
This shape uses clip-path
π Mix Blend Mode
Blended content
π§© Iframe (same-origin)
β¨οΈ Inputs & Textarea
π Masking Effects
π CORS Proxy (useProxy)
Image preview (background)