Geometry JS
Available functionality
- [ ] Circle
- [ ] Cone
- [ ] Crescent
- [ ] Cube
- [ ] Cuboid
- [ ] Cylinder
- [ ] Decagon
- [ ] Dodecahedron
- [ ] Ellipse
- [ ] Ellipsoid
- [ ] Heptagon
- [ ] Hexagon
- [ ] Hexagonal Prism
- [ ] Hexagonal Pyramid
- [ ] Icosahedron
- [ ] Kite
- [ ] Lines
- [x]
getLineCoordinates(axis, startCoordinate, length) - [ ] Nonagon
- [ ] Octagon
- [ ] Octahedron
- [ ] Parallelogram
- [ ] Pentagon
- [ ] Pyramid
- [ ] Quadrilateral
- [ ] Rectangle
- [ ]
getRectangle(a, b) - [ ]
getRectangleArea(a, b) - [ ]
getRectanglePerimeter(a, b)- [ ] Rhombus
- [ ] Sphere
- [ ] Square
- [x]
getSquare(a) - [x]
getSquareArea(a) - [x]
getSquarePerimeter(a) - [ ] Square Based Pyramid
- [ ] Tetrahedron
- [ ] Trapezium
- [ ] Trapezoid
- [ ] Triangle
- [ ]
getTriangle(a, b, c) - [ ]
makeTriangle(params = {/\\
2/3 sides (a,b; a,c; b,c)\\
/}) - [ ]
checkPifagorsTheory(a, b, c) - [ ]
getTriangleType(a, b ,c) - [ ] Triangular Based Pyramid
- [ ] Triangular Prism
Scaffold
If You need to scaffold some new figure, You should run:
``
bash
npm run g * - optional argument (ex. getA,getB,getC)
``
Contribution
If You do have any functionality You would like to add or/and improve, then please - do PR after fork.
All contributors will be listed.