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.
how to fix support touch on the browser mobile ?
https://codepen.io/dudleystorey/pen/yJQxLX