About 148,000 results
Open links in new tab
  1. How can i draw a nice spiral in python with turtle?

    Jun 24, 2018 · -1 I have a homework to draw a spiral (from inside to outside) in python with turtle, but I cant think of a way to do that, beside what I did its need to be like this: I tried to do it like that, but its …

  2. Python. Learning turtle graphics - Stack Overflow

    Oct 8, 2017 · Python. Learning turtle graphics Asked 8 years, 2 months ago Modified 8 years, 2 months ago Viewed 3k times

  3. Drawing a spiral in a spiral using Python turtle - Stack Overflow

    Jan 5, 2017 · What is wrong with my code for turtle angie? I want her to spiral inside brad's square circle. My Code: import turtle def draw_square(some_turtle): for i in range (1,5): some_turtle.

  4. What would the most efficient way be to draw a pixel using turtle in ...

    Jan 14, 2022 · If I were to draw, let's say, a pixel art of Mario for example, with a lot of squares (see pixel art below), what would the most efficient way be to do this? I've tried it, but the code is very long,

  5. python - How to fully delete a turtle - Stack Overflow

    May 15, 2017 · The problem was that the turtle library itself still had references to the objects I was trying to delete. By "reference", I mean that Python doesn't create a duplicate object every time you …

  6. Drawing a 3D multicolor triangle in python turtle - Stack Overflow

    Oct 24, 2021 · Drawing a 3D multicolor triangle in python turtle Asked 4 years, 2 months ago Modified 4 years, 2 months ago Viewed 2k times

  7. Draw a pixel at specific x,y coordinates - Stack Overflow

    Feb 21, 2022 · I'm using Turtle Graphics, and i want to draw a pixel at specific x,y position something like : pixel = turtle.Turtle() pixel.draw(x, y) Is it possible ?

  8. Python: Turtle size in pixels - Stack Overflow

    Nov 27, 2024 · Turtle Shapes - Python Code Why 21 x 21? I guess because this allows the turtle to be centered on a pixel rather than centered between two pixels, which certainly makes the circle much …

  9. Changing only fill or line color in Python turtle - Stack Overflow

    Jan 30, 2021 · The turtle.color() takes in from zero to two arguments. If only one argument is provided, the turtle will change both its outline and its fill color to the color provided as the argument.

  10. turtle graphics - How to create an Austrian flag in Python? - Stack ...

    Dec 8, 2017 · I wanted the turtle to move upward and become the middle portion of the Austrian flag which is a white rectangle. My code creates the red rectangle as intended, and then the turtle …