Sale!

# Computer Graphics-1 Assignment-1

\$30.00

Category:
Rate this product

Computer Graphics-1 Assignment-1
1
Input: 3 mouse clicks
GROUP[CS1,CS2]
1- 2 left clicks, one as a center of the first circle and other for the second circle center.
2- The right click is a click between two circles which will be used to calculate the radius of
the first and second circle.
3- Student has authority to choose any quarter in any circle and fill it with lines considering
circle center as the starting point and circle eight point as the ending point of line
output:
1- Two circles have different radius and centers
2- Two circle touch each other in one point, to make this point →you must firstly enter the
center of two circles and the third click must be between first and second center
3- Choose only one quarter to fill with lines of any circle
Hint:
– Use any line or circle algorithm
– Please enter clicks with the same order in output part [point 2] to build the below shape

2
Input: GROUP[IT1,IT2]
two clicks→ You will take two mouse clicks:
1- The left click to control circle center
2- Right click will be a point on circle which will be used to calculate radius.
Output
– Draw the below shape
Hint
– Draw the below shape, students can use any circle algorithm to draw circle and any
line algorithm to draw line
– Drawing line when you fetch the end point on circle algorithm

3
Input: 2 clicks GROUP[CS3,CS4]
1- Left click to control circle center
2- Right click to control circle radius
Output:
Filling circle with lines considering circle center as a line starting point and every point on a
circle as a line ending point.

4
Input: Three mouse clicks
GROUP[IT3,IT4]
1- The first click as a center of two circle
2- The second is a point on the first circle
3- The third is a point on the second circle
Output:
1- Two circles use the same center but with different radius
2- Filling the area between the two circles with other circles
3- Drawing a line from the center to the input point on circle 1
4- Drawing a line from the center to the input point on circle 2
Notes:.
You have authority to use any clicks options Ex.Wm_LBUTTONUP,WM_RBUTTONUP

5