Coding Exercise 1

Prerequisite Concepts 12
Key Concepts 14, 17

Figure 1 gives the specification of a basic lace in terms of a lace pattern (i.e., a stamping pattern) and an initial artifact.

lace_01_spec
Figure 1: Specification of a basic lace.

Write a Bricklayer program that creates a basic lace artifact similar to the one shown in Figure 2. Your creation should make use of randomly generated bricks. However, it is not necessary to have the identical color scheme as the artifact shown in Figure 2. Feel free to create a color scheme of your liking.

lace_01
Figure 2: An implementation of the lace specification given in Figure 1.

Coding Exercise 2

Prerequisite Concepts 12
Key Concepts 14, 17

The lace shown in Figure 4 is a two dimensional adaptation of a well-known three dimensional structure called the Menger Sponge. Its two dimensional version is sometimes referred to as the Menger Carpet. This lace can be constructed from the specification shown in Figure 3.

lace_02_spec
Figure 3: Specification of a basic lace.

Write a Bricklayer program that creates a basic lace artifact similar to the one shown in Figure 4. Your creation should make use of randomly generated bricks. However, it is not necessary to have the identical color scheme as the artifact shown in Figure 4. Feel free to create a color scheme of your liking.

Lace_02.png
Figure 4: An implementation of the lace specification given in Figure 3.

Coding Exercise 3

Prerequisite Concepts 12
Key Concepts 14, 17

Figure 5 gives the specification of a basic lace in terms of a lace pattern (i.e., a stamping pattern) and an initial artifact.

lace_03_spec
Figure 5: Specification of a basic lace.

Write a Bricklayer program that creates a basic lace artifact similar to the one shown in Figure 6. Your creation should make use of randomly generated bricks. However, it is not necessary to have the identical color scheme as the artifact shown in Figure 6. Feel free to create a color scheme of your liking.

lace_03
Figure 6: An implementation of the lace specification given in Figure 5.

Coding Exercise 4

Prerequisite Concepts 12
Key Concepts 14, 17

Figure 7 gives the specification of a basic lace in terms of a lace pattern (i.e., a stamping pattern) and an initial artifact.

lace_04_spec
Figure 7: Specification of a basic lace.

Write a Bricklayer program that creates a basic lace artifact similar to the one shown in Figure 8. Your creation should make use of randomly generated bricks. However, it is not necessary to have the identical color scheme as the artifact shown in Figure 8. Feel free to create a color scheme of your liking.

lace_04
Figure 8: An implementation of the lace specification given in Figure 7.

Coding Exercise 5

Prerequisite Concepts 12
Key Concepts 14, 17

Figure 9 gives the specification of a basic lace in terms of a lace pattern (i.e., a stamping pattern) and an initial artifact.

lace_05_spec
Figure 9: Specification of a basic lace.

Write a Bricklayer program that creates a basic lace artifact similar to the one shown in Figure 10. Your creation should make use of randomly generated bricks. However, it is not necessary to have the identical color scheme as the artifact shown in Figure 10. Feel free to create a color scheme of your liking.

lace_05
Figure 10: An implementation of the lace specification given in Figure 9.

Coding Exercise 6

Prerequisite Concepts 12
Key Concepts 14, 17

Figure 11 gives the specification of a basic lace in terms of a lace pattern (i.e., a stamping pattern) and an initial artifact.

lace_06_spec
Figure 11: Specification of a basic lace.

Write a Bricklayer program that creates a basic lace artifact similar to the one shown in Figure 12. Your creation should make use of randomly generated bricks. However, it is not necessary to have the identical color scheme as the artifact shown in Figure 12. Feel free to create a color scheme of your liking.

Lace_06.png
Figure 12: An implementation of the lace specification given in Figure 11.

Coding Exercise 7

Prerequisite Concepts 12
Key Concepts 14, 17

Figure 13 gives the specification of a basic lace in terms of a lace pattern (i.e., a stamping pattern) and an initial artifact.

lace_07_spec
Figure 13: Specification of a basic lace.

Write a Bricklayer program that creates a basic lace artifact similar to the one shown in Figure 14. Your creation should make use of randomly generated bricks. However, it is not necessary to have the identical color scheme as the artifact shown in Figure 14. Feel free to create a color scheme of your liking.

lace_07
Figure 14: An implementation of the lace specification given in Figure 13.