Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

processing question Chegg Study GuidedC C Q1: Draw A Drone [16] Cwhat Is Liberalism 018 Winter_A1/COMP1010 2018_Winter.pdf Q1: Draw a drone [16) Draw a drone

image text in transcribed

processing question

Chegg Study GuidedC C Q1: Draw A Drone [16] Cwhat Is Liberalism 018 Winter_A1/COMP1010 2018_Winter.pdf 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. [211 e Use a canvas size of s00 by 500. [1] .Your drone must have at least: [1] 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 o A main drone body part [1] o Four propellers [2] Propeller mounts connected to the drone body [11 o Four circular (or semi-circular) propeler guards. [2) Use final named constants to set the size and position of the shapes that make up the drone. [1l Use the primitive data types int and float 13 e At all times, your drone should be at the center of the canvas, and it should fill the entire canvas (2) .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 of your drone all the times, even when the drone is moving 14 In the draw method, use both mousex and mouseY so that, by moving your mouse, the ball moves in both the x-axis and y-axis freehy Use a canvas size of S00 by 500 [1] Note: This is an active processing program (with setup and draw). [41 You should consider the SCALE in all your calculations so by changing this variable, the drone becomes smaller or bigger.|S Use of following functions to help organize your code. 1sS o drawBodyf): o drawTopleftPropt o drawTopRightProp): or drawlottomLeftProp) o drawBottomRightPropl): For demonstration refer to video files Al 02Scale1 mps and A102Scale3.mp End of Assignment 1

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

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

8th Edition

013460153X, 978-0134601533

More Books

Students also viewed these Databases questions

Question

List the major prohibitions of the Canadian Human Rights Act .

Answered: 1 week ago