One of the hardest problems I've encountered upto now
is to decide, when a piece of software is ready to be
be published.
I've decided, that my new turtle graphics module ready
now. A package, which additionally contains some
example scripts. a tiny demoViewer and some documentation
can be downloaded from:
http://ada.rg16.asn-wien.ac.at/~python/xturtle
From now on it's the user community, which will largely
determine the future development of the module. I hope
that it will grow to more than one user (which is me)
soon. (*) And I'm willing to continue development (preferably
in cooperation with others) until it's considered a really
useful tool by the community.
In my opinion it should replace the current turtle.py in
the standard distribution. We will see if others join
me in this respect ...
(Please note, that xturtle.py is a complete reimplementation
of what I've shown to you some ten weeks ago.)
For now I'll not write too much about it, but ask you for
feedback and contributions to a discussion about the module.
(You'll find some more information on the webpage mentioned
above!)
However, I'll give a talk at Europython 2006 on July 5th about:
xturtle - an extended turtle module for Python as a vehicle
for teaching programming concepts.
For this, too, your feedback will be welcome. And you'll get
back the slides of the talk ;-)
Regards,
Gregor Lingl
(*) This hope seems reasonable since I intend to use it in
the forthcoming 2nd edition of "Python für Kids"
Very nice! I tried about 10 demos and they all performed very well,
except for the muorhuhn game which did not work at all (at least, not
from the demo viewer).
> From now on it's the user community, which will largely
> determine the future development of the module. I hope
> that it will grow to more than one user (which is me)
> soon. (*) And I'm willing to continue development (preferably
> in cooperation with others) until it's considered a really
> useful tool by the community.
Sorry :-( I'm busy with two other projects (rur-ple and crunchy
frog) ... but I would encourage others to have a look. It's really
impressive!
André
Please rename the file
landscape.gif
to
landschaft.gif
which is, what is expected in moorhuhn.py.
I've corrected this now in the turtle.zip, so alternatively you may download
the corrected version.
>> ...
>>
>
> Sorry :-( I'm busy with two other projects (rur-ple and crunchy
> frog) ... but I would encourage others to have a look. It's really
> impressive!
>
> André
>
Thanks for your friendly judgment. I can understand you, as I also would
like to have a closer
look at rur-ple, but couldn't find the time to do so, when I was working
on xturtle.py
I've also had a short glance at crunchy frog (now it has some graphics
support) and I wonder
if it could be adapted to xturtle.py - namely because there is a
relativly small interface,
the class TurtleScreenBase, which has to be implemented to get all of
the turtle module
to some graphics tool. Perhaps I'll examine this in the near future.
What's your opinion?
Regards,
Gregor
(reading again what I wrote above, it may give the wrong impression,
but I am not sure how to say it. I would not have expected to see
something as good as this within a turtle module; it really took me by
surprise!)
[snip]
> >
> Thanks for your friendly judgment. I can understand you, as I also would
> like to have a closer
> look at rur-ple, but couldn't find the time to do so, when I was working
> on xturtle.py
I hope you find the time as I like to get feedback (both positive and
negative). I'm getting very close to releasing version 1.0, after
which I'm likely to take a break from it. (I may release version 0.9.9
tonight!)
I believe that one of the main strengths of rur-ple are the lessons.
Turtle graphics environment are nice, but without a set of lessons, I
don't think they can be used to their full potential by the average
teacher. (Of course, I imagine that your book is sufficient for German
readers.)
> I've also had a short glance at crunchy frog (now it has some graphics
> support) and I wonder
> if it could be adapted to xturtle.py - namely because there is a
> relativly small interface,
> the class TurtleScreenBase, which has to be implemented to get all of
> the turtle module
> to some graphics tool. Perhaps I'll examine this in the near future.
> What's your opinion?
I think it might be both quite difficult and very easy to make crunchy
frog and xturtle work together in a seemless fashion. (I know, it's a
contradiction.)
Difficult:
In crunchy frog, graphics are currently created by translating
user-written python code
into javascript that is drawing within an html <canvas> (supported by
Firefox, Safari and Opera but not currently supported by Internet
Explorer, although there are ways to make it work). The graphics
created are static ones. It is possible to do some animation using
javascript but I don't know of an easy way to translate python code
into javascript and do the kind of animation required for turtle
graphics. [I believe it will be different for rur-ple type of
graphics, as the robot moves by discrete steps, and one can use the
javascript timeout function to create such animations. This is
something I plan to explore this summer.]
Very easy:
Crunchy frog is designed as a conduit between a regular html page and a
"Python back-end". The idea is to use html forms (or ajax based
interaction) to send python code to the back end, and display the
result back within the web page. One extension I want to work on soon
(and I've done a quick and dirty working pygame prototype a while ago)
is to launch an external Python process that way. What I would see is
simply to launch an xturtle program (tkinter based) from the
"crunchified" web page. This appears to be very easy!
What we really need are html-based lessons that crunchy frog could
display and that contain suggested exercise for the reader. The user
could type in the required code on the webpage, click a button and see
the xturtle program launched. In some ways, Crunchy Frog is akin to
Leo, the literate programmer (as suggested originally by Knuth), where
the user-written documentation is mixed in with the Python code. The
difference here is that the documentation (tutorials) is supplied by
the "teacher" to be displayed by Crunchy Frog which is then used as a
simple Python editor (or, rather, as an Integrated Learning
Environment, including other features like easy handling of doctest as
teaching tools).
I would *love* to have some sample xturtle lessons to bundle (together
with xturtle.py) with the next Crunchy Frog release. If you can write
a sample lesson for beginning Python users that includes suggested
exercise, I could take care of the rest.
(A German lesson, together with an English translation would be great
as Crunchy Frog needs to be adaptable to other languages - if you
supply such a lesson, provided it is short enough, I will even
translate it into French. ;-)
Regards,
André
I'm not expecting to make it to EuroPython this year, but maybe next.
In the meantime, I look forward to continued collaborations via
edu-sig.
Kirby
On 6/22/06, Gregor Lingl <gli...@aon.at> wrote:
> Hi educators!
>
Unfortunately this part of the software is still not very well
documented (albeit it doesn't
contain special intricacies). If you have questions, feel free to ask.
(Of course that doesn't apply to the demoViewer ...)
Best wishes
Gregor
> Putting it into Javascript would probably be possible, and there is
> even a workaround for <canvas> in IE, but the performance would
> definitely take a hit.
>
> Great work. I should take a look at Rur-ple now...
>
> --Dethe
> _______________________________________________
> Edu-sig mailing list
> Edu...@python.org
> http://mail.python.org/mailman/listinfo/edu-sig
>
>
>
Kirby
;-)
> I believe I will be able to answer my own question with
> just a little more study. I am wondering if an xturtle package with
> an __ini__.py would make sense.
>
What for?
Gregor
> Kirby
>
Well done! xturtle.py is a truly impressive re-implementation and
enhancement. I ran all of the demos without problems on a Linux (Ubuntu
Dapper) machine and was very impressed with the speed, as well as the
number, variety and quality of the demos.
I would certainly think that (after testing ;) ) xturtle might replace
the current turtle.py. I had also been thinking about what would be
involved in porting turtle.py to Jython and your refactoring makes that
a much more appealing possibility.
I saw that you were presenting at EuroPython - best of luck with that
presentation. I'll be presenting on Python programming at NECC, a
national educational computing conference, on July 7, so if you don't
mind I will mention xturtle then.
One final thought - even though the file is large, I would consider
including at least some demo code in the file itself. Maybe it's just
me, but I like the idea of being able to demo the module even if it gets
separated from all other files in the package. Things like that can
happen. :)
Cheers,
Vern
--
This time for sure!
-Bullwinkle J. Moose
-----------------------------
Vern Ceder, Director of Technology
Canterbury School, 3210 Smith Road, Ft Wayne, IN 46804
vce...@canterburyschool.org; 260-436-0746; FAX: 260-436-5137
> One final thought - even though the file is large, I would consider
> including at least some demo code in the file itself. Maybe it's just
> me, but I like the idea of being able to demo the module even if it gets
> separated from all other files in the package. Things like that can
> happen. :)
>
That's right. One could use 'oldTurtleDemo.py' for this (now that gets
imported). I'll think about it
and perhaps I'll have some ideas to make it more funny .... I'll do a
proposal.
(I'm glad, that all of you expressed, that you like xturtle much!)
Best wishes
Gregor
> Cheers,
> Vern
>
>>> from xturtle import *
Traceback (most recent call last):
File "<pyshell#0>", line 1, in -toplevel-
from xturtle import *
ImportError: No module named xturtle
Because I want all my xturtle stuff in a subfolder beneath
site-packages (on either Linux or Windows).
I could make it a package myself, but I think for distribution
purposes, a distro with as many files as yours (including
documentation) deserves its own subdirectory.
Kirby
Hi educators!
One of the hardest problems I've encountered upto now
is to decide, when a piece of software is ready to be
be published.
I've decided, that my new turtle graphics module ready
now. A package, which additionally contains some
example scripts. a tiny demoViewer and some documentation
can be downloaded from:
http://ada.rg16.asn-wien.ac.at/~python/xturtle
From now on it's the user community, which will largely
determine the future development of the module. I hope
that it will grow to more than one user (which is me)
soon. (*)
And I'm willing to continue development (preferably
in cooperation with others) until it's considered a really
useful tool by the community.
In my opinion it should replace the current turtle.py in
the standard distribution. We will see if others join
me in this respect ...
(Please note, that xturtle.py is a complete reimplementation
of what I've shown to you some ten weeks ago.)
For now I'll not write too much about it, but ask you for
feedback and contributions to a discussion about the module.
(You'll find some more information on the webpage mentioned
above!)
However, I'll give a talk at Europython 2006 on July 5th about:
xturtle - an extended turtle module for Python as a vehicle
for teaching programming concepts.
For this, too, your feedback will be welcome. And you'll get
back the slides of the talk ;-)
Regards,
Gregor Lingl
(*) This hope seems reasonable since I intend to use it in
the forthcoming 2nd edition of "Python für Kids"
I'll appreciate your proposal. So do it, for now as an experiment.
At the moment I'm very busy (and have to concentrate on my Europython talk),
but I've several points to say on this. Please wait until end of next
week, then
I'll be ready to discuss this in depth.
Thanks again for your idea
Gregor
(P.S.: When you have done his enhancement, perhaps you could devise
some interesting gravitational systems with real world coordinates?)
> Thanks,
>
> Brad
>
>
I've thought about this,but abandoned it for the moment. The xturtle API
is already
rather 'fat' as the core developers complained.
I'll appreciate your proposal. So do it, for now as an experiment.
At the moment I'm very busy (and have to concentrate on my Europython talk),
but I've several points to say on this. Please wait until end of next
week, then
I'll be ready to discuss this in depth.