Skip to content

Instantly share code, notes, and snippets.

@yaakaito
Created February 24, 2012 05:40
Show Gist options
  • Save yaakaito/1898061 to your computer and use it in GitHub Desktop.
Save yaakaito/1898061 to your computer and use it in GitHub Desktop.
なめこ無限回収 ( http://s6.ql.bz/~iqp/nameko/nameko.html )
(function(){var w = $(window).width(), h = $(window).height();getMouseX = function(e){return e.x;};getMouseY = function(e){return e.y;};setInterval(function(){for(var x = 0; x < w; x+=10){for(var y = 0; y < h; y+=10){onMouseDown({x:x,y:y});}}}, 3000);})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment