Javascript erase image with cursor

后端 未结 2 1585
小蘑菇
小蘑菇 2021-01-03 08:58

Is it possible with javascript?

I\'m trying to implement a scratchcard type thing, and I was wondering if the user could \'scratch it\' with his cursor and then java

相关标签:
2条回答
  • 2021-01-03 09:14

    jQuery Plugin: http://www.senamion.com/blog/jScratchcard.html

    HTML5: http://www.catchmyfame.com/2011/06/28/a-jquery-canvas-scratch-off/

    0 讨论(0)
  • 2021-01-03 09:25

    Use html5 canvas element.

    Checkout this fiddle for an example: http://jsfiddle.net/ArtBIT/WUXDb/1/

    0 讨论(0)
提交回复
热议问题