The following Graphics behavior is annoying. Plotting several identical lines over each other makes the line thicker and thicker. But the correct behavior should be - the line should stay same no matter how many times I plot identical line over it.
Input:
Table[Graphics[{Line[{{0, 0}, {1, 1}}],
Table[Line[{{1/10, 0}, {1/10 + 1, 1}}], n],
Inset[n, {1/2, 1}]}], {n, {1, 2, 5, 10, 100, 1000}}]
Export["C:\\gra.gif", %, "DisplayDurations" -> 1,
AnimationRepetitions -> Infinity]
Output:
For example this behavior makes images ugly, since the lines are not evenly thick:
Input:
et[p_] := {Transparent,
Triangle[(-p*{1/2, Sqrt[3]/2} + {0,
Sqrt[3]/6 Mod[Total[p], 2]}) + # & /@ ({{-(1/2), -(1/(
2 Sqrt[3]))}, {1/2, -(1/(2 Sqrt[3]))}, {0, 1/Sqrt[3]}}*(-1)^
Total[p])]}
Graphics[{{EdgeForm[Black],
et /@ {{0, 0}, {0, 1}, {-1, 1}, {1, 1}, {-1, 2}, {0, 2}, {1,
2}, {2, 2}, {-2, 2}, {0, 3}, {1, 3}, {2, 3}, {-1, 3}, {-2,
3}, {-3, 3}, {3, 3}, {-1, 4}, {0, 4}, {1, 4}, {2, 4}, {3,
4}, {-2, 4}, {-3, 4}, {-4, 4}, {4, 4}, {0, 5}, {1, 5}, {2,
5}, {3, 5}, {4, 5}, {-1, 5}, {-2, 5}, {-3, 5}, {-4, 5}, {-5,
5}, {5, 5}}}}]
Output:
EDIT:
Here are three version of the same image.
First with option Antialiasing -> True
with duplicate lines.
Second with option Antialiasing -> False
with duplicate lines.
Third with option Antialiasing -> True
with manually removed duplicate lines.
Clearly the third is the best quality. But in my opinion the first image should look exactly like the third one without me manually removing duplicate identical lines.
10^-5
(mimicking a possible numerical error)? Does that count as lines overlapping, or not? Making Mathematica check the position of each and every graphical element would be very clumsy. My opinion is that the user should remove graphical elements if they are not to be rendered, including overlapping lines. $\endgroup$