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 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.
- Circle
- Scalene triangle
- Isosceles triangle
- Right triangle
- Obtuse triangle
- Rectangle
- 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.
Source Distribution
planefigures-0.1.2.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for planefigures-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f50763970de80cee7e2f4058530a7142b0b237787d13d0eb0b2d350d6b2a8fcd |
|
MD5 | 5d80258549c092450bef48bd4346eed9 |
|
BLAKE2b-256 | 18dfaedc9288bcec5f8a3b31c2d9f44390d38802d040e21d2bd05da89a584ba5 |