WEIRC – I Madeup A Church!!
May 9, 2015 by weirc. Filed under
Deprecated: Creation of dynamic property WP_Term::$cat_ID is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 378
Deprecated: Creation of dynamic property WP_Term::$category_count is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 379
Deprecated: Creation of dynamic property WP_Term::$category_description is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 380
Deprecated: Creation of dynamic property WP_Term::$cat_name is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 381
Deprecated: Creation of dynamic property WP_Term::$category_nicename is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 382
Deprecated: Creation of dynamic property WP_Term::$category_parent is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 383
Deprecated: Creation of dynamic property WP_Term::$cat_ID is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 378
Deprecated: Creation of dynamic property WP_Term::$category_count is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 379
Deprecated: Creation of dynamic property WP_Term::$category_description is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 380
Deprecated: Creation of dynamic property WP_Term::$cat_name is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 381
Deprecated: Creation of dynamic property WP_Term::$category_nicename is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 382
Deprecated: Creation of dynamic property WP_Term::$category_parent is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 383
Deprecated: Creation of dynamic property WP_Term::$cat_ID is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 378
Deprecated: Creation of dynamic property WP_Term::$category_count is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 379
Deprecated: Creation of dynamic property WP_Term::$category_description is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 380
Deprecated: Creation of dynamic property WP_Term::$cat_name is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 381
Deprecated: Creation of dynamic property WP_Term::$category_nicename is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 382
Deprecated: Creation of dynamic property WP_Term::$category_parent is deprecated in /var/www/twodee/blog/wp-includes/category.php on line 383
cs455, postmortems, spring 2015.
Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/twodee/blog/wp-includes/wp-db.php on line 3030
Deprecated: parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/twodee/blog/wp-content/plugins/jetpack/class.jetpack.php on line 4255
Deprecated: Creation of dynamic property Jetpack_Carousel::$localize_strings is deprecated in /var/www/twodee/blog/wp-content/plugins/jetpack/modules/carousel/jetpack-carousel.php on line 339
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