See Guided Practice 4.3 – Advanced Turtle Graphics Task 1 – Make pseudocode for advanced turtle

  

See

Guided Practice 4.3 – Advanced Turtle Graphics

Don't use plagiarized sources. Get Your Custom Essay on
See Guided Practice 4.3 – Advanced Turtle Graphics Task 1 – Make pseudocode for advanced turtle
Just from $10/Page
Order Essay


Task 1 – Make pseudocode for advanced turtle graphics

We are going to create a program that creates a bunch of random turtle shapes on the screen and then pulls them together into a circle.

Program Catch_The_Turtle:

Set up turtle screen

Set up list of 100 turtles in an array

Place the 100 turtles randomly on the screen

Create a function to move the 100 random turtles

In a for loop

Move the 100 turtles towards the turtle in front of it

Update the turtle screen

Set a timer to call the function recursively after 2 millisecond delay

End.

Change your pseudocode to 200 turtles in the array and change your recursive call to a 1 millisecond delay.

What would happen if you changed the program to 2000 turtles? What impact would it have on the program?


Deliverables for Task 1

·
Your Pseudocode

·
Answer the questions about 2000 turtles


Task 2 – Putting the program together

First, we need to import the turtle and random modules and then set up the turtle screen.

Add a list called chasers with 200 members

Then, using a For loop, place them randomly on the turtle screen.

Run your program to verify that your shapes are placed and working in your program. Take a screenshot.

Define your turtle automation function by moving the turtle and then moving all chaser objects to follow the turtle.

Next, update your turtle screen and then call the function again after 1 millisecond

Finally, call your function and then exit the turtle graphics screen.

Run the program and take a screenshot of your completed code and running program.

What problems are there with the program? How could you correct them?


Deliverables for Task 2

· Screenshot of your turtle screen before the animation

· Screenshot of code and running program

· Answer questions about how to fix the program


Task 3 – Adding color

Although the program is works it is very dull since it is all the same color. Let’s change up the program by adding some color to each of the chasers on the page.

The color system we are going to use is called colorsys. IT takes color values and convers them into colors on the screen. These values are called RGB or red, green, blue which is what is used by your computer to make colors.

The command we will use is colorsys.hsv_to_rgb(h, s, v) where h, s and v are values between 0 and 1 which define the color of each object. Finally we’re going to give the turtle to color green so it will be the same color each time.

You also might want to change the delay to 0 milliseconds by change
screen.ontimer(MoveTurtle,0). Take a screenshot of your completed program code and runtime screen.


Deliverables for Task 3

· Screenshot of your completed colorized code and runtime screen.

image3.png

image4.png

image5.png

image6.png

image7.png

image1.png

image2.png

Guided Practice Lab Report

Before completing this guided practice report, you should have completed the associated procedure.

Screenshots

As you complete the procedure for the guided practice, add your screenshots below.

Guided Practice Questions

After you have completed the procedure for the guided practice, provide your answers to the guided practice questions here.

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Order your essay today and save 30% with the discount code ESSAYSHELP