Question
use turtle graphics to create an interactive forest drawing application. Start by creating a module 'utilities.py' which should contain four drawing functions as listed below.
use turtle graphics to create an interactive forest drawing
application.
Start by creating a module 'utilities.py' which should contain four drawing functions as listed
below.
? draw_triangle(centre_x, centre_y, width, height, pen_color,
fill_color)
? draw_rectangle(centre_x, centre_y, width, height, pen_color,
fill_color)
? draw_circle(centre_x, centre_y, radius, pen_color, fill_color)
? stamp_turtle(centre_x, centre_y, color)
The parameter names are self explanatory. For example, the draw_triangle() function
should draw an upwards pointing triangle with (centre_x, centre_y) located as shown in
figure.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started