The world is full of countries, each with its own unique identifier, in the form of a beautiful flag. Your job is to create the flags of the following countries by composing shapes onto a scene.
Example: Japan.
(place-image (circle 35 "solid" "red") 100 50 (rectangle 200 100 "solid" "white"))
Note: You can use either place-image or overlay to position your images, it is up to you.
In order to use the functions place-image
, rotate
,
and other goodies that we've included, you will be wanting to add a special
image-processing teachpack called image.ss
. You can find it in the Add Teachpack
menu, (Language/Add Teachpack) in the HtDP/2e section, in the center of the screen.
You will find
the documentation to be useful.
The CS17 teachpack will conflict with image.ss
, so uninstall 17.ss
while working with the images.
flags.rkt
, which, when run, displays all the flags in order,
along with the rest of your CS17 handin.