开发者

Creating a scratchy ticket

Looking to create a scrathie ticket effect in javascript where a block is presented and you with the mouse) click and drag to reveal the image behind

Am determined not to use Flash

开发者_Go百科

This is the best I could find so far in terms of an example script http://www.siteexperts.com/tips/styles/ts37/page1.asp

Anyone know of a better more 'scratch-like' example with code?


Best bet would be to overlay a canvas over something, and scratch away the position of the mouse pointer.

jsFiddle.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜