News for hackers. Stuff that matters.
Re:GitHub now has view modes for image diffs. by nborgo on Monday March 21, 2011 @08:27PM (#2352349)
The swipe and onion skin are pretty simple. Both of them put the images in the same place. When you swipe, the width of the top image changes. For the onion skin, the opacity changes.

Difference has some canvas magic going on.

Re:GitHub now has view modes for image diffs. by marcamillion on Monday March 21, 2011 @09:00PM (#2352455)
This is brilliant!!!

Thanks for this explanation. That makes total sense :)