Three.js - Javascript 3D Engine
github.com
github.com
Personally, I've often been annoyed with Processing's generic name, as it can make searching for solutions for specific issues in Processing difficult, unless there happens to be a solution on the Processing fora.
CloudSCAD gets away with it AFAIK because generally OpenSCAD is not generating overly complicated models. However once you convert those polygons into stacks of infill and perimeter lines (a la gcode) you really begin to see the limits of three.js's canvas rendering setup.
Heres an example of rendering 2d gcode (simple enough that it doesn't crash most PCs in Chrome or FF4): http://www.d1plo1d.com/cad_canvas/examples/gcode_canvas.html (same controls as emc2 axis)
src: https://github.com/D1plo1d/CadCanvas
TL;DR: canvas support can be horrifically laggy but otherwise three.js is good things.
Specifically the background cache and fast blitting: https://github.com/evanw/rapt/blob/master/game/src/game/back...