; radial-star :: (Numberpoints, Numberouter-radius, Numberinner-radius, Stringfill-style, Stringcolor) -> Image

Using the Contract above, match the images on the left to the expressions on the right. You can test the code at WeScheme.

a solid black ten-pointed star with a wide center

1

A

(radial-star 5 200 50 "solid" "black")

a solid black 5 pointed star with a narrow center

2

B

(radial-star 7 200 100 "solid" "black")

a shape with so many points that it looks like a ring with a wide hollow center

3

C

(radial-star 7 200 100 "outline" "black")

a shape with so many points that it looks like a ring with a narrow hollow center

4

D

(radial-star 10 200 150 "solid" "black")

the outline of a 7-pointed star

5

E

(radial-star 10 200 20 "solid" "black")

a solid black 7-pointed star

6

F

(radial-star 100 200 20 "outline" "black")

a solid 10-pointed star with a narrow center

7

G

(radial-star 100 200 100 "outline" "black")

These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, 1738598, 2031479, and 1501927). CCbadge Bootstrap by the Bootstrap Community is licensed under a Creative Commons 4.0 Unported License. This license does not grant permission to run training or professional development. Offering training or professional development with materials substantially derived from Bootstrap must be approved in writing by a Bootstrap Director. Permissions beyond the scope of this license, such as to run training, may be available by contacting contact@BootstrapWorld.org.