Mouse down or touch and stroke on canvas to reveal the image underneath. Uses Retina image detection in CSS & JavaScript with image-set and window.devicePixelRatio, image removal with globalCompositeOperation. Full explanatory article on my blog next week. Photographs by KingsdudeDave and davebloggs007
A Pen by Dudley Storey on CodePen.
Im having issues when it comes to mobile, specifically if I scroll at all on a longer page the hit box suddenly shifts. Anyone have this issue and know a fix?