7 ms·
Xkcd “Self-Description” solved with python+pygame
- ramchip 17y agoCan someone upload the result for those of us who don't have Python & friends installed?
- Raphael 17y agoEspecially considering the Pygame site is down.
- tmountain 17y agoIt runs in an animated fashion, so it'd be difficult to upload. Those without pygame can rest knowing that the comic is very close to accurate (assuming the program is accurate).
- bshep 17y agoAny mirrors for the pygame library?
- deleted 17y ago[deleted]
- eru 17y agoI was sure there was a pygame-package for Ubuntu. But I can't find it. So it's probably just my bad memory that makes it up. Pygame is a really nice library for 2d gaming, if a bit low-level. I like their approach to sprites and sprite-groups.
- yungchin 17y agoThe result is (almost) exactly http://xkcd.com/688/ http://xkcd.com/688/ I loved that one before, but I didn't realise that the panels also described the xkcd logo itself. It's beautiful.
- ars 17y agoHere you go. It's a sequence of images: http://yfrog.com/iyxkcd1p http://yfrog.com/iyxkcd1p --- http://yfrog.com/iyxkcd2p http://yfrog.com/iyxkcd2p --- http://yfrog.com/1sxkcd3p http://yfrog.com/1sxkcd3p --- http://yfrog.com/jkxkcd4p http://yfrog.com/jkxkcd4p --- http://yfrog.com/jkxkcd5p http://yfrog.com/jkxkcd5p --- http://yfrog.com/jkxkcd6p http://yfrog.com/jkxkcd6p --- http://yfrog.com/jqxkcd7p http://yfrog.com/jqxkcd7p --- http://yfrog.com/jkxkcd8p http://yfrog.com/jkxkcd8p --- http://yfrog.com/jqxkcd9p http://yfrog.com/jqxkcd9p And you can see how quickly it converges. In the actual program it flips back and forth with the real one so you can compare. But that actually makes it harder to see how it progresses. And try this link: http://img710.imageshack.us/slideshow/webplayer.php?id=xkcd9.png http://img710.imageshack.us/slideshow/webplayer.php?id=xkcd9... for a slideshow view.
- ramchip 17y agoThanks!
- ja27 17y agoThat xkcd reminded me of this histogram fun: http://www.ironicsans.com/2007/09/idea_the_histogram_as_the_imag.html http://www.ironicsans.com/2007/09/idea_the_histogram_as_the_...
- snprbob86 17y agoI considered expending effort to verify this and the units hobby one. However, I fully trust that Randall does his homework on each and every xkcd. Good netizens like yourself never fail to keep him honest for me. Thanks!