Re: Turtle Graphics (Python) Programming Software Development by vegaseat Turtle graphics was originally meant for kids from 6 to 86. It was also used in robotics applications. Re: Turtle graph Programming Software Development by vegaseat … and catch it turtle=Turtle() turtle.reset() turtle.left(90) turtle.speed('normal') turtle.up() turtle.goto(280,40) turtle.left(24) turtle.down() turtle.speed('fast') turtle.color("blue… Turtle graph Programming Software Development by Agentbob …): turtle.up() turtle.goto(x,y) turtle.down import turtle turtle.tracer(False) turtle.width(3) goto(-270,270) turtle.right(90) turtle.forward(540) turtle.left(90) turtle.forward… Turtle Graphics Array Programming Software Development by carlitosway17 … code[CODE]// Exercise 7.21: TurtleGraphics.java // Drawing turtle graphics based on turtle commands. import java.util.Scanner; public class TurtleGraphics {…++commandNumber ][ 0 ]; } // end while } // end method executeCommands // method to turn turtle to the right public int turnRight( int d ) { //return ++d… Turtle Python - Random Generation, Help with Code Programming Software Development by yellowkaiq …number in range(3): turtle.fd(side) turtle.left(60) def draw_movement(degree,length): turtle.left(degree) turtle.fd(length) def turtle_command…draw_movement(90,40) elif string == 'straight 50': turtle.fd(50) turtle.pu() def final_output(): for x in string: turtle_command(… Re: Turtle graph Programming Software Development by vegaseat [QUOTE=Agentbob;487243]So the feature isn't implemented by default? It's a project and I doubt my professor has his files edited.[/QUOTE] You are correct. Since turtle.py imports Tkinter you may be able to use the Tkinter canvas.create_text() function, but it would be harder to implement, since you have to get the matching canvas and location. Turtle on repeat python Programming Software Development by pythonstudent28 …;campusmap") #creates a circle around x circle = turtle.Turtle() circle.speed(0) circle.penup() circle.forward(50)…;1: break #creates a circle around y circle2 = turtle.Turtle() circle2.speed(0) circle2.penup() circle2.forward(50)… turtle.setup(width=800,height=600,startx=400,starty=300) Programming Software Development by cdub …" in /etc/make.cont) I can not get "turtle.setup(width=800,height=600,startx=400,starty=300)"… set the screen size? ? cdub [code = python] import Tkinter import turtle turtle.setup(width=800,height=600,startx=400,starty=300… Turtle Problem Programming Software Development by Riya_2 …triangle and takes two parameters: 1. t, a turtle object 2. size, the side length of an …function defined in Part A: 1. pen, a turtle object 2. length, the side length of an … t.forward(size) t.left(angle) import turtle ascreen = turtle.Screen() r = turtle.Turtle() for i in range(2): triangle (r… Re: Turtle Graphics (Python) Programming Software Development by Ene Uran … look at the Python module turtle: # module turtle is part of Tkinter # turtle starts in the center of …by default # draw 3 turtle lines to form a triangle import turtle as tu tu.title('draw …'slowest' (delay 20ms) #tu.speed('fastest') # optional ... # turtle by default starts at (x=0, y=0) center of… Re: Turtle Problem Programming Software Development by vegaseat … where the pen() belongs. Maybe something like this ... import turtle def triangle(tu, size): angle = 360/3 for i …range(num): triangle (tu, length) tu.fd(length) ascreen = turtle.Screen() tu = turtle.Turtle() length = 100 num = 3 flagline(tu, length, num)… Re: Turtle Graphics (Python) Programming Software Development by CoatsyJnr …used this code and added question here it is from turtle import * from time import * inc=raw_input("…would you like the circle to be?") # pen/turtle starts at the center (x=0, y=0) … center is 50 radius units above the turtle circle(50) up() # center the turtle again goto(0,0) down() #… Re: Turtle on repeat python Programming Software Development by thinkingfield My turtle skills are rusty, but it must be in your condition to break the while loop. Try using something other than 1 for position, like a large number and see if that breaks the loop. At least you will know if that is the source of your problem. Re: Turtle Canvas Size Programming Software Development by bumsfeld …is small example: [code=python]# module turtle is part of Tkinter import turtle import time def tdraw_x(n): "&…quot;" draw one turtle x of size n turtle starts in the center of canvas (0,… 0) by default """ t3 = turtle.Pen() for k in (1, 2): if k == 1… Re: turtle.setup(width=800,height=600,startx=400,starty=300) Programming Software Development by cdub … call last): File "setup.py", line 3, in ? turtle.setup(width=800,height=600,startx=400,starty=300) AttributeError… compile python twice with a tk flag set to get turtle to work. Gentoo is difficult to configure but I like… Re: turtle.setup(width=800,height=600,startx=400,starty=300) Programming Software Development by jrcagle It looks like your turtle module is not correctly installed. The error message means that there is no 'turtle.setup', which clearly should not be the case. I recommend either (a) reinstalling Python, or (b) looking at the source code and trying to fix the error manually. Sorry. Jeff Turtle Graphics (Python) Programming Software Development by vegaseat The Tkinter library folder \lib-tk contains a module called turtle. You can import this module and experiment with turtle graphics. Tell the turtle to move and draw circles, lines, rectangles and more, and watch it, as it performs on a Tkinter canvas. In typical turtle fashion it moves at its own animated speed. turtle + Tkinter Programming Software Development by slasel … Tkinter however the problem is that the turtle graphics window comes over my root window …way to solve this? Note: i am using turtle inside functions if that makes any difference... import… ImageTk import tkMessageBox from Tkinter import* from turtle import * import time root = Tk()#main window … Re: Turtle Graphics (Python) Programming Software Development by woooee … of unknown dimensions is just a little more tedious import turtle as tu import random tu.title('draw a right angle… Re: Turtle Closing Help Programming Software Development by Gribouillis … is a contradiction. What you can do is launch the turtle program from another program which exits immediately. For example here… is a turtle program # progA.py from turtle import * angle = 5 distance = 20 compteur = 0 while… Turtle Canvas Size Programming Software Development by Tamose … trying to make the canvas (or window) created from the turtle module, but the code listed in the docs at python… to create the grid: [code] setup(width=#, height=#, startx=#, starty=#) turtle.setup(width=#, height=#, startx=#, starty=#) [/code] Any help will be… Turtle graphics Programming Software Development by maiden128 … was wondering how to do these things in python using turtle graphics... but don't know how to do it: 1… points. 2. How to draw a triangle like this in turtle: http://s1263.photobucket.com/albums/ii636/maiden1291/?action=view&… Turtle Closing Help Programming Software Development by CodingCucumber How to exit a program but keep the turtle window open? I have tried exit() but it doesn't keep the turtle window open Re: Turtle graphics Programming Software Development by woooee There are many examples on the web so no reason to duplicate answers here. Start with this link: http://www.daniweb.com/software-development/python/code/216557/turtle-graphics-python Turtle graphics not responding? Programming Software Development by AutoPython I have a weird glitch or something, whenever I try to start turtle graphics from the shell it goes unresponsive, but when I run the program in a console window it works. This is really annoying me! Any help would be appreciated. Turtle graphics Programming Software Development by Tops how do i create wall tiles like the one in the attachment below using turtle graphics in python and loops? sorry, i dont know how to post the picture directly :( Re: Turtle graphics Programming Software Development by Dan08 You basically need to know how to turtle works, I havent used it fo ages, but it is … Turtle Graphics help! Programming Software Development by kimmi_baby I've created a program with turtle graphics that has 3 functions. One draws rectangles, one draws squares and one sets the position. I'd like to create a function that fills in the shapes with different colours. I know about begin fill and end fill... but I would really like to create a function that does it. Any help would be appreciated! turtle graphics draw circle and lines Programming Software Development by Harris00 … with 45 degrees angle. I really appreciate the guidance from turtle import * r=100 ## radius of current circle a=20 ## separation… Turtle graphics histogram Programming Software Development by TrustyTony I post here the code for histogram using the turtle graphics module, which I posted long time ago in discussion …