Description
User Interaction/Callbacks
This assignment will extend the assignment 1 by adding the following input controls and callback
handlers:
• number of points through a slider
• color thro either rgb text boxes or color picker
• buttons to perform specific actions
• display status as processing happens
Here is a mockup—you are free to design your own interface:
use the gasket1.html and gasket1.js which are explained in Ch 2. Using these files as the baseline, do
following
• move all JS code out of html file
• draw following in continuous loop—say 10 times
◦ change color—each iteration will be different color
◦ change size of image—large to small in steps and back to original size
◦ vary number of points in steps of 500-5000
Files may be found in
http://cs.uml.edu/~kseethar/Spring20 20 /programs/p1/
Deliverables
• Source files
• Sample Input/output
• 1 page report : Write about issues faced, lessons learned, any remaining bugs etc.
Extra Credit
• any other functionality …. – please document in report and code.
Deadline and Late Submissions
• The assignment is due on the date specified above at 11:59:59 PM
• Each day late will incur a penalty of 5% of the grade for the assignment; for example, if the
assignment is 3 days late, the maximum grade will be 85 out of 100—15 will be subtracted
from whatever grade is assigned.
Custom Work, Just for You!
Can’t find the tutorial you need? No worries! We create custom, original work at affordable prices! We specialize in Computer Science, Software, Mechanical, and Electrical Engineering, as well as Health Sciences, Statistics, Discrete Math, Social Sciences, Law, and English.
Custom/Original Work Essays cost as low as $10 per page.
Programming Custom Work starts from $50.
Get top-quality help now!