python: create art with xturtle and random, part 1 (English) [ID:551] (1/4)
in series: Python: create art with xturtle, random and genetic_algorithm (English)
video tutorial by felix schaber and Horst Jens, added 03/08
Name:
[071] Horst Jens
Member:
76 months
Authored:
56 videos
Description:
Hi, my name is Horst JENS, living in Vienna, Austria. I teach children how to program open source games (mostly using python / pygame):
http://www.spielend-programmieren.at
My own python game b ...
Our authors tell us that feedback from you is a big motivator. Please take a few moments to let them know what you think of their work.
Felix shows first how the xturtle module works in combination with a for loop in python. Later he shows how the randint() function of the random module works. Finally, he demonstrate a script that will create 20 different patterns by using random values and ask the user each time how much he liked the pattern (with an easygui dialog).
This video is licensed under the creative commons BY NC SA license.
To try out what Felix show you, you need those programs:
Python http://www.python.org
Xturtle http://ada.rg16.asn-wien.ac.at/~python/xturtle/
easygui http://www.ferg.org/easygui/
You maybe also want to use the code editor Geany like Felix does at the end of this video tutorial.
The whole script can be found in the showmedo wiki.
If you find some interesting patterns created by this script, please send the result file (result.txt). The data will be used for the next project.
screenshot of xturtle script in action
Got any questions?
Get answers in the ShowMeDo Learners Google Group.
Video statistics:
- Video's rank shown in the most popular listing
- Video plays: 1379 (since July 30th)
- Plays in last week: 5
- Published: 63 months ago
Thank-yous, questions and comments
If this video tutorial was helpful please take some time to say thank-you to the authors for their hard work. Feel free to ask questions. Let the author know why their video tutorial was useful - what are you learning about? Did the video tutorial save you time? Would you like to see more?
You may also want to see our ShowMeDo Google Group to speak to our active users and authors.
All comments excluding tick-boxed quick-comments
its very nice
where is the code?
from 1 to 10 i give 4
Very good from a child :)
Thanks a lot of!! I'm starting with phyton and I need to make some proggrams using turtle and xturtle and your videas are util. Thanks again!!!
good Job.
All Business - all pertinent. Excellent!
I think you are very good.
thanks for your example and your work.
fco
Thank you for the excellent tutorial
Nice, thank you.
great work! it's nice to write some code, then get visual feedback.
This video is great. Even though the camstream was choppy the content made up for it!
very nice .. :)
Thank you for debugging the code, i removed the wrong line in the wiki.
Please note that you can edit the wiki (if logged in) and that you can leave your email-address while writing comments so that people can write you personally.
Hi Felix!
Very nice job, only remove a fragment of code
[[image:horstjens_Felix3.png|thumb]]
in the script #3, string #40, at the wiki.
Best wishes.
Hi Felix. This is a very nice video, well done. I didn't know that there was a Turtle program for Python, it is nice to see it in action :-)
There is a typo in your description text - you say "showmedo wiki here" but there isn't a link to the wiki. If you can fix that then it will be perfect!
Cheers,
Ian.
Video published, thanks for contributing to ShowMeDo
