Question: This is java programming question. Need a programme to make helicopter. ASSIGNMENT COURSE NUMBER: COMP1010 Tail Boom Cockpit Windows Elevator Tail Main Rotor Sync Elevator

 This is java programming question. Need a programme to make helicopter.
ASSIGNMENT COURSE NUMBER: COMP1010 Tail Boom Cockpit Windows Elevator Tail Main Rotor
This is java programming question. Need a programme to make helicopter.

ASSIGNMENT COURSE NUMBER: COMP1010 Tail Boom Cockpit Windows Elevator Tail Main Rotor Sync Elevator Tail Fin Fuselage 100 Elevator Decal Cockpit Engine Blades Q1: Draw a Helicopter (12 Marks) Draw a helicopter using the shapes that have been taught to you in the class. Figure 1 demonstrates the sample object. To complete Q1 your Sketch should meet the following criteria: . Draw a helicopter similar to, but not the same as the one shown here (11 Use a canvas size of 500 by 500, 111 Your helicopter must have at least 111 One rectangle, ellipse, line and triangle Make use of at least two additional colors other than black and white Note: Sample drawing and video has not been given any color. Use your creativity! The helicopter should have the features as explained in Figure 1.16 Cockpit and Cockpit Windows Fuselage Blades Main Rotor and Engine Cover Sync Elevator. Elevator Tail and clevator Derval Talloon and Tallin Use final named constants to set the cand portion of the shape that make up the helicopter At alles voor helicopter should be at the center of the can hold the entre carwal 21 Note: This is a state process and setup or draw ASSIGNMENT COURSE NUMBER: COMP 1010 . Q2: Scalable and movable. [10 Marks] Modify your program i to meet the following criteria: Use a canvas size of 500 by 500 (1) The cursor has to be in the center of your main rotor all the times, even when the helicopter is moving (3) Change constant SCALE to a variable scale for this question. Consider scale in all your calculations so by changing this variable, the helicopter becomes smaller or bigger.(3) Requirement is that changing the value of scale changes the scale of the drawing appropriately. Use of following functions to help organize your code.[5] cockpit(): o elevator(); o tailBoom(); bladeAndRotor); Note: Create your own functions as and when needed. Please explain the purpose of the functions using comments Note: This is an active processing program (with setup and draw). Q3: Scalable based on mouse position (8 Marks] Modify Q2 to meet the following criteria: Change value of scale based on the position of the mouse on the axis. The helicopter is the smallest when the mouse pointer is at the left of the canvas. The helicopter is the largest when the mouse pointer is at the right of canvas (6) Note: There is a possibility that the entire helicopter may not be visible after this change and that is OK Create a new function for the requirement. 121 Hint: You will need to use the scaling problem equation to solve this problem. Even though, the formula is eatily searchable equation is provided in Lecture Notes Week 7 Slide 11 For demonstration defer to video Alm.mp4 . End of Assignment

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!