jquery.eraser製作擦塗效果

jQuery.eraser()

a plugin that replaces the targeted image by an interactive canvas
that can be erased using touch ou mouse moves.
try by yourself below...

$("#myImage").eraser();

robot.jpgrobot_redux.png

RESET CLEAR


or brush his teeth . <script src="http://www.jq22.com/jquery/2.1.1/jquery.min.js"></script> <script src='jquery.eraser.js' type='text/javascript'></script> <script type = "text/javascript"> addEventListener( "load", init, false ); function init( event ) { $("#redux").eraser(); // you can alse specify the brush size (in pixel) by using options : // $("#redux").eraser({size: 20}); } </script>
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章