Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jmm77
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
Show HN: I made SnapDIFF a visual regression testing that runs client-side
(zumerlab.com)
1 points
by
jmm77
4mo ago
|
0 comments
2.
▲
SnapDOM is a super-fast HTML2Canvas alternative
(github.com)
3 points
by
jmm77
1y ago
|
0 comments
3.
▲
by
jmm77
1y ago
I really hope there will be, but it's still experimental. If it works well, I think there could be use cases such as dashboards, home automation UIs, charts, or even industrial line control. Zumly is actually a spinoff of ZircleUI, the
4.
▲
by
jmm77
1y ago
Yes, I'm afraid it depends a lot on what elements you are capturing. But maybe with a plugin designed to perform a capture burst and collect them in an array, it would be possible to generate an animation as output.
5.
▲
by
jmm77
1y ago
I'm using several functions to clone the DOM and insert it into an SVG <foreignObject>. This approach is now well supported across modern browsers, although <foreignObject> is still a rather primitive way to handle HTML and
6.
▲
by
jmm77
1y ago
Thank you for mentionig this. There are still some caveats I hope fix soon. And I working on a plugin system to allow user modify all aspects of the capture
7.
▲
by
jmm77
1y ago
Yes, the default capture output is a svg dataurl. But there many other export options. This lib was made as an internal tool for another project called Zumly that is zoomable engine and the svg format was the faster output I found. But then
8.
▲
by
jmm77
1y ago
Thank you!
9.
▲
Benchmark: snapDOM vs html2canvas
(zumerlab.github.io)
47 points
by
jmm77
1y ago
|
16 comments
10.
▲
by
jmm77
2y ago
Pretty cool, this is inspiring for landing pages.