Questions tagged [turtle-graphics]

Turtle graphics is a term in computer graphics for a method of programming vector graphics using a relative cursor (the "turtle") upon a Cartesian plane.

Filter by
Sorted by
Tagged with
1 vote
1 answer
57 views

Clock time validation app, cognitive exercise, minimal viable product

How to improve this code, how to make it accessible to get user feedback? This is a minimal clock time validation app. There is a clock face and the user is asked to validate the time the clock hands ...
Attila Vajda's user avatar
-1 votes
0 answers
333 views

3D Game Engine Using Turtle

I am making a 3d Game Engine named t3d using Python's turtle module. Here is the code: ...
Tumo Konnin's user avatar
2 votes
1 answer
130 views

Turtle language parser in python 3

I a creating a program to parse a simple language in a text file and delegate those actions to python-turtle. You pass the path to the file(s) you want to be parsed into the program, and a turtle ...
sbottingota's user avatar
0 votes
1 answer
517 views

Draw star from mario

This code draws a star from mario. It's somewhat simple, but I feel like it could be a lot shorter. Do you have any suggestions? ...
Ian Chung's user avatar
1 vote
0 answers
158 views

An arkanoid game made with python turtle

My idea is to understand the limits of python turtle, it is a conscious choice and I understand that any other library would probably suit better. I don't use OOP, as I don't think that it would make ...
Rennorb's user avatar
  • 121
2 votes
1 answer
506 views

Breakout game in Python

Here's the code for a Breakout style game I made in Python. I was hoping to see if someone can give me some advice on improving anything. I have a bug with the collision between the ball and the top ...
jp207's user avatar
  • 173
6 votes
3 answers
985 views

Python analog clock with turtle - runs slow

I made a python analog clock program with turtle. The problem is, it takes about 1.4 seconds to loop, so it only moves the second hand every 1.4 seconds. Its probably cuz my computer is slow... ...
Kovy Jacob's user avatar
5 votes
0 answers
925 views

Simple snake game in Python

I have created a snake game in Python. It is a single-player game, where the snake has to eat the red dots in order to grow longer. I just wanted to review if there are any improvements. ...
Ghost's user avatar
  • 185
5 votes
2 answers
67 views

Python: screen colors adjuster using Turtles

I am a total beginner in Python and I am trying with the modules Turtle. I am currently trying to code for 3 sliders (R, G, B) for adjusting the colors of the turtle screen. However, I found parts of ...
Question's user avatar
  • 153
3 votes
1 answer
2k views

Python Beginner - Basic Hangman Game Using Turtle

I built upon a previous beginners' class' hangman game to do graphics with Turtle. It should work with any .txt list of words in whatever location you specify at the top of the code (in my case on ...
DiogenesOfMiami's user avatar
2 votes
1 answer
993 views

Drawing dragon curves using Turtle graphics

This is exercise 3.2.23. from the book Computer Science An Interdisciplinary Approach by Sedgewick & Wayne: Write a recursive Turtle client that draws dragon fractal. The following is the data-...
Khashayar Baghizadeh's user avatar
3 votes
0 answers
125 views

Allowing a user to draw their own avatar in turtle

I am working on a turtle project where the user can draw their own avatar. The thing is, I want the user to be able to decide whether the turtle they drew will be filled, or not. The filled part is ...
Chocolate's user avatar
  • 948
2 votes
1 answer
682 views

Pong and Breakout games

So I have made 2 games without any internet when on vacation. I have used turtle because I did not install pygame. I was wondering how I could improve my games. Here is the code: Pong: ...
drakeerv's user avatar
  • 133
0 votes
1 answer
72 views

Python Alien Blitz Game

Please review my Python Alien Blitz Game code. There are several points I'm keen to hear about. I used globals. Was that an evil choice given the context? In the past when I've tried to refactor ...
Robin Andrews's user avatar
3 votes
1 answer
160 views

A representation of the Mandelbrot Set

I've written up some code that represents the Mandelbrot set in an, admittedly, quite inefficient way. It probably looks awful due to the fact that I did this completely solo, without any external ...
Lizzy Foster's user avatar
1 vote
1 answer
102 views

Lindenmayer System Python Fractral Tree

I have created a fractal tree based on a Lindenmayer System in Python. If you could tell me about any algorithmic or efficiency-based problems in the code, I would be grateful. ...
SkyPlayX's user avatar
  • 113
5 votes
1 answer
247 views

Turtle controller with simple instruction set

I've made a controller for Python's Turtle. The controller essentially defines an 'instruction set' so that commands can be recorded in a text file and then executed sequentially by the turtle. It ...
mattrea6's user avatar
  • 163
7 votes
3 answers
810 views

Sierpinski turtle triangle

I am working through Programming Fundamentals with Python on Udacity. The assignment was to create a recursive triangle. I am happy with the output, but I am hoping for feedback on the actual ...
Brett Horstketter's user avatar
2 votes
2 answers
290 views

Symmetries of Triangle Python Turtle

I made a program to explore the symmetries of an equilateral triangle using Python and Turtle Graphics. It's formatted using Black Playground. As usual, my goal is to be writing "code that doesn't ...
Robin Andrews's user avatar
2 votes
1 answer
480 views

Python Turtle implementation of the 15 Puzzle

Please can I have some feedback on my Python Turtle implementation of the 15 Puzzle? I have deliberately avoided using OOP as my aim is to develop a clear and clean coding style suitable for teaching ...
Robin Andrews's user avatar
5 votes
2 answers
3k views

Python - Random Mandala

I did a project in Python where I combined user-input, random, and the turtle module to make a sort of "Mandala Generator", or a program that can generate a simple design either randomly or by the ...
myang0630's user avatar
  • 564
1 vote
1 answer
1k views

Draw checker board

For an assignment, I had to draw a checkers board, with blue and red checkers, in python. What I have works, but I'm wondering if there's a more elegant and/or efficient way to accomplish this feat? ...
Linny's user avatar
  • 10k
9 votes
4 answers
3k views

Simple (Very Easy to Make) RPG Game Simulation in Python and Turtle

The code creates a very simple/easy RPG game, with 2 classes Jedi and Orc. The data is visualized using ...
Redsbefall's user avatar
  • 1,132
1 vote
1 answer
118 views

Building a 64 × 64 particle accelerator frame in Minecraft with a computercraft turtle

I dont think this will work anywhere besides in minecraft with computercraft but it's all correct syntax. I just feel like it has some lines of code I could eliminated somehow and made it a cleaner ...
Donnie's user avatar
  • 13
5 votes
2 answers
10k views

Python Turtle based Pong game

I'm new to Python but I've coded in other languages mainly for hardware. I made Pong in Python using turtle but it's a little glitchy. I was wondering if any of you guys could check it out and give ...
Remington Nachshin's user avatar
10 votes
1 answer
3k views

Blackjack in Python (using Turtle)

I've been programming for 2ish months and I was programming Blackjack on a school computer because I was bored. If you guys could check to see if there are any problems with it that would be great! <...
Jerry Zhou's user avatar
4 votes
1 answer
10k views

Python Pong using turtle

I am a new Python programmer, and I am learning how to use the turtle import. I am making some projects, and now I am trying to do a Pong game using turtle. It is working but not really well; the ...
user avatar
7 votes
1 answer
1k views

Python OOP Whac-A-Mole program using turtle

I am trying to create an object oriented program in Python for a whac-a-mole program. I want to keep this simple where there are just a hammer and a mole and when the hammer turtle makes contact with ...
da axe man 's user avatar
2 votes
0 answers
436 views

3D wrapper for turtle

I am a Python enthusiast, but I'm never sure if what I'm doing is Pythonic. I have made my own graphics wrapper for Python's turtle. I don't entirely know if I did this right, so I have come here for ...
CoderBoy's user avatar
4 votes
2 answers
1k views

Python the Dragon's Curve with turtle

I'm kind of new to Python, and I'm trying to improve (especially) my object oriented programming, and getting to know Python syntax better. I'd love to know if there is something to improve, (...
sheldonzy's user avatar
  • 407
4 votes
1 answer
7k views

Python Turtle - Olympic flag re-creation

I made a program to draw the Olympic flag in Python using the turtle module. I am able to make a basic version of it but i think that there is still room for improvement! Quick note: I am new to ...
Akil Riaz's user avatar
  • 259
7 votes
2 answers
2k views

Drawing fractals with Turtle

So, I have my code here: ...
ThomasTaylor's user avatar
2 votes
0 answers
836 views

Conways game of life with turtle python 3

A version of CGOL made in Python using the turtle module. Any suggestions for optimisations or improvement: ...
Bradypus's user avatar
  • 151
5 votes
1 answer
6k views

Catch the turtle - Python

I made a game in python, where the objective is to catch a 'turtle'. The controls are the arrow keys. ...
EugeneProut's user avatar
9 votes
1 answer
3k views

N dimensional cubes

A python program made with a friend to draw n dimensional hyper-cubes in python using turtle. Any suggestions for improvement. ...
Bradypus's user avatar
  • 151
10 votes
1 answer
2k views

Python Checkers

This is a program I made to practice using turtle graphics. I am looking for pointers specifically on how I handle the game board. Currently it holds all of the grid objects in a nested list. Sorry if ...
Zachary Baker's user avatar
4 votes
2 answers
692 views

Tic Tac Toe "Cats Game"/End Game

I have made my first game in Python. My program can determine when there is a winner, however I am unsure what to do if the board is full and there is NO winner (a cats game). ...
Seth Greene's user avatar
8 votes
1 answer
3k views

Simple labyrinth

I'm making a a simple labyrinth. I want to make it so that I could hit a wall, and if I did hit the wall, I wouldn't cross it. ...
M Tunkas's user avatar
6 votes
2 answers
3k views

Koch snowflake in Python with Turtle

After finding a piece of code on StackOverflow that drew the Koch snowflake fractal, I made a ton of modifications to it and used it to produce an animation divided in two parts: Constant size, ...
Caridorc's user avatar
  • 27.5k
7 votes
2 answers
483 views

Small turtle program using instruction strings to draw patterns

A while ago, I wrote a program that combined L-systems and turtles. This was before I understood OOP (I still don't fully understand classes, or if they are even needed here). I tried to add some ...
qwr's user avatar
  • 1,016
8 votes
2 answers
161 views

Drawing a gnome in Logo

I recently found my first program I wrote using Logo and was wondering if it could have been improved: ...
AncientSwordRage's user avatar
8 votes
3 answers
3k views

Python Turtle screen saver

Leon asked a question which got closed both here and at Stack Overflow, but I kind of liked the idea, so I implemented a working version of his code, which I now want reviewed. With regards to Leon's ...
holroy's user avatar
  • 11.5k
6 votes
2 answers
5k views

Python Trig Calculator

It's big, it's ugly, but it should work. My question is: how could I have implemented the "typeselection" function so it is less repetitive? Any tips on other improvements in coding style are welcomed ...
Lord Sheep's user avatar
13 votes
3 answers
2k views

ASCII Turtle Graphics

In my college Java course, I wrote an ASCII Turtle Graphics. My professor said the only thing he could suggest was to turn the turtle into a class and create an instance of it (I hadn't because we ...
user avatar
8 votes
3 answers
15k views

Random walk in Python + turtle

I decided to implement a random walk. The rules The rules are easy, an object is moved in the direction dictated by random or pseudo-random numbers. If you want to read more about it, see the ...
Caridorc's user avatar
  • 27.5k
2 votes
1 answer
4k views

Memory game with Turtle

A while back I had to do a project for school in Python, creating a game or something interesting. I decided to make a memory game. The code isn't really nice and neither are the variable names. It's ...
Tomislav's user avatar
6 votes
2 answers
902 views

Math, Geometry, & Physics Library

I am making a Python program that does math and physics calculations for you. This is my first programming project and is a work in progress. The SymPy library was used for some portion of it. ...
user avatar
4 votes
3 answers
3k views

Menu system and Turtle

I had to do a small application using a menu system and Turtle. I have finished it and worked perfect. Just to make sure, can you please check it if it has done properly? ...
eMRe's user avatar
  • 203