Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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(); image text in transcribed
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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Guide To Client Server Databases

Authors: Joe Salemi

2nd Edition

1562763105, 978-1562763107

Students also viewed these Databases questions

Question

Explain the nature of human resource management.

Answered: 1 week ago

Question

Write a note on Quality circles.

Answered: 1 week ago

Question

Describe how to measure the quality of work life.

Answered: 1 week ago