This is a very basic script to draw a spider with Python's turtle
graphics module.
The resulting graphic is saved as a PostScript file to imgs/{circle,square}/spider.ps
.
If Inkscape is installed, SVG and PNG versions will be generated from the PostScript representation.
These images can be found at imgs/{circle,square}/spider.svg
and imgs/{circle,square}/spider.png
, respectively.
The rendered drawing is used as my profile image.
Pick any method to install the source files or just download the source files as a ZIP.
- Git
git clone https://github.com/superatomic/spider.git
- Github CLI
gh repo clone superatomic/spider
Simply run the program with python3 main.py
to draw the spider.
This program has been verified to work on Python 3.7+, and may or may not work on lower versions.
❗ | Your Python installation must support tkinter for the program to run! |
---|
Hopefully this program is useful to somebody someday. I certainly had fun writing it.