<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>everwas &#187; dopplr</title>
	<atom:link href="http://everwas.com/tag/dopplr/feed" rel="self" type="application/rss+xml" />
	<link>http://everwas.com</link>
	<description>you may ask yourself, how do I work this?</description>
	<lastBuildDate>Wed, 14 Jul 2010 13:30:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Dopplr City Colors</title>
		<link>http://everwas.com/2009/03/dopplr-city-colors.html</link>
		<comments>http://everwas.com/2009/03/dopplr-city-colors.html#comments</comments>
		<pubDate>Wed, 18 Mar 2009 21:00:39 +0000</pubDate>
		<dc:creator>Ian Kennedy</dc:creator>
				<category><![CDATA[Travel]]></category>
		<category><![CDATA[User Interface]]></category>
		<category><![CDATA[Data Formats]]></category>
		<category><![CDATA[dopplr]]></category>
		<category><![CDATA[md5]]></category>

		<guid isPermaLink="false">http://everwas.com/?p=2069</guid>
		<description><![CDATA[
Did you know that dopplr assigns a unique color to each city? Neither did I. It&#8217;s not just random either &#8211; there&#8217;s an algorithm at play here. From the dopplr blog:
We wanted a deterministic RGB colour value for each city. At first, we tried mapping the latitude and longitude of a city to a point [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://everwas.com/wp/wp-content/images/dopplrcolors.png"><img class="aligncenter size-full wp-image-2070" title="dopplr colors" src="http://everwas.com/wp/wp-content/images/dopplrcolors.png" alt="dopplr colors" width="332" height="121" /></a></p>
<p>Did you know that dopplr assigns a unique color to each city? Neither did I. It&#8217;s not just random either &#8211; there&#8217;s <a href="http://blog.dopplr.com/2007/10/23/in-rainbows/">an algorithm</a> at play here. From the dopplr blog:</p>
<blockquote><p>We wanted a deterministic RGB colour value for each city. At first, we tried mapping the latitude and longitude of a city to a point in colour space, but we found that this made neighbouring cities too similar in colour. This means that people who travel frequently between Glasgow and Edinburgh wouldn’t clearly see the difference in colour between the two. Also, since so much of the Earth’s surface is covered in water rather than cities, it leads to a sparse use of the potential colour space. In the end, we went with a much simpler approach: we take the <a onclick="javascript:pageTracker._trackPageview ('/outbound/en.wikipedia.org');" href="http://en.wikipedia.org/wiki/MD5">MD5 digest</a> of the city’s name, convert it to <a onclick="javascript:pageTracker._trackPageview ('/outbound/en.wikipedia.org');" href="http://en.wikipedia.org/wiki/Hexadecimal">hex</a> and take the first 6 characters as a CSS RGB value.</p></blockquote>
<p>So now you know why San Francisco is <a href="http://www.dopplr.com/place/us/ca/san-francisco">pink</a>, Helsinki is <a href="http://www.dopplr.com/place/fi/helsinki">brown</a>, and Berlin is <a href="http://www.dopplr.com/place/de/berlin">red.</a></p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Zemified by Zemanta" href="http://reblog.zemanta.com/zemified/76b2392a-e535-4ae6-93e7-0a6934eff533/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_c.png?x-id=76b2392a-e535-4ae6-93e7-0a6934eff533" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://everwas.com/2009/03/dopplr-city-colors.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
