Skip to content
/ matrix4 Public

A small library/compilation of matrix functions in JavaScript that I originally wrote in Java.

License

Notifications You must be signed in to change notification settings

axelhj/matrix4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

matrix4

A small library/compilation of 4x4 matrix maths functions.

Originally written in Java and reimplemented in JavaScript by me. I use it for doing Webgl transformations/translations and found it was a fun exercise writing the matrix functions myself. Contains an executor function that will take an array of arrays that contains a string that matches the respective matrix functions and their numerical arguments and execute the functions with the arguments in turn. Does allocate new temporary matrix which is wasteful. There is also a perspective function.

About

A small library/compilation of matrix functions in JavaScript that I originally wrote in Java.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published