another version for understanding.
by
alexhaefner.
“I spent a moment and changed the arrays to Float32Arrays which have set sizes and sit in memory without being fucked with by the VM and sped the demo up dramatically.”
http://jsfiddle.net/uzMPU/2612/