Compare Two Images Side-by-Side
Small widget to compare two images side by side, for my articles on pixel art scaling (parts one and two).
The TwentyTwenty jQuery plugin does this beautifully, but I wanted to avoid external dependencies.
The whole thing turned out to be relatively straightforward, using drawImage
.