Searched refs:Turtle (Results 1 – 25 of 40) sorted by relevance
12
/external/python/cpython3/Lib/turtledemo/ |
D | forest.py | 14 from turtle import Turtle, colormode, tracer, mainloop 85 p = Turtle() 88 u = doit1(6, Turtle(undobuffersize=1)) 89 s = doit2(7, Turtle(undobuffersize=1)) 90 t = doit3(5, Turtle(undobuffersize=1))
|
D | colormixer.py | 3 from turtle import Screen, Turtle, mainloop 5 class ColorTurtle(Turtle): 8 Turtle.__init__(self) 48 writer = Turtle()
|
D | clock.py | 63 second_hand = Turtle() 66 minute_hand = Turtle() 69 hour_hand = Turtle() 77 writer = Turtle()
|
D | planet_and_moon.py | 20 from turtle import Shape, Turtle, mainloop, Vec2D as Vec 38 class Star(Turtle): 40 Turtle.__init__(self, shape=shape) 71 s = Turtle()
|
D | tree.py | 18 from turtle import Turtle, mainloop 40 p = Turtle()
|
D | rosette.py | 16 from turtle import Screen, Turtle, mainloop 39 p=Turtle()
|
D | minimal_hanoi.py | 22 class Disc(Turtle): 24 Turtle.__init__(self, shape="square", visible=False)
|
D | nim.py | 89 class Stick(turtle.Turtle): 91 turtle.Turtle.__init__(self, visible=False) 124 self.writer = turtle.Turtle(visible=False)
|
D | bytedesign.py | 25 from turtle import Turtle, mainloop 30 class Designer(Turtle):
|
D | sorting_animate.py | 22 class Block(Turtle): 26 Turtle.__init__(self, shape="square", visible=False)
|
/external/python/cpython2/Demo/turtle/ |
D | tdemo_colormixer.py | 3 from turtle import Screen, Turtle, mainloop 5 class ColorTurtle(Turtle): 8 Turtle.__init__(self) 48 writer = Turtle()
|
D | tdemo_clock.py | 63 second_hand = Turtle() 66 minute_hand = Turtle() 69 hour_hand = Turtle() 77 writer = Turtle()
|
D | tdemo_planet_and_moon.py | 20 from turtle import Shape, Turtle, mainloop, Vec2D as Vec 39 class Star(Turtle): 41 Turtle.__init__(self, shape=shape) 72 s = Turtle()
|
D | tdemo_tree.py | 18 from turtle import Turtle, mainloop 40 p = Turtle()
|
D | tdemo_wikipedia.py | 16 from turtle import Screen, Turtle, mainloop 39 p=Turtle()
|
D | tdemo_minimal_hanoi.py | 22 class Disc(Turtle): 24 Turtle.__init__(self, shape="square", visible=False)
|
D | tdemo_nim.py | 89 class Stick(turtle.Turtle): 91 turtle.Turtle.__init__(self, visible=False) 124 self.writer = turtle.Turtle(visible=False)
|
D | tdemo_bytedesign.py | 26 from turtle import Turtle, mainloop 31 class Designer(Turtle):
|
D | about_turtle.txt | 6 Turtle graphics is a popular way for introducing programming to 37 (multicolored) shapes. Turtle shapes can be stgretched and tilted, which
|
/external/python/cpython3/Doc/library/ |
D | turtle.rst | 2 :mod:`turtle` --- Turtle graphics 15 turtle = Turtle() 22 Turtle graphics is a popular way for introducing programming to kids. It was 31 .. sidebar:: Turtle star 33 Turtle can draw intricate shapes using programs that repeat simple 71 2. :class:`RawTurtle` (alias: :class:`RawPen`) defines Turtle objects which draw 75 Derived from RawTurtle is the subclass :class:`Turtle` (alias: :class:`Pen`), 79 All methods of RawTurtle/Turtle also exist as functions, i.e. part of the 83 of the classes :class:`Screen` and :class:`Turtle`. They have the same names as 86 automatically created whenever any of the functions derived from a Turtle method [all …]
|
/external/python/cpython2/Doc/library/ |
D | turtle.rst | 2 :mod:`turtle` --- Turtle graphics for Tk 6 :synopsis: Turtle graphics for Tk 12 turtle = Turtle() 17 Turtle graphics is a popular way for introducing programming to kids. It was 56 2. :class:`RawTurtle` (alias: :class:`RawPen`) defines Turtle objects which draw 60 Derived from RawTurtle is the subclass :class:`Turtle` (alias: :class:`Pen`), 64 All methods of RawTurtle/Turtle also exist as functions, i.e. part of the 68 of the classes :class:`Screen` and :class:`Turtle`. They have the same names as 71 automatically created whenever any of the functions derived from a Turtle method 82 Overview over available Turtle and Screen methods [all …]
|
/external/ImageMagick/PerlMagick/demo/ |
D | lsys.pl | 6 use Turtle; 61 $turtle=new Turtle($imagesize/2, $imagesize, 0, 1);
|
D | Turtle.pm | 2 Turtle; package
|
/external/python/cpython2/Lib/lib-tk/ |
D | turtle.py | 979 Turtle._pen = None 3552 if Turtle._screen is None: 3553 Turtle._screen = _Screen() 3554 return Turtle._screen 3644 Turtle._pen = None 3645 Turtle._screen = None 3689 class Turtle(RawTurtle): class 3702 if Turtle._screen is None: 3703 Turtle._screen = Screen() 3704 RawTurtle.__init__(self, Turtle._screen, [all …]
|
/external/python/cpython3/Lib/ |
D | turtle.py | 1032 Turtle._pen = None 3661 if Turtle._screen is None: 3662 Turtle._screen = _Screen() 3663 return Turtle._screen 3753 Turtle._pen = None 3754 Turtle._screen = None 3798 class Turtle(RawTurtle): class 3811 if Turtle._screen is None: 3812 Turtle._screen = Screen() 3813 RawTurtle.__init__(self, Turtle._screen, [all …]
|
12