Wondering about learning Python

Pete Shinners pete at shinners.org
Fri Jul 23 08:16:49 CEST 2004


Chris wrote:
> SCREEN 12
> CLS
> FOR t = 1 TO 400 STEP .01
> x = .5 * t * COS(t)
> y = .5 * t * SIN(t)
> PSET (x + 320, y + 240)
> NEXT t

Someone has already posted a Python Turtle example, you can also do a 
pretty direct translation using Pygame. It turns out I already have this 
exact same algorithm on my drive. Someone else must have been using the 
same example. See attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spiral.py
Type: text/x-python
Size: 575 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20040722/581b84a8/attachment.py>


More information about the Python-list mailing list