Design a bowl using BeetleBlocks. You can start with the Basic Bowl Code in the resources below and remix or alter that design. Describe the process on your blog. Include images of the code and the 3D model.
Creating a bowl is an advance on doing coding since it involves the x,y, z-direction. I look at lots of different people's projects and mimic their steps to figuring out my bowl. For getting this hexagon bowl, I first set the extrusion diameter to 20, to make sure the line is thick enough, and I let the beetle moving with the line. I want the bowl combine with the multi-color, and my next step is setting the color to red. After that, I create a length variable and amount of change variable to use in the later stage to let the bowl moving in a coiled way.
The 1st step of this project is to create a base. The hexagon exterior angle is 60 degrees. If I want to draw a hexagon, the turtle has to turn 60 degrees each time, so that rotates z-direction by 60 degrees every time. If we let the bettle move only 1 each time, we won't get the coil hexagon. Therefore, we have to make the beetle move 1 step longer each time, so it won't form the perfect shape hexagon but a coil shape hexagon.
After the base, we have to let the bettle going up to build the bowl. The next step is adding change absolute z by 0.5 so that bettle is not moving on the same surface but slightly going up. I also want to change the 2nd half of the bowl in different colors. Thus, I set the hue to yellow and repeat the same step. I repeat each color 60 times, and it forms a tall hexagon bowl.
Finally, I want the bowl with a flat edge. The step I do is rotate the beetle in the flat surface and move in 6 times, which is a step to form the regular perfect hexagon to cover the rest of the part. And I get my tall hexagon two-color bowl.
Creating a bowl is an advance on doing coding since it involves the x,y, z-direction. I look at lots of different people's projects and mimic their steps to figuring out my bowl. For getting this hexagon bowl, I first set the extrusion diameter to 20, to make sure the line is thick enough, and I let the beetle moving with the line. I want the bowl combine with the multi-color, and my next step is setting the color to red. After that, I create a length variable and amount of change variable to use in the later stage to let the bowl moving in a coiled way.
The 1st step of this project is to create a base. The hexagon exterior angle is 60 degrees. If I want to draw a hexagon, the turtle has to turn 60 degrees each time, so that rotates z-direction by 60 degrees every time. If we let the bettle move only 1 each time, we won't get the coil hexagon. Therefore, we have to make the beetle move 1 step longer each time, so it won't form the perfect shape hexagon but a coil shape hexagon.
After the base, we have to let the bettle going up to build the bowl. The next step is adding change absolute z by 0.5 so that bettle is not moving on the same surface but slightly going up. I also want to change the 2nd half of the bowl in different colors. Thus, I set the hue to yellow and repeat the same step. I repeat each color 60 times, and it forms a tall hexagon bowl.
Finally, I want the bowl with a flat edge. The step I do is rotate the beetle in the flat surface and move in 6 times, which is a step to form the regular perfect hexagon to cover the rest of the part. And I get my tall hexagon two-color bowl.

Comments
Post a Comment