Chapter 14

Topic: Menger’s sponge

Level: Advanced



In this chapter, we’re going to build a fractal solid called Menger’s sponge. Here are the first steps to create this solid:

pict
Step 0
pict
Step 1


pict
Step 2
pict
Step 3

This chapter contains two sections:



 14.1 Using recursion

 14.2 Second approach: Drawing a Menger sponge, order 4

  14.2.1 Sierpinski carpet

  14.2.2 Drawing a Sierpinski carpet of order p

  14.2.3 All Different possible schemas for columns

  14.2.4 The program

  14.2.5 Menger’s sponge order 4