My 3D Design
This is my 3D design that I did on the same software that I used for the
animation, Xlogo. First I defined cube and made three cubes in different colors. I
liked this because it is 3D and stands out more than the 2D designs.
The code for this design was:
1. For defining the cube I used this code:
to cube
repeat 4 [fd 100 rt 90]
fd 100
down 90
fd 100
up 90
rt 90
repeat 4 [fd 100 rt 90]
fd 100
up 90
fd 100
down 90
rt 90
fd 100
down 90
fd 100
up 90
up 90
fd 100
down 90
rt 90
fd 100
down 90
fd 100
ht
end
2. For creating the structure and colors of the design I used this code:
setpc [102 255 102]
cube
setpc [255 51 255]
cube
setpc [102 153 255]
cube