Difference between revisions of "CSC111 Final Exam 2014"

From dftwiki3
Jump to: navigation, search
Line 92: Line 92:
 
<br />
 
<br />
 
[[Image:funnybaby.jpg|300px]]&nbsp;&nbsp;&nbsp;[[Image:funnybabyfog.png|300px]]
 
[[Image:funnybaby.jpg|300px]]&nbsp;&nbsp;&nbsp;[[Image:funnybabyfog.png|300px]]
</onlydft>
 
 
</center>
 
</center>
 
==Implementation Details==
 
==Implementation Details==
 
* The "circle of fog" is as big as the width or the height of the image, whichever is smaller
 
* The "circle of fog" is as big as the width or the height of the image, whichever is smaller
 
* The fog can be white or black, depending on your own preference
 
* The fog can be white or black, depending on your own preference
* The image is fully white or fully black outside the "circle of fog".
+
* The image is fully white or fully black outside the "circle of fog"
 +
* The amount of "fog" inside the circle is up to you. But there should be some fog!  The  pixel at the very center of the foggy image should retain its original color. 
 
* Your JES program should only ask the user for a file name, nothing else.
 
* Your JES program should only ask the user for a file name, nothing else.
 +
<br />
 +
==Submission==
 +
<br />
 +
* Your program should be called '''finalb.py'''
 +
* You should submit the result of
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
 +
</onlydft>

Revision as of 16:56, 25 April 2014


...