mateogianolio/vectorious
mateogianolio/vectorious: A generalized n-dimensional matrix and vector library in JavaScript.
Vectorious is an open source library that can be helpful if you’re using vectors and matrices in your JavaScript project. It’s tested and thorough so give it a try. You can do vector math like finding the dot product, magnitude, angles between vectors, and more. Matrix operations like transpose, inverse, determinant are available too.
Mateo (the creator) on why he was inspired to make vectorious:
I think I was inspired by a good professor in linear algebra and from using MatLAB a lot, a program which handles vectors and matrices excellently.
Mateo on the first steps of the project:
I started with a simple javascript vector class I had written in a previous project (https://github.com/mateogianolio/gravity/blob/master/js/vector.js) and just added functionality with time. The user metabench on GH helped out a lot in coordinating the early stages of development.
This is the earlier vector project that Mateo added functionality to:
Here are some things Mateo says would be helpful contributions to vectorious:
- Add C++ optimizations using Node’s v8 bindings to increase performance of the library.
- If you use this library, sending feedback about which methods you use will be helpful in determining which direction to take the project
- He’d greatly appreciate any effort spent on improving the documentation
Hope you liked the repo! I send out an open source repo every week in addition to four project ideas as part of the Dev Ideas newsletter.