Showing posts with label Math in Minecraft. Show all posts
Showing posts with label Math in Minecraft. Show all posts

Thursday, October 10, 2024

5th Iteration Minecraft Mighty Menger Sponge!!!!!!!!!!!!!!!




In an earlier post I created a 4th iteration 160,00 block Menger Cube in minecraft. After I discovered the newly added structure block I was able to construct the 5th iteration 3,200,000 block version.




After I cleared out a large enough area all the way down to bedrock I began construction.


Here is the bottom section with 5, 4th iteration menger cubes


















The 32x32x32 limit of the structure block meant that I had to use 3rd iteration 8,000 block menger cubes Menger cubes to construct this because the 4th iteration was more than the 32 cubed or 32,768 limit.

An fun side note is that I constructed this with x = 0, z  =  0 at the very center.















With the bottom section of 8, 4th iteration Menger cubes finished I it was time to do the second row of 4,




And the beginning of the top row of 8, 4th iterations menger cubes




From the above picture you can see the outline of the structure block for the 3rd iteration Menger cube. It takes 20 of the 3rd iteration to make a 4th iteration so for each of the 20, 4th iteration cubes I had place the structure block 20 times. That is still a huge drop from having to place each of the 3.2 million cubes.


If you can't make out the y coordinates below this structure goes from y = 0 to just under the minecraft build height limit. What this means is that the 6th generation is not gonna happen in minecraft unless that limit is changed.




Another side note a quick way to clear an area using the structure block is to save a 32x32x32 area of just air then use the structure blocks in the area you need to clear. You could also use the /fill command to fill an area with air but I like the structure block approach.


Here is a few shots of the finished product a megalith of 3.2 million blocks!!!!!!














And here is a few shots of me starting to decorate the inside.




5th iteration menger



Wednesday, April 13, 2016

Minecraft 4th iteration Menger Sponge

Minecraft Menger sponge (Menger Universal Curve) :

The Menger sponge is a 3 dimensional cube that models the Sierpinski carpet. The Sierpinski carpet is a fractal generalization of the Cantor set.

The Sierpinski carpet is a 2 dimensional figure starting with a square and then subdividing into 9 sections. You then remove the center section.
  


The next step is to take the remaining 8 sections and repeat the process for each one.




After that you are left with an image where the middle section is missing from each of the 8 subsections of the original figure. You then take each of those subsections and repeat the process again. This will leave you with this figure:


You can then repeat the process again....













An amazing property of the Sierpinski carpet is that as the number of iterations of this process approaches infinity the area will approach 0
When this process is moved up into 3 dimensions you construct a Sierpinski sponge. The Menger cube is slight alteration of the Sierpinski sponge.

The Menger sponge has a similar amazing property that as the iterations approach infinity the Surface area approaches infinity and the Volume approaches 0..  



I created a 4 iteration Menger sponge in Minecraft, starting with a 3X3X3cube.



Then I removed the center block from each of the 6 faces.




I Then cloned this cube using the Minecraft /clone command to get to 20 cubes arranged to show the next iteration of the Menger sponge.






I then cloned that cube to make 20 more copies to construct the next iteration.




At this point I will note that for the Menger sponge the number of cubes (or in this case blocks) is given by the formula (Number of blocks) N = 20ⁿ where n is the number of iterations and the above cube is iteration 3. which is N = 20³ = 8000 blocks.

For the final project I decided to move over into my realms server and construct a 4 iteration Menger cube with N = 20⁴ = 160,000 blocks...!!!!