Difference between revisions of "CSC111 Final Exam 2014"
Line 95: | Line 95: | ||
<br /> | <br /> | ||
− | =Problem #2= | + | =Problem #2 (50 points)= |
<br /> | <br /> | ||
Write a JES program that takes an image and generates a circular soft mask around the center of the image, as illustrated below. On the left is the original image, and on the right the image generated by JES. | Write a JES program that takes an image and generates a circular soft mask around the center of the image, as illustrated below. On the left is the original image, and on the right the image generated by JES. | ||
Line 123: | Line 123: | ||
<br /> | <br /> | ||
* Your program should be called '''finalb.py''' | * Your program should be called '''finalb.py''' | ||
− | * You should submit the result of applying your program to the | + | * You should submit the result of applying your program to the same URL as indicated in Problem #1. |
<br /> | <br /> | ||
+ | <br /> | ||
+ | =Problem #3 (50 points)= | ||
+ | <br /> | ||
+ | Generate the image below. | ||
+ | <br /> | ||
+ | <center>[[Image:FractalTreeWithLeaves| 500px]]</center> | ||
+ | <br /> | ||
+ | Call your program '''finalc.py''' and the image '''finalc.jpg''' or '''finalc.png'''. Submit it to the same URL indicated in Problem #1. | ||
+ | |||
<br /> | <br /> | ||
<br /> | <br /> |