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
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
triangle_drawer-1.0.1.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for triangle_drawer-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcd74292b6eec2e79cbfe52f926e3d6cf6192e78f648dc5685a148a8d6ee6c70 |
|
MD5 | 93c0ff8a11b972da0952d04db89f3d1b |
|
BLAKE2b-256 | 06bbfaf91c42623e18a29f1ffbc4e11020f481dd2ed32f98d4f7f0d13016eba6 |