A turtle based package that makes drawing common geometric plane shapes a breeze.
Project description
planefigures
planefigures
is a python package based on the turtle library. It takes the pain out of drawing plain shapes.
Installation
pip install planefigures
Python 3 is supported.
Example
Try out this little peace of code and be amazed.
import planefigures as figures import turtle figures.color('red','yellow') figures.begin_fill() for n in range(8): figures.polygon(8, 80) turtle.right(360/8) figures.end_fill()
Road map
At this stage, only regular polygons are supported. The aim however, is to support regular as well as irregular shapes.
- [x] Circle
- [ ] Scalene triangle
- [ ] Isosceles triangle
- [ ] Right triangle
- [ ] Obtuse triangle
- [x] Rectangle
- [x] Parallelogram
- [ ] Trapezium
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size planefigures-0.2.0-py3-none-any.whl (3.6 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size planefigures-0.2.0.tar.gz (2.3 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for planefigures-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c03d6972946d0de346899718525dac13c10b036585de9fd2eb57a6fb38fae5a |
|
MD5 | 740e1cc013a0dc20800d46c3f739239a |
|
BLAKE2-256 | ccfc9b08eecda5f97c8854e5e9ff7384869f5d827e804b3221c578f4c9bfbe08 |