{"id":1016,"date":"2011-02-28T00:11:43","date_gmt":"2011-02-27T15:11:43","guid":{"rendered":"http:\/\/www.davidhed.com\/blog\/?p=1016"},"modified":"2011-02-28T00:11:43","modified_gmt":"2011-02-27T15:11:43","slug":"down-the-rabbit-hole","status":"publish","type":"post","link":"http:\/\/www.davidhed.com\/blog\/2011\/02\/28\/down-the-rabbit-hole\/","title":{"rendered":"Down the Rabbit Hole"},"content":{"rendered":"<p><a href=\"https:\/\/picasaweb.google.com\/lh\/photo\/1omzcsxsvMNSMS_kGMTD9Q?feat=embedwebsite\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft\" src=\"https:\/\/lh5.googleusercontent.com\/_tPVAWD6nVDQ\/TWpHhxl3DuI\/AAAAAAAAE0s\/VgKJLs9toP0\/s400\/XplanetWallpaper.jpg\" alt=\"\" width=\"400\" height=\"225\" \/><\/a>An idea I&#8217;ve had kicking around in my head for a while is a desktop wallpaper of the earth, with a realtime display of night and day as the world revolves. For whatever reason, I started looking into it last week.<\/p>\n<p>I found a couple of web sites that display about what I was looking for (<a href=\"http:\/\/www.timeanddate.com\/worldclock\/sunearth.html\" target=\"_blank\">1,<\/a> <a href=\"http:\/\/www.daylightmap.com\/index.php\" target=\"_blank\">2,<\/a> <a href=\"http:\/\/www.die.net\/earth\/\" target=\"_blank\">3<\/a>), but hacking Windows 7 to display web content on the desktop isn&#8217;t really my style (Active Desktop functionality disappeared with Vista&#8217;s Sidebar and 7&#8217;s Gadgets, I discovered).<\/p>\n<p>Anyway, while reading about how one of the sites generates the images they display, I discovered a few programs that do what I was looking for, and after reading through the descriptions it seemed the perfect program was <a href=\"http:\/\/xplanet.sourceforge.net\/\" target=\"_blank\">Xplanet<\/a>. It&#8217;s used to create many of the maps on Wikipedia, enough to  warrant an internal page with a tutorial on how to create maps for  Wikipedia <a href=\"http:\/\/en.wikipedia.org\/wiki\/Wikipedia:Producing_maps_with_xplanet\" target=\"_blank\">articles<\/a>. It can display images from any point of view in our solar system you&#8217;d like, and of course anywhere on our planet, and update your wallpaper automatically. It&#8217;s fantastically versatile, but because it was built to run under Unix, it&#8217;s a bit quirky.<\/p>\n<p>First off, you need a Unix command interpreter <a href=\"http:\/\/www.cygwin.com\/\" target=\"_blank\">dll<\/a> (fortunately included with the distribution) to even run the thing under Windows. Because it was initially designed to run under a command line-driven OS, it literally doesn&#8217;t have a GUI; the exhaustive documentation and help is all text-based- which was my first hook, a nostalgic intellectual exercise in command-line switches and parameters, replete with config and batch files.<\/p>\n<p>I&#8217;m not sure if you&#8217;re like me, but when I get a new gadget I explore all the features to see what there is and what I can use. I even started thinking about tossing together a VB configurator that would write the config and batch files for you.<\/p>\n<p>In learning all of Xplanet&#8217;s features, I found myself exploring forums dedicated to the program and discovered that there were multiple interfaces people had already written for it (<a href=\"http:\/\/mein-neues-blog.de\/xplanetfx\/\" target=\"_blank\">1,<\/a> <a href=\"http:\/\/www.mkoe.de\/content\/view\/17\/40\/\" target=\"_blank\">2,<\/a> <a href=\"http:\/\/xplanetconfig.sourceforge.net\/\" target=\"_blank\">3<\/a>). I even found a program dedicated to periodically downloading current cloud <a href=\"http:\/\/porpoisehead.net\/mysw\/index.php?pgid=docs_download_xplanet_cloudmap\" target=\"_blank\">maps<\/a>. It might not surprise you then to learn that most of my free time over the last week has been consumed by learning and configuring Xplanet to my liking. I enjoy projects like this, where learning some new bit rewards you with a small change, slowly shaping the output toward your ideal.<\/p>\n<p>You can see a screenshot up to the left of how it looks right now. I&#8217;m still not 100% done; I want to explore using a gamma adjustment to lighten up the clouds just a smidge so it&#8217;s easier to see the landmasses underneath. It&#8217;s close enough to share though, so if you wonder why I haven&#8217;t been online for the last week or so, here&#8217;s your reason. And if you have any questions about Xplanet, feel free to ask. \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An idea I&#8217;ve had kicking around in my head for a while is a desktop wallpaper of the earth, with a realtime display of night and day as the world revolves. For whatever reason, I started looking into it last week. I found a couple of web sites that display about what I was looking [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48],"tags":[291,293,292,290],"class_list":["post-1016","post","type-post","status-publish","format-standard","hentry","category-digital-life","tag-configurator","tag-maps","tag-rabbit-hole","tag-xplanet"],"_links":{"self":[{"href":"http:\/\/www.davidhed.com\/blog\/wp-json\/wp\/v2\/posts\/1016","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.davidhed.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.davidhed.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.davidhed.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.davidhed.com\/blog\/wp-json\/wp\/v2\/comments?post=1016"}],"version-history":[{"count":5,"href":"http:\/\/www.davidhed.com\/blog\/wp-json\/wp\/v2\/posts\/1016\/revisions"}],"predecessor-version":[{"id":1021,"href":"http:\/\/www.davidhed.com\/blog\/wp-json\/wp\/v2\/posts\/1016\/revisions\/1021"}],"wp:attachment":[{"href":"http:\/\/www.davidhed.com\/blog\/wp-json\/wp\/v2\/media?parent=1016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.davidhed.com\/blog\/wp-json\/wp\/v2\/categories?post=1016"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.davidhed.com\/blog\/wp-json\/wp\/v2\/tags?post=1016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}