Math Library for p5 js

Hi everyone,

I am trying to create a maths library for p5.js here is the repository link. Please watch and give some comments and suggestions as it will be a great help for development. I appreciate all for you comments and suggestions in advanced.

PS - This project is done as a part of Google Summer of Code.


and why

createMatrix(1, 2, 3, 4)

not allow a mat2 matrix?

sorry, i not like that style
9 arg are 3 x 3
16 arg are 4 x 4
else error
i not see that as a general approach to matrix math.

but i just take a short look so i might misunderstand the whole thing
, sorry

Hi @kll, You can also define the dimensions for matrix and then pass an array containing the values for matrix. You also create an identity matrix also by using the functions which is going to be implemented soon
Thanks for you feedback

1 Like

oh, i did not see that one, i like it!