Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CSCI-130 Assignment #5: Graphic Drawing Description: Write a Python program (script) named Picture.py which draws a picture in a Graphic Window. Chapter 4 introduces the

image text in transcribed
CSCI-130 Assignment \#5: Graphic Drawing Description: Write a Python program (script) named Picture.py which draws a picture in a Graphic Window. Chapter 4 introduces the topic of Graphic Windows and the objects you can place in them. The purpose of this project is to create a drawing (of your own design) which visually represents something related to the theme: a message of hope and support to someone who needs it. For instance: the people of Ukraine, who are suffering under the sudden attack from Russia, someone who is recovering from an illness (such as COVID-19), or anyone else who needs a boost. Use your imagination and make sure your image contains, at minimum, the following elements: 1. 1 GraphWin object with the title "Message of Hope". You choose the dimensions of the window - any size, EXCEPT both dimensions must be larger than the 200200 default size. 2. At least one of each of the following types of objects: a. Point b. Line c. Rectangle d. Oval or Circle e. Polygon f. Text 3. At least two of the objects should be filled with color. Because you need to determine where each element should be placed (i.e., the (x,y) positions), it helps to sketch your picture on graph paper with the x and y dimensions marked. For this assignment, do not include any interactive graphics (such as mouse location detection or text input). This should be a still image. As you write the program, remember to include: 1. Proper heading 2. from graphics import * statement at the beginning of the program 3. Comments describing each of the elements you are adding to the drawing 4. Use descriptive names for your objects, not just shape names (for example, if your drawing includes a sun, name your circle object sun instead of circ. 5. A call to invoke the main( method at the end of the file

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

Graph Databases New Opportunities For Connected Data

Authors: Ian Robinson, Jim Webber, Emil Eifrem

2nd Edition

1491930896, 978-1491930892

More Books

Students also viewed these Databases questions

Question

Question What is a Roth 401(k) feature?

Answered: 1 week ago

Question

Question Can employees make contributions to a profit sharing plan?

Answered: 1 week ago