Please use a browser that supports "canvas"

Extrinsic (relative to world frame - multiply on left)
Intrinsic (relative to local frame - multiply on right)
About second vertex of triangle (extrinsic transformation by AMA-1, where A is the translation from origin to the current location of the triangle's right-angled vertex)

Current transformation matrix:

I

Keyboard controls:

The notation "A" represents a translation to whatever is the current location of the right-angled vertex, A-1 is its inverse.