About 66,700 results
Open links in new tab
  1. How to draw a semicircle in Python turtle only - Stack Overflow

    May 1, 2017 · import turtle tom=turtle.Turtle() tom.circle(100,180) for the circle, the first digit is the radius of the circle and the second one is the amount that you want to draw it for a semicircle …

  2. How to create a semicircle/ half an oval in turtle python?

    Jan 13, 2023 · This is what I have come up with. this code prints the half of an oval that I need but I only need the curved part. import turtle half = turtle.Turtle() half.penup() half.goto(-115,95) …

  3. How to draw a circle using turtle in python? - Stack Overflow

    Nov 2, 2020 · I wanted ask how can I draw a circle using turtle module in python just using turtle.forward and turtle.left? I use the code below: for i in range(30): turtle.forward(i) …

  4. python - How do you draw an ellipse/oval in turtle graphics?

    Apr 6, 2015 · We can make an ellipse using its parametric equation in Turtle module. The code below might be a bit long but using this we can draw the ellipse in any orientation as …

  5. Python Turtle: Draw concentric circles using circle () method

    Jun 5, 2018 · You can do it like this: import turtle turtle.penup() for i in range(1, 500, 50): turtle.right(90) # Face South turtle.forward(i) # Move one radius turtle.right(270) # Back to start …

  6. python - Circle shape in turtle with smaller radius - Stack Overflow

    Jul 21, 2020 · from turtle import Screen, Turtle screen = Screen() turtle = Turtle() turtle.shape('circle') turtle.shapesize(0.5) # make the cursor half the default size …

  7. Create a half circle in angle 45 in Python - Stack Overflow

    Jan 8, 2014 · This might do what you want: import Image, ImageDraw im = Image.open("Two_Dalmatians.jpg") draw = ImageDraw.Draw(im) # Locate the "moon" in the …

  8. Drawing random circles within a Python turtle circle

    Apr 26, 2015 · Suppose your larger circle has radius R, with your smaller circle having radius r. That means your small circle's center has to be within a circle of radius R-r, so that the smaller …

  9. python - Drawing Circles extremely inconsistent? - Stack Overflow

    For a school project, I'm using Python Turtle to make an "avatar". I have curly hair, so I wrote some code to draw a black half-circle, every 10-ish degrees it stops, and makes a much …

  10. Can you make the turtle the center of a circle in python?

    Oct 29, 2021 · Another way to do it is via stamping, that is, make the turtle cursor itself a circle, size it, and then call stamp(): import turtle RADIUS = 100 CURSOR_RADIUS = 10 …

Refresh