2012-10-19

Style Tweaks

Another item crossed off the to-do list - borders and routes now have a maximum width when you zoom in, and text has a maximum font size. I'm actually not sure I'm totally happy with this, as it means that everything looks a bit spindly when you are at 256 pixels/parsec. So I'll probably revise things over time. Previously, once you hit 64 px/pc everything just got bigger, except for the UWP which appeared at 128px/pc (wedged in uncomfortably), so zooming was relatively "smooth", especially on touch devices. In any case, this doesn't affect anything at 64 px/pc and below, so most users won't notice.

Perhaps more subtle but affecting more users: I reduced the width of borders and routes very slightly and adjusted the shade of blue used for "wet" worlds to better match the Spinward Marches poster. I also tweaked the parameters for Candy style a bit and made its legend more relevant.

Additionally, I restored a fix that had been lost at some point: the images used in the legend are no longer rendered live but use static resources to reduce server load.

...

Since I was there, two more fixes:

  • Tweaked base positions so they're better positioned at every scale
  • Made sure sector borders are always thicker than subsector borders.

Ω

9 comments:

Craig A. Glesner said...

Well, having done up a few maps this week, I can say that the fixes make it look pretty good.

And you are right about the spindlness at 256 px/parsec.

77topaz said...

Hmm... that spindliness is a bit extreme at 256 and 512. :P

Also, with Filled Borders enabled, the "separation" between worlds and routes, and also around world names, disappears.

Joshua Bell said...

Yeah that's why filled borders are a beta feature. :)

The correct solution is to union all of the world discs and labels into a clipping region used when rendering routes and borders, but that isn't trivial and may have memory/speed issues.

File a bug on Trello?

Joshua Bell said...

I think I'll keep the proportions from 128 at higher zooms, at least until we get system rendering. :)

77topaz said...

The "whole sector" map at sector.htm doesn't render properly.

77topaz said...

And the "adjacent subsector" labels for the subsector maps disappeared.

Joshua Bell said...

Confirmed - I broke the rotation. Will fix soon.

Joshua Bell said...

I'm not seeing this. What sector, subsector, and what browser/OS?

Joshua Bell said...

Fixed, and added image tests