Changeset 388 for python/vendor/current/Demo/turtle
- Timestamp:
- Mar 19, 2014, 11:11:30 AM (11 years ago)
- Location:
- python/vendor/current/Demo/turtle
- Files:
-
- 1 added
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
python/vendor/current/Demo/turtle/about_turtle.txt
r2 r388 8 8 by Wally Feurzig and Seymour Papert in 1966. 9 9 10 Imagine a robotic turtle starting at (0, 0) in the x-y plane. Give it10 Imagine a robotic turtle starting at (0, 0) in the x-y plane. After an ``import turtle``, give it 11 11 the command turtle.forward(15), and it moves (on-screen!) 15 pixels in 12 12 the direction it is facing, drawing a line as it moves. Give it the 13 command turtle. left(25), and it rotates in-place 25 degrees clockwise.13 command turtle.right(25), and it rotates in-place 25 degrees clockwise. 14 14 15 15 By combining together these and similar commands, intricate shapes and -
python/vendor/current/Demo/turtle/tdemo_I_dontlike_tiltdemo.py
r2 r388 1 #!/usr/bin/ python1 #!/usr/bin/env python 2 2 """ turtle-example-suite: 3 3 -
python/vendor/current/Demo/turtle/tdemo_bytedesign.py
r2 r388 1 #!/usr/bin/ python1 #!/usr/bin/env python 2 2 """ turtle-example-suite: 3 3 -
python/vendor/current/Demo/turtle/tdemo_clock.py
r2 r388 1 #!/usr/bin/ python1 #!/usr/bin/env python 2 2 # -*- coding: cp1252 -*- 3 3 """ turtle-example-suite: -
python/vendor/current/Demo/turtle/tdemo_fractalcurves.py
r2 r388 1 #!/usr/bin/ python1 #!/usr/bin/env python 2 2 """ turtle-example-suite: 3 3 -
python/vendor/current/Demo/turtle/tdemo_lindenmayer_indian.py
r2 r388 1 #!/usr/bin/ python1 #!/usr/bin/env python 2 2 """ turtle-example-suite: 3 3 -
python/vendor/current/Demo/turtle/tdemo_minimal_hanoi.py
r2 r388 1 #!/usr/bin/ python1 #!/usr/bin/env python 2 2 """ turtle-example-suite: 3 3 -
python/vendor/current/Demo/turtle/tdemo_paint.py
r2 r388 1 #!/usr/bin/ python1 #!/usr/bin/env python 2 2 """ turtle-example-suite: 3 3 -
python/vendor/current/Demo/turtle/tdemo_peace.py
r2 r388 1 #!/usr/bin/ python1 #!/usr/bin/env python 2 2 """ turtle-example-suite: 3 3 -
python/vendor/current/Demo/turtle/tdemo_penrose.py
r2 r388 1 #!/usr/bin/ python1 #!/usr/bin/env python 2 2 """ xturtle-example-suite: 3 3 -
python/vendor/current/Demo/turtle/tdemo_planet_and_moon.py
r2 r388 1 #!/usr/bin/ python1 #!/usr/bin/env python 2 2 """ turtle-example-suite: 3 3 -
python/vendor/current/Demo/turtle/tdemo_tree.py
r2 r388 1 #!/usr/bin/ python1 #!/usr/bin/env python 2 2 """ turtle-example-suite: 3 3 -
python/vendor/current/Demo/turtle/tdemo_yinyang.py
r2 r388 1 #!/usr/bin/ python1 #!/usr/bin/env python 2 2 """ turtle-example-suite: 3 3 -
python/vendor/current/Demo/turtle/turtleDemo.py
r2 r388 1 #!/usr/bin/ python1 #!/usr/bin/env python 2 2 import sys 3 3 import os … … 213 213 self.text.insert("1.0",chars) 214 214 direc, fname = os.path.split(filename) 215 self.root.title(fname[6:-3]+" - a n xturtleexample")215 self.root.title(fname[6:-3]+" - a Python turtle graphics example") 216 216 self.module = __import__(fname[:-3]) 217 217 reload(self.module) -
python/vendor/current/Demo/turtle/turtledemo_two_canvases.py
r2 r388 1 #!/usr/bin/ python1 #!/usr/bin/env python 2 2 ## DEMONSTRATES USE OF 2 CANVASES, SO CANNOT BE RUN IN DEMOVIEWER! 3 3 """turtle example: Using TurtleScreen and RawTurtle
Note:
See TracChangeset
for help on using the changeset viewer.