Harder Flags Tutorial
From Progzoo
These examples are rather more complicated. They all involve repetition and you should use loops and create your own methods to solve them.
[edit] Malaysia
392 by 196, radius of the star is 30. Yellow crescent and a yellow 14 point star on blue. Fourteen red and white stripes.
Model answer has 39 lines.
Hints:
[Font]
[Default]
[Show]
[Resize]
[edit] South Korea
- 300 by 200, red/blue yin-yang symbol with black trigrams.
- The circle has radius 50
- The largest black rectangle is 8 by 40
- The gaps are 2 pixels
- The rectangles are 30o from horizontal
- The middle of each trigram is 100 from the center
[Font]
[Default]
[Show]
[Resize]
[edit] United States
Size: 246 by 130. Thirteen red and white stripes. A 5x4 grid of 20 stars interleaved with a 6x5 grid of 30 stars on a blue background.
- Radius of star: 5
- Horizontal grid offset: 8
- Vertical grid offset: 7
Model answer has 39 lines.
Hints:
[Font]
[Default]
[Show]
[Resize]


