3.5.0 • Published 4 years ago

shapemath-js v3.5.0

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

shapemath.js

A JavaScript Library of math functions for 2D and 3D shapes.

https://nodei.co/npm/shapemath-js.png?downloads=true&downloadRank=true&stars=true

Build Status Coverage Status Netlify Status

npm

Rewrite in Progress

Version 3.x.x of this package is a rewritten version. I am not currently done, and if you want all of the feautues use the 2.5.0 version until further notice.

Progress

  • Circle
  • Ellipse
  • Kite
  • Line
  • Oval
  • Rectangle
  • Rhombus
  • Semicircle
  • Square
  • Trapezoid
  • Triangle
  • Cone
  • Cube
  • Cylinder
  • Hemisphere
  • Rectangular Prism
  • Sphere
  • Square Pyramid
  • Triangular Prism

Install and Usage

npm install shapemath-js
// With import statements.
import { line } from 'shapemath-js';

line.isParallel(0, 1, 2, 2, 0, 2, 2, 3);


// Without import statements.
const shapemath = require('shapemath-js');

shapemath.line.isParallel(0, 1, 2, 2, 0, 2, 2, 3);

Documentation

You can read the documentation at https://shapemath-js.netlify.com/ to learn about all the functions.

Tools Used

  • TypeScript: JavaScript Typings
  • ESLint: Code Style and Linting
  • TSLint: Code Style and Linting
  • Jest: Testings
  • Coveralls: Coverage
  • Travis CI: CI/CD
  • TypeDoc: Documentation
  • Netlify: Documentation Hosting
3.5.0

4 years ago

3.4.0

5 years ago

3.3.0

5 years ago

3.2.0

5 years ago

3.1.0

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.5.0

6 years ago

2.3.0

6 years ago

2.2.0

6 years ago

2.1.0

6 years ago

2.0.0

6 years ago

1.6.0

6 years ago

1.5.0

6 years ago

1.4.2

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago

0.0.3-alpha

6 years ago

0.1.0-alpha

6 years ago