Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7908259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T11:51:37+00:00 2026-06-03T11:51:37+00:00

How can I make 4 different turtles move at the same time? Also, how

  • 0

How can I make 4 different turtles move at the same time? Also, how to make a person shape for the Turtle.shapemethod? I know there’s a Screen method called register_shape, but I couldn’t find any documentation on it.

def turtles(self, base):
    self.t4.goto(self.tFirst)
    self.t1.goto(self.tSecond)
    self.t2.goto(self.tThird)
    self.t3.goto(self.tHome)
    if base >= 2:
        self.t4.goto(self.tSecond)
        self.t1.goto(self.tThird)
        self.t2.goto(self.tHome)
    if base >= 3:
        self.t4.goto(self.tThird)
        self.t1.goto(self.tHome)
    if base == 4:
        self.t4.goto(self.tHome)

tFirst, tSecond an tThird are positions, and t1, t2, t3, t4 are turtles. I want all of the turtles to move in unison.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T11:51:40+00:00Added an answer on June 3, 2026 at 11:51 am

    Here is the documentation for register_shape

    As for your first question, I’m not sure exactly what you mean. Making them all move in separate threads would be my first idea, but even then they technically don’t move at the same time. I have never actually used turtle graphics, but just know of the concept.

    This does something close to what you are talking about

    import turtle
    import numpy as np
    
    tlist = list()
    colorlist = ["red", "green", "black", "blue", "brown"]
    for i in xrange(5):
        tlist.append(turtle.Turtle(shape="turtle"))
        tlist[i].color(colorlist[i])
        tlist[i].speed(1)
    screen = turtle.getscreen()
    for i in xrange(100):
        screen.tracer(1000)
        for t in tlist:
            t.right((np.random.rand(1) - .5) * 180)
            t.forward(int((np.random.rand(1) - .5) * 100))
        screen.update()
    

    or

    import turtle
    #import numpy as np
    from time import sleep
    
    tlist = list()
    colorlist = ["red", "green", "black", "blue", "brown"]
    for i in xrange(5):
        tlist.append(turtle.Turtle(shape="turtle"))
        tlist[i].color(colorlist[i])
        tlist[i].speed(1)
    screen = turtle.getscreen()
    for i in xrange(100):
        screen.tracer(1000)
        for i, t in enumerate(tlist):
            #t.right((np.random.rand(1) - .5) * 180))
            t.right(33 * i)
            #t.forward(int((np.random.rand(1) - .5) * 100))
            t.forward(50 * i)
        sleep(1)
        screen.update()
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Django can make use of multiple database engines at the same time. My problem
For ASP.Net, I know I can make a lot of different HTML elements runat=server
Please how can i make the submit button and reset button have a different
Shaders can have lots of different uniform names + attributes. How can I make
The following div's are displayed onclick. How can I make it display a different
I'm logging different actions users make on our website. Each action can be of
How can I make GNU Make use a different compiler without manually editing the
On our site user can make paypal donations to other users in different currencies,
I tried in different ways to accomplish this but I can make it work
I'm trying to make 2 different DB calls with the same transaction entity. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.