git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple turtles


Hi,

I am new to Python.
I already tried turtle and it works well for my needs.

I would like to draw fractals using turtle module. There are many ways 
to do that but I would like to use multiple turtles drawing in parallel 
but I don't know how.

My first idea is to use clones as I do with Scratch (the problem with 
Scratch is the maximum number of simultaneous clones is set to 300) : 
each clone draw a part of the fractal and each clone (before being 
deleted) create clones who do the same thing and so on and so on...

1/ Is it possible to clone turtles ?
2/ Is it possible to make them work simultaneously ?
3/ Should I use multiple turtles instead ?
4/ Are there special things I should read first ?

Thank you.


Giuseppe