For the past couple of months, I’ve been working on my first WebGL project: enhancements to Joe Walnes‘ excellent online GCode Viewer. I’ve added some neat features like individual GCode coloring, animation, and the ability to scrub through GCode.
Give it a try here: http://jherrm.github.com/gcode-viewer. Just drag & drop your GCode on the window. Right now it works best with GCode made for additive manufacturing.
Get the source code at https://github.com/jherrm/gcode-viewer.