Skip to main content

A package to draw any triangle on screen.

Project description

TriangleDrawer

This package will enable you to draw any triangle on screen and see its measurements.

Installation

Install this package using pip

pip install triangle_drawer

Usage

You can either create a triangle using the three side lengths:

from triangle_drawer import Triangle

Triangle(3, 4, 5).draw()

Or you can create a triangle using two side lengths and the angle between them (in degrees):

from triangle_drawer import Triangle

Triangle(3.5, 4.5, angle=45.6).draw()

License

The project is licensed under the MIT license.

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

triangle_drawer-1.0.1.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

triangle_drawer-1.0.1-py2.py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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