Skip to content
forked from eweitnauer/geom.js

2D shapes and geometry related javascript library.

License

Notifications You must be signed in to change notification settings

ArunJ98/geom.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#geom.js

Client-side javascript library for working with 2D points, polygons and circles as well as rational vectors and matrices of any dimension. There are sparse vector and matrix classes as well.

The 2D shapes can be loaded from SVG elements and be converted back. The polygon can also be constructed from an SVG path.

The library also allows to get gradual spatial relations between shapes using Isabelle Block's fuzzy relative position algorithm.

Usage

Copy the geom.min.js file into your project folder and include it in your html page.

Development

Run clone the repository and run npm install, then make and make test will build the geom.js library from the source file and run all tests.

About

2D shapes and geometry related javascript library.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.5%
  • Other 0.5%