Skip to content

Instantly share code, notes, and snippets.

@podion
podion / turtle.py
Last active August 29, 2015 14:25
For Phytonista iOS
# turtle.py
# Basic Turtle graphics module for Pythonista
#
# When run as a script, the classic Koch snowflake is drawn as a demo.
# The module can also be used interactively or from other scripts:
# >>> import turtle
# >>> right(30)
# >>> forward(100)
# ...
@podion
podion / turtle.py
Last active August 29, 2015 14:25 — forked from omz/turtle.py
turtle
# turtle.py
# Basic Turtle graphics module for Pythonista
#
# add color()
#
# When run as a script, the classic Koch snowflake is drawn as a demo.
# The module can also be used interactively or from other scripts:
# >>> import turtle
# >>> right(30)
# >>> forward(100)