News for hackers. Stuff that matters.
Re:PythonTurtle - the most low-threshold way for learning/te... by cool-RR on Saturday August 01, 2009 @09:34AM (#736278)
That's right, it's all Python and wxPython so porting it should be trivial. A Mac version will come, I hope that someone more Mac-savvy than myself will help me with making it.
Re:PythonTurtle - the most low-threshold way for learning/te... by d0mine on Saturday August 01, 2009 @06:31PM (#736764)
It works as is on Ubuntu.

PythonTurtle screenshot with a dragon curve http://img35.imageshack.us/i/screenshotpythonturtled.png/

    >>> def dragon(level=4, size=200, direction=45):
    ...     """From http://rosettacode.org/wiki/Dragon_curve
    ...     """
    ... 	if level == 0:
    ... 		go(size)
    ... 		return
    ... 	turn(direction)
    ... 	dragon(level-1, size/1.41421356237, 45)
    ... 	turn(-direction*2)
    ... 	dragon(level-1, size/1.41421356237, -45)
    ... 	turn(direction)
    ... 
    >>> dragon(10)
Re:PythonTurtle - the most low-threshold way for learning/te... by lowdown on Saturday August 01, 2009 @02:10PM (#736486)
I'll look at it today and see if I can get it up on the Mac