BRIGL is a javascript program that reads and parses LDraw models, and renders them with WebGL using the three.js library.
The source code is available on Github.