Question: In this project, you are going to use a library package called turtle graphics to draw a vehicle. You are going to create at least

In this project, you are going to use a library package called turtle graphics to draw a vehicle. You are going to create at least 5 classes. You are then need to write function that creates instances of your classes in order to draw a vehicle that includes: a body, wheels, windows, and an antenna. If you are interested, you can certainly provide more than 5 (side mirrors, taillights, headlights, windshield, wipers, etc.). You can choose a sedan or van or minivan or pickup as a vehicle. This project will give you more experience on the use of: 1. classes 2. class methods Project Specification: Define minimum 5 classes. 1. Each class will have an_init and a draw() method: *_init_method will take a string argument, either indicating a fill color or, if the (63 argument is "" (the empty string), that the shape is not filled draw method will take at least x and y coordinates arguments (indicating where the figure is drawn) and a turtle. Turtle object to use for drawing the shape. Other arguments may be required for your methods. You can pass more arguments if needed. You can also more methods if needed. 2. Function vehicle(pen, bodycolor) where pen is a turtle.Turtle object with which to draw the vehicle and body color is the color of the vehicle. 3. Your vehicle function must, at a minimum, include the following classes: body . wheels windows an antenna one more of your own design Deliverables: 1. a single .py file containing the project. 2. a report - a word file which shows the outputs with appropriate screenshots 3. Include a conclusion paragraph in the report. Conclusion should address the following: *What you have learnt from this project? * What ways you can expand this project? Each team member's contribution /* All students are expected to use appropriate amount of comments to explain their program. */ In this project, you are going to use a library package called turtle graphics to draw a vehicle. You are going to create at least 5 classes. You are then need to write function that creates instances of your classes in order to draw a vehicle that includes: a body, wheels, windows, and an antenna. If you are interested, you can certainly provide more than 5 (side mirrors, taillights, headlights, windshield, wipers, etc.). You can choose a sedan or van or minivan or pickup as a vehicle. This project will give you more experience on the use of: 1. classes 2. class methods Project Specification: Define minimum 5 classes. 1. Each class will have an_init and a draw() method: *_init_method will take a string argument, either indicating a fill color or, if the (63 argument is "" (the empty string), that the shape is not filled draw method will take at least x and y coordinates arguments (indicating where the figure is drawn) and a turtle. Turtle object to use for drawing the shape. Other arguments may be required for your methods. You can pass more arguments if needed. You can also more methods if needed. 2. Function vehicle(pen, bodycolor) where pen is a turtle.Turtle object with which to draw the vehicle and body color is the color of the vehicle. 3. Your vehicle function must, at a minimum, include the following classes: body . wheels windows an antenna one more of your own design Deliverables: 1. a single .py file containing the project. 2. a report - a word file which shows the outputs with appropriate screenshots 3. Include a conclusion paragraph in the report. Conclusion should address the following: *What you have learnt from this project? * What ways you can expand this project? Each team member's contribution /* All students are expected to use appropriate amount of comments to explain their program. */
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
