Use graphics.py.
It is a simple graphics library.
Click HERE
for more information.
(download, install, documentation, ...)
Project #1
Create a program that demonstrates a "Random Walk"
using Cartesian coordinates.
- draw X/Y axes?
- use a small circle to show the current position?
- display or don't display each leg?
- random length of each leg? (set limits?)
- random direction (degrees)? (set limits?)
- pause between drawing the legs? (set limits?)
- color of each leg? (periodically change the next legs color?)
- when and how to stop?
Links
Random walk
(Wikipedia)