Orthogonalise a set of d vectors in Rd one step at a time: subtract a projection to make one vector orthogonal to another, or normalise a vector to unit length. The inner-product table shows your progress — off-diagonal zeros mean orthogonal.
A modern JavaScript port of a 2002 Java applet by Kim Chi Tran
(originally GramSchmidt.java).