ur opinion, I solicit it
Jul. 28th, 2009 05:57 pmIt is an unfortunate mathematical fact that you cannot draw a dotted line that is one pixel wide, an even number of pixels long, and has dots at either end. This being the case, which of the following possible alternatives to that unachievable ideal looks least bad? Including None of the above; I have a better idea which I will explain,
of course.
You might want to magnify the image to see exactly what is going on; however, the aesthetics at this size are what matters.
ETA: I should have explained that both of the boxes in each row are generated by the same algorithm; the difference is that in the left column, the vertical sides are an odd number of pixels long, whereas in the right column, all four sides are an even number of pixels long.

no subject
Date: 2009-07-29 03:45 am (UTC)The right-hand box on row 2 is not missing its right-bottom dot, but I'm not sure I can explain why. Perhaps it would do to say that all of these variations come from adjusting the start and end points of the lines, except the first row, where we are drawing two lines per side?
Double white dot in the middle of the line is not an option because if you actually draw it, you discover that it either has to be slightly off-center or four pixels wide. I decided that was just too ugly.