8 replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
source | link

When I stumbled upon this questionthis question I remembered that I had also once seen precise rules for the construction of the South Korean flag. And this is quite a different construction.

enter image description here

Source: Wikipedia

So you're to draw an exact construction of this one now!

Specification

You can render the flag to file or screen using vector or raster graphics. If your output is rasterised, your image must have dimensions of 450x300 pixels or more.

All length ratios and positions need to be exactly as shown in the following diagram:

enter image description here

Source: Wikipedia

Note that the centres of the two small circles align with the diagonal.

For the colours, you must use the following palette:

  • White: #FFFFFF
  • Black: #000000
  • Red: #C60C30
  • Blue: #003478

The black boundary must not be drawn unless your drawing system does not let you specify a 3:2 canvas for technical reasons (otherwise, you should use a 3:2 canvas and the flag should fill all of it). If you do need to add the boundary, it may be arbitrarily thick - the flag should be considered strictly inside the black boundary. Any other helping lines or length indicators must not be drawn. I.e., the flag should appear exactly as in the first image.

Scoring

This is code golf, so the shortest answer (in bytes) wins.

As a word of warning, using existing compression (like embedding a compressed GIF) falls into several standard loopholes.

When I stumbled upon this question I remembered that I had also once seen precise rules for the construction of the South Korean flag. And this is quite a different construction.

enter image description here

Source: Wikipedia

So you're to draw an exact construction of this one now!

Specification

You can render the flag to file or screen using vector or raster graphics. If your output is rasterised, your image must have dimensions of 450x300 pixels or more.

All length ratios and positions need to be exactly as shown in the following diagram:

enter image description here

Source: Wikipedia

Note that the centres of the two small circles align with the diagonal.

For the colours, you must use the following palette:

  • White: #FFFFFF
  • Black: #000000
  • Red: #C60C30
  • Blue: #003478

The black boundary must not be drawn unless your drawing system does not let you specify a 3:2 canvas for technical reasons (otherwise, you should use a 3:2 canvas and the flag should fill all of it). If you do need to add the boundary, it may be arbitrarily thick - the flag should be considered strictly inside the black boundary. Any other helping lines or length indicators must not be drawn. I.e., the flag should appear exactly as in the first image.

Scoring

This is code golf, so the shortest answer (in bytes) wins.

As a word of warning, using existing compression (like embedding a compressed GIF) falls into several standard loopholes.

When I stumbled upon this question I remembered that I had also once seen precise rules for the construction of the South Korean flag. And this is quite a different construction.

enter image description here

Source: Wikipedia

So you're to draw an exact construction of this one now!

Specification

You can render the flag to file or screen using vector or raster graphics. If your output is rasterised, your image must have dimensions of 450x300 pixels or more.

All length ratios and positions need to be exactly as shown in the following diagram:

enter image description here

Source: Wikipedia

Note that the centres of the two small circles align with the diagonal.

For the colours, you must use the following palette:

  • White: #FFFFFF
  • Black: #000000
  • Red: #C60C30
  • Blue: #003478

The black boundary must not be drawn unless your drawing system does not let you specify a 3:2 canvas for technical reasons (otherwise, you should use a 3:2 canvas and the flag should fill all of it). If you do need to add the boundary, it may be arbitrarily thick - the flag should be considered strictly inside the black boundary. Any other helping lines or length indicators must not be drawn. I.e., the flag should appear exactly as in the first image.

Scoring

This is code golf, so the shortest answer (in bytes) wins.

As a word of warning, using existing compression (like embedding a compressed GIF) falls into several standard loopholes.

7 replaced http://meta.codegolf.stackexchange.com/ with https://codegolf.meta.stackexchange.com/
source | link
6 replaced http://meta.codegolf.stackexchange.com/ with https://codegolf.meta.stackexchange.com/
source | link
5 replaced http://meta.codegolf.stackexchange.com/ with https://codegolf.meta.stackexchange.com/
source | link
4 replaced http://meta.codegolf.stackexchange.com/ with https://codegolf.meta.stackexchange.com/
source | link
3 replaced http://meta.codegolf.stackexchange.com/ with https://codegolf.meta.stackexchange.com/
source | link
    Tweeted twitter.com/#!/StackCodeGolf/status/524507660498903040
2 added 20 characters in body
source | link
1
source | link