Q1: Draw a drone
(a )Draw a drone similar to the one shown in the picture
(b) Use canvas size 500 by 500
(c) The drone must have at least :
-some rectangles,ellipses,lines and triangles
The drone should have the following features:
-a main body part
- four propellers
- propeller mounts connected to the drone body
- four circular(semi-circular) propeller guards
(d) Use final names constants to set the size and position of shapes that make up the drone
(e) Use primitive data types int and float
(f) At all times drone should be at the center of the canvas and it should fill the entire canvas
Q2: Scalable and movable:drone
(a) The cursor has to be in the center of the drone at all times, even when drone is moving
(b) In the draw method, use both mouseX and mouseY so that by moving your mouse, the ball moves in both x-axis and y-axis freely
(C)Use a canvas size 500 by 500
Consider the SCALE in all calculations so by changing this variable, the drone becomes smaller or bigger
Use the following functions to help organize the code.
-drawBody();
-drawTopLeftProp();
-drawTopRightProp();
-drawBottomLeftProp();
-drawBottomRightProp();
drive.google.com Sign in or heap Fight Runt/Buy Te s the COURSE NUMBER: COMP 1010 Q1: Draw a drone [16] Draw a drone 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 drone similar to, but not the same as,the one shown here.[2] . Use a canvas size of 500 by 500.[1] . Your drone must have at least: [ o Some rectangles, ellipses, lines and triangles o Make use of at least two additional colors other than black and white The drone should have the following features Aman drone body part [11 o Four propellers 121 o Propeller mounts connected to the drone body [1] o Four circular (or semi-circular) propeller guards.12 . Use final named constants to set the size and position of the shapes that make up the drone. ( Use the primitive data types int and float [3 At all times, your drone should be at the center of the canvas, and it should ilthe entire canvas.12 Note: This is a static Processing program (no setup or draw functions. Q2: Scalable and movable: Drone. [24] Modify your program Q1 to meet the following criteria: The cursor has to be in the center ofyour drone all the times, even when thedrone is moving in the draw * method, uve both mousex and mousey so that, by moving your mouse, the baill moves in both the x-axis and y-axis freely [5) e Use a canvas size of s00 by 500. [ You should consider the SCALE in all your calculations so by changing this variable, the drone becomes Use of following functions to help organize your code [S] Note: This is an active processing program (with setup and draw) maller or bigger 15] o drawBodyl o drawToplight Prop o drawBottomLeftPropl) o drawBottomRightPropl) For demonstration refer to video files A102Scale1 mp4 and A102Scale3.mp End of Assignment I drive.google.com Sign in or heap Fight Runt/Buy Te s the COURSE NUMBER: COMP 1010 Q1: Draw a drone [16] Draw a drone 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 drone similar to, but not the same as,the one shown here.[2] . Use a canvas size of 500 by 500.[1] . Your drone must have at least: [ o Some rectangles, ellipses, lines and triangles o Make use of at least two additional colors other than black and white The drone should have the following features Aman drone body part [11 o Four propellers 121 o Propeller mounts connected to the drone body [1] o Four circular (or semi-circular) propeller guards.12 . Use final named constants to set the size and position of the shapes that make up the drone. ( Use the primitive data types int and float [3 At all times, your drone should be at the center of the canvas, and it should ilthe entire canvas.12 Note: This is a static Processing program (no setup or draw functions. Q2: Scalable and movable: Drone. [24] Modify your program Q1 to meet the following criteria: The cursor has to be in the center ofyour drone all the times, even when thedrone is moving in the draw * method, uve both mousex and mousey so that, by moving your mouse, the baill moves in both the x-axis and y-axis freely [5) e Use a canvas size of s00 by 500. [ You should consider the SCALE in all your calculations so by changing this variable, the drone becomes Use of following functions to help organize your code [S] Note: This is an active processing program (with setup and draw) maller or bigger 15] o drawBodyl o drawToplight Prop o drawBottomLeftPropl) o drawBottomRightPropl) For demonstration refer to video files A102Scale1 mp4 and A102Scale3.mp End of Assignment