HTML <table> abuse

mew's experiments (ab)using HTML tables for block graphics.


The OpenGL matrix

Given an OpenGL matrix defined as a C/C++ array:

GLfloat m[16];
GLdouble m[16];

This is how GL sees the matrix in memory:

Rxx
m[0]
Rxy
m[4]
Rxz
m[8]
Tx
m[12]
Ryx
m[1]
Ryy
m[5]
Ryz
m[9]
Ty
m[13]
Rzx
m[2]
Rzy
m[6]
Rzz
m[10]
Tz
m[14]
Kx
m[3]
Ky
m[7]
Kz
m[11]
W
m[15]

Abbr Index Description
Rxx m[0]
Ryy m[5]
Rzz m[10]
Ryx m[1]
Rzx m[2]
Rxy m[4]
Rzy m[6]
Rxz m[8]
Ryz m[9]
Kx m[3]
Ky m[7]
Kz m[11]
Tx m[12] translation on X axis
Ty m[13] translation on Y axis
Tz m[14] translation on Z axis
W m[15]


Resistor color code

0 1 2 3 4 5 6 7 8 9
                   

Color Chart

A loose approximation of the GretagMacbeth™ ColorChecker® color rendition chart

           
           
           
           


Color Bars

A loose approximation of the SMPTE color bars

             
             
               


References


Michael E. WeiblenBlack Hawk, Gilpin County, Colorado USA • mew-AT-mew-DOT-cx • http://mew.cx/
$Id: 2009-12-23a $ mew 2008-02-21