Skip to content Skip to sidebar Skip to footer
Showing posts with the label Turtle Graphics

Python Returns An Error When I Try To Quit The Application Window

I was following a video for this little project but i encountered this error Traceback (most recent… Read more Python Returns An Error When I Try To Quit The Application Window

Python Terminator Error

I'm working on a Python project with a friend of mine for school. We have imported Turtle and M… Read more Python Terminator Error

Python Turtle Opacity?

Just wondering, is it possible to make a turtle draw/fill with semi-transparent ink? Something like… Read more Python Turtle Opacity?

Is Setting `turtle.speed(0)` Necessary When We Have Turtle.tracer(0)

Is there a difference between: import turtle turtle.tracer(0) turtle.speed(0) while True: turtl… Read more Is Setting `turtle.speed(0)` Necessary When We Have Turtle.tracer(0)

How To Handle Clicks On A Turtle And Clicks Off Of A Turtle Separately?

Using the Python 3 'turtle' module, I am trying to handle two different click conditions se… Read more How To Handle Clicks On A Turtle And Clicks Off Of A Turtle Separately?

"stop" Button In Tkinter

I'm trying to have a turtle animation start with a button and stop with a button. It's very… Read more "stop" Button In Tkinter

Turtle.done() Not Working In Spyder

This simple Python script: import turtle bob = turtle.Turtle() bob.forward(50) turtle.done() yiel… Read more Turtle.done() Not Working In Spyder

Textinput() Equivalent In Python 2.x

I need to accept info from the user in python's turtle. however the turtle.textinput function o… Read more Textinput() Equivalent In Python 2.x

How To Initialize Multiple Turtles In Python With Classes

I am a beginner at Python and I'm new to Stack Exchange. I'm trying to write a program that… Read more How To Initialize Multiple Turtles In Python With Classes

How To Make Python Text Into A Button In Python Turtle?

I want to make the word 'CAT' into a button, so when it's clicked it says 'CAT'… Read more How To Make Python Text Into A Button In Python Turtle?

Python Turtle Screen.onkey()

I am a beginner in python and I am building a Snake game where on the key Strokes snake can be cont… Read more Python Turtle Screen.onkey()

Simpler Way To Make A Square And Rotated Square In Python Turtle Graphics

I'm working in turtle graphics to recreate this pattern: This is probably a very basic questio… Read more Simpler Way To Make A Square And Rotated Square In Python Turtle Graphics

Python: Draw Tangent Graph Using Math & Turtle Libraries

I was stuck on this task for several days. Although, the solution should be simple. I apply math an… Read more Python: Draw Tangent Graph Using Math & Turtle Libraries

Set Dot Color Based On Where They Are In Python Turtle?

from turtle import * from random import randint speed('fastest') pendown() goto(200, 0) g… Read more Set Dot Color Based On Where They Are In Python Turtle?

Why Does My Python Turtle Shape Size Decrease When Pressing 'shift'

I am trying to create a turtle in Python so I could increase/ decrease it's size by pressing +/… Read more Why Does My Python Turtle Shape Size Decrease When Pressing 'shift'

Python, Turtle Graphics, Key Bindings

I'm trying to figure out a way to make it to when I hold down a key the player will constantly … Read more Python, Turtle Graphics, Key Bindings

Getting "maximum Recursion Depth Exceeded" With Python Turtle Mouse Move

This code should utilize mouse motion events to draw a dot at the current mouse position: import tu… Read more Getting "maximum Recursion Depth Exceeded" With Python Turtle Mouse Move

Python 3.6.3: Is There A Method In The Turtle Library That Does The Same Thing As Root.after?

In python, I am making a turtle program and I need to loop a function, I wouldn't use def n():#… Read more Python 3.6.3: Is There A Method In The Turtle Library That Does The Same Thing As Root.after?

How Can I Make Turtle Recognize A Circle?

I am trying to make a Python program with Turtle Graphics that draws 2 circles overlapping (like a … Read more How Can I Make Turtle Recognize A Circle?

Python: Passing Coordinates From Text File To Turtle

I have a test file that has coordinates on it my aim it to create a function that takes the text fi… Read more Python: Passing Coordinates From Text File To Turtle