Still tinkering with this one
a quick way to compare two images
img sli
Drop in two images and drag the line between them to compare. You can zoom each side on its own, or lock them together and pan both at once. Nothing ever gets uploaded, even big files (up to 500 MB) get read straight into your browser. I built it because I kept wanting to compare edits without logging into some site and waiting on an upload.
Scroll to try it
01 / 04
why i made it
I just wanted to open it and go.
Every image comparison tool I found wanted me to make an account or sit through an upload first, and I just wanted to drop two pictures in and look. So I built the version I wanted: no account, no server, no waiting. It turned out to be a nice little excuse to play with clip-path and pointer events too.
The stuff it's made of
HTML5
Vanilla JS
CSS clip-path
Pointer Events API
FileReader API
Three.js
No build step