A Python library to draw geometric triangles using matplotlib and numpy
Project description
draw_triangle
Python library to draw geometric triangle shapes using numpy and matplotlib.
Features
- Equilateral triangle
- Right triangle
- Isosceles triangle
- Custom triangle using vertices
Installation
pip install draw-triangle-yourname
Usage
Equilateral Triangle
from draw_triangle import equilateral equilateral(5)
Right Triangle
from draw_triangle import right_triangle right_triangle(5,4)
Custom Triangle
from draw_triangle import draw_triangle
draw_triangle([(0,0),(4,0),(2,3)])
Dependencies
- numpy
- matplotlib
Author
Ajay Kumar
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file draw_triangle_ajay-0.0.1.tar.gz.
File metadata
- Download URL: draw_triangle_ajay-0.0.1.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a51516b034582596a95b95261f3df941461589127e4316931b7d8632dfae9674
|
|
| MD5 |
21ce9ca9b7bf44684d3322f7ccf07ea7
|
|
| BLAKE2b-256 |
ca1fa69d7a8673af8724b86ba1331c943cc3763642e7900094ef57598d89cfd8
|
File details
Details for the file draw_triangle_ajay-0.0.1-py3-none-any.whl.
File metadata
- Download URL: draw_triangle_ajay-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54897ae4b3614daabefcf42b28af1963205510186822479a1fc346bd8292d9fe
|
|
| MD5 |
0ca65b8b544b3a19efede262749d8ed4
|
|
| BLAKE2b-256 |
91ebab94eac8321b642a8f4c83a7eecb335c10c16634cd728565f15b33452218
|