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: Just drag & drop your GCode on the window. Right now it works best with GCode made for additive manufacturing.

I’m looking forward to adding some more features like custom colors, better controls, and more GCode support. I’ve made some fairly large changes to the underlying architecture which should make adding and rendering more GCodes pretty simple. Included in the source code is an unfinished javascript port of grbl’s GCode interpreter, hopefully paving the way for full simulation someday.

Get the source code at