Skip to content

A turtle based package that makes drawing common geometric plane shapes a breeze.

License

Notifications You must be signed in to change notification settings

OthnielDona/planefigures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Contributing

Check our contribution guide.

License

planefigures is open-sourced software licensed under the MIT license.

About

A turtle based package that makes drawing common geometric plane shapes a breeze.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages