Here is the Union Jack from the article. Concise and surprisingly human readable (I could draw this with felt tip pens on graph paper).
One problem though. The Union Jack is not symmetrical. This is tantamount to spelling someone's name incorrectly, and could be taken the wrong way, much like how some Americans would be offended if there weren't all the stars or stripes depicted.
There are some optimisations to be made, if concision rather than human readable is the ultimate goal. For example, x1="0" y1="0" is not needed, the use of a 1 x 1 viewBox means not using integers, even a 2 x 1 viewBox remedies that.
For 'human readable', if something is mirrored, the code should reflect that, with 'use' and transform 'scale(-1, 1)'. More groups could be used to contain elements that share the same colour or stroke.
In my 'hand coded' GB flag the weird offset-symmetry of the Northern Ireland 'red diagonals' is explained in SVG.
I am not that keen on CSS in SVG, however, for colours, I could be using CSS variables.
One problem though. The Union Jack is not symmetrical. This is tantamount to spelling someone's name incorrectly, and could be taken the wrong way, much like how some Americans would be offended if there weren't all the stars or stripes depicted.
There are some optimisations to be made, if concision rather than human readable is the ultimate goal. For example, x1="0" y1="0" is not needed, the use of a 1 x 1 viewBox means not using integers, even a 2 x 1 viewBox remedies that.For 'human readable', if something is mirrored, the code should reflect that, with 'use' and transform 'scale(-1, 1)'. More groups could be used to contain elements that share the same colour or stroke.
In my 'hand coded' GB flag the weird offset-symmetry of the Northern Ireland 'red diagonals' is explained in SVG.
I am not that keen on CSS in SVG, however, for colours, I could be using CSS variables.