XKCD 'click and drag' gallery expression

The battleground for flame wars, off-topic derailments and spurious madness.
Post Reply
User avatar
Thrawn
Senior Member
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

XKCD 'click and drag' gallery expression

Post by Thrawn » Tue Sep 25, 2012 4:00 am

If anyone is interested, here's the FlashGot gallery expression to assemble the pieces of the recent 'click and drag' XKCD comic:

http://imgs.xkcd.com/clickdrag/[1-10][n-s;5][1-50][e-w;18].png
Last edited by Thrawn on Thu Sep 27, 2012 11:23 pm, edited 1 time in total.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1

User avatar
therube
Ambassador
Posts: 7528
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: XKCD 'click and drag' gallery expression

Post by therube » Thu Sep 27, 2012 6:03 pm

This the home page, http://www.xkcd.com/?

So other then the (seemingly) direct links as "seen" from their webpage, the images are also (?) hosted as you've noted?

http://imgs.xkcd.com/comics/mario.png
http://imgs.xkcd.com/comics/grownups.png
http://imgs.xkcd.com/comics/killed_in_action.png

And from you (which are also valid):

http://imgs.xkcd.com/clickdrag/1n1e.png
http://imgs.xkcd.com/clickdrag/3n2w.png

[n-s;5] ... [e-w;18]

What are the ;5 & ;18 doing?
Oh, they are limiting the range of n-s by 5 (chars), so that it is only n & s that are generated.
Neat, never realized that before.

So just another way of saying
[1-10]n[1-50]e.png
followed by
[1-10]s[1-50]w.png
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Firefox/17.0 SeaMonkey/2.14a2

User avatar
Thrawn
Senior Member
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: XKCD 'click and drag' gallery expression

Post by Thrawn » Thu Sep 27, 2012 7:48 pm

therube wrote:So just another way of saying
[1-10]n[1-50]e.png
followed by
[1-10]s[1-50]w.png

Not quite. It also includes nw and se.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (Linux; U; Android 2.2.1; en-gb; GT-S5570 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1

User avatar
therube
Ambassador
Posts: 7528
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: XKCD 'click and drag' gallery expression

Post by therube » Thu Sep 27, 2012 8:39 pm

(Oh yeah.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Firefox/17.0 SeaMonkey/2.14a2

Post Reply