Skip to main content

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()

Or better still ...

python -m planefigures.example

and enjoy.

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


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.3.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

planefigures-0.3.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file planefigures-0.3.0.tar.gz.

File metadata

  • Download URL: planefigures-0.3.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for planefigures-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1b66830308bbc21637b3432511c400860854e258b90ff04cc683c8f21f8cff87
MD5 a333c9c429725e0fb021283251e0c9a3
BLAKE2b-256 855255d107adcdd27df179503c9615425124a8341620edf98fb6c8998ae6c04e

See more details on using hashes here.

File details

Details for the file planefigures-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: planefigures-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for planefigures-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd0b23b9fdd06fa2b68b0720412927c6f17137bef7fb40d81d306361ba5df5c1
MD5 55fe05ab805dd15c3c54eabb6b5dd45c
BLAKE2b-256 c0c4748fe4667e6bced1018c204db28324a7a6ac13a7092366d79d4f45628ef8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page