WEIRC – I Madeup A Church!!
At first, I thought about making a butterfly, then after searching on google for a minute, I quickly gave up. Then the colorful Windows 7 logo of the monitor background inspired me, I said to myself, I’m going to make a windows logo! Since the logo is essentially curved rectangles, I started making my own rectangles. I didn’t know how to make a box curve like I wanted, so I made my own box by making so many lines that you cannot identify the lines anymore. After this step, I was really puzzled on how to make the curve smooth, instead of like a triangle. Eventually, I thought that maybe I’ll just leave it as it is, and call it a warehouse. HOWEVER, Aaron gave me the inspiration of making a church out of it, so I worked on adding a cross to the top of the “warehouse”. There I demonstrated how to make a warehouse into a legit church! BTW, your program is not compatible with IE, at least on this computer in the lab I am using.
Code:
to square x y z w =
push
a = 0
for n through w
if n%4 == 0
if n < w/2
a = a + 2
else
a = a – 2
end
end
moveto x, y+a+w*5/7, z+n
moveto x, y, z+n
moveto x+w, y, z+n
moveto x+w, y+a+w*5/7, z+n
moveto x, y+a+w*5/7, z+n
end
pop
push
for n through w
moveto x+n, y+a+w*5/7, z
moveto x+n, y, z
end
pop
moveto x, y, z+w
for n through w
moveto x+n, y+w*5/7, z+w
moveto x+n, y, z+w
end
end
w = 500
push
square 0, 0, 0, w
pop
depth = w/2 – 15
for n through 30
moveto 0, 0, depth+n
moveto 0, w + w/4, depth + n
end
depth = w/2
height = 90
moveto 0, w + height, depth
moveto 0, w + height, depth – 60
for n through 20
moveto 0, w + height – n, depth + 60
moveto 0, w + height – n, depth – 60
end