And I thought it was going to be a short one. Got to get back to work. By the way, I play this game with Google Maps every day.
Xkcd: Click and Drag
61–70 of 97 posts
Re: Xkcd: Click and Drag
#62Re: Xkcd: Click and Drag
#63Re: Xkcd: Click and Drag
#64I wrote some JS to add keyboard controls to the map, because clicking and dragging is for suckers. http://www.potch.me/blog/press-and-hold.html
as a bookmarklet: javascript:var kn=document.createElement('script');kn.src='//raw.github.com/gist/3748621/1bbdaee115134d0106978e42a5423f7b3e5de5e3/nav.js'; kn.type='text/javascript';document.getElementsByTagName('head')[0].appendChild(kn);
I added a bookmarklet of the original code to the site- I know you're legit, but I'm always wary of encouraging people to load random external JS via a bookmarklet.
Re: Xkcd: Click and Drag
#65I wrote some JS to add keyboard controls to the map, because clicking and dragging is for suckers. http://www.potch.me/blog/press-and-hold.html
I'm holding out for a version that lets me use two-finger scrolling.
EDIT: The mouse does move off the view port during drag, so its probably not that much more efficient.
Re: Xkcd: Click and Drag
#66Re: Xkcd: Click and Drag
#67Earlier quoted context omitted.
I was having trouble downloading the torrent, so I wrote a little script to get it for me: https://gist.github.com/3748257 Warning: 6mb worth of files. Edit: Github repo with all the images and the script, so that people don't need to hammer the xkcd server: https://github.com/danielribeiro/xkcd_grab
And here is how you get a web page you can open to view the whole thing in a one sitting: perl -e'print " img{width:2048px;height:2048px} "; print /X$/ ? "\n" : " " for @ARGV' {{13..1}n,{1..19}s}{{33..1}w,{1..48}e,X} > index.html Warning: gigantic page, may crash your browser. (Not as bad as it might seem, since many tiles are missing.)
Re: Xkcd: Click and Drag
#68Does anybody know?
Re: Xkcd: Click and Drag
#69my hacky way of killing Randall's server: curl --limit-rate 40K -O http://imgs.xkcd.com/clickdrag/\[0-100\]\{n,s\}\[0-100\]\{e,w\}.png Then to remove all the 404s: find . -type f -size 345c -exec rm -f {} \; Woo! No code.