sjkaliski/numbers.js — pull request #48 by elaforc (2012-12-14 12:37:01+00:00)
Title: Refactor transformations

I moved out the transformations into their own section as an initial refactoring. My goal was to setup the transformations module to be chainable/fluent so that you could do the following operations easily

http://en.wikipedia.org/wiki/Transformation_matrix#Composing_and_inverting_transformations

I thought it would be cool to see something like

transformation([[1],[0]]).rotate(90, 'clockwise').scale(10,5).shear(-1, 'yaxis').invert()