Starting from:
$29.99

$26.99

Computer Graphics-1 Assignment-1 

Computer Graphics-1 Assignment-1 
1
Input: 3 mouse clicks
GROUP[CS1,CS2]
Task1
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
Task 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
Task 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]
Task 4
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
Task 5
input: three clicks GROUP[CS5,CS6,IT5,IT6]
1- First one is a center of two circles
2- Second one is a point on first circle
3- Third one is a point on second circle.
Output:
5- Two circles use the same center but with different radius6-
Filling the area between the two circles with other circles7-
Remove the first quarter during drawing circles

More products