Hi Borim,
I'm definitely not the one to say anything about programming techniques.
I cannot be sure - this was before "my time", but I could imagine that
Nasenbaer (Peter) has done
part of or all of this work. Unfortunately he is very busy lately and
does not show up much.
I am also trying to fix those colors at the moment, hoping somebody will
then
somehow bring them into the code :)
What I can say, however, is that those colors were generated with a
ruleset in mind.
(best seen with the Atlanteans) like: "666600", "333300",ccff00"
"99cc00" and so on.
It seems like the primary intention was to assign different colors to
everything even across the tribes,
and to avoid any repetition.
I don't see the point in that. One set of colors can go for all tribes IMO.
And rather than "invisible" or "undistinguishable" colors, I'd go with
some repetition.
Since this systematic approach obviously gave some unwanted results, I
am now trying (as in "paint a thin line on that light grey marble
background" to find colors that are:
a) Clearly visible against that background (if not, I'll suggest
changing that first!)
b) As different from each other, as can be contrived.
The reason the mathetical approach is not so good, is a physiological one:
The human eye is not equally sensitive over the whole spectrum of
colors, but is best
in the "green" section. So, I think there is no better way than try and
error.
I have not yet done much to find new colors, so if you want to do that
yourself, tell me, please.
Else, I hope I can come up with a list of suggestions.
If you can (and agree) I'd ask you too look for the place where the
width of the line is defined in code,
and make the lines a bit thicker. This seems to be part of the problem
also, and the scale of the graph
does not allow for too much accuracy anyhow.
cheers Wolf (aka Astuur)
Am 20.11.2011 12:00, schrieb borim7@...:
> Hello,
> I currently change the plot line colors in the ware statistics menu. Some of them are hardly vissible...
>
> During my work I recognized that the array, which define the color is 241 entries long, but the accumulated sum of ware types is only 137 (39 barbarian, 45 empire, 53 atlanteans)
>
> Is there any reason known, why such a big array is created?
>
> And if anything speaks again shrinking the array down?
>
> Cheers
> Matthias (Borim)
> ___________________________________________________________
> SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Widelands-public mailing list
> Widelands-public@...
> https://lists.sourceforge.net/lists/listinfo/widelands-public
>
|