{"id":288,"date":"2009-07-19T19:38:54","date_gmt":"2009-07-19T18:38:54","guid":{"rendered":"http:\/\/evemaps.dotlan.net\/blog\/?p=288"},"modified":"2009-07-20T18:46:49","modified_gmt":"2009-07-20T17:46:49","slug":"updated-colors","status":"publish","type":"post","link":"https:\/\/evemaps.dotlan.net\/blog\/2009\/07\/19\/updated-colors\/","title":{"rendered":"Updated Colors &#8211; Update"},"content":{"rendered":"<p>Just a quick note: I doubled the number of colors which I use on the maps. I&#8217;ve now 36 colors (12 colors * dark\/medium\/light) and I hope that this will reduce the problems with alliances having the same color on the map.\u00a0 I just can&#8217;t use every color because I&#8217;ve always to make sure the text inside the system boxes are still readable.<\/p>\n<p><strong>How are the colors assigned?<\/strong><\/p>\n<p>I load all alliances that had sovereignty on this map in my history database and assigned the colors in the chronical order. When all colors are assigned I start from beginning. This method allows me that on a single map the color per of each alliance will be the same the next day or when you scroll back in the history. On a different map your alliance still can have a different color.<\/p>\n<p>With currently over 1700 alliances and over 320 alliances that were holding sovereignty in my history database, it would be a hard job to assign fixed colors to alliances. On the big <a href=\"http:\/\/go-dl1.eve-files.com\/media\/corp\/Verite\/influence.png\" target=\"_blank\"><strong>influence map<\/strong><\/a> all alliances hava a color assigned but only a few alliances are shown due to their influence which limits the number of simultaneously displayed colors.<\/p>\n<p><strong>&#8211; Update &#8211;<\/strong><\/p>\n<p>I found a bug in the color assignment which resulted that some colors got more often assigned then others. I fixed it and it&#8217;s now working as intended. But it is still possible that alliance are getting the same color and\/or just a brighter\/darker one which is already used. Until I find a better solution with so many alliances it will stay this way.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just a quick note: I doubled the number of colors which I use on the maps. I&#8217;ve now 36 colors (12 colors * dark\/medium\/light) and I hope that this will reduce the problems with alliances having the same color on the map.\u00a0 I just can&#8217;t use every color because I&#8217;ve always to make sure the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/posts\/288"}],"collection":[{"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/comments?post=288"}],"version-history":[{"count":7,"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/posts\/288\/revisions"}],"predecessor-version":[{"id":295,"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/posts\/288\/revisions\/295"}],"wp:attachment":[{"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/media?parent=288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/categories?post=288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/tags?post=288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}