We're developing a CAD webapp. Our webapp will be for drawing buildings and their components (walls, trusses, etc.). Two prominent 3D libraries are Three.js and Babylon.js. What are the pros and cons of each? Which would you recommend for a CAD webapp and why?


Babylon is much more about simulation and 3d rendering so Three.js would seem a better fit.

Three.js is very mature, has been used in other CAD related developments and often used for browser-based diagramming tools. Check out a search of npm to find a number of CAD related modules for three.js.

References for Three.js:

References for Babylon.js

| improve this answer | |
  • 1
    Thanks for direct and concise answer! Could you provide some citations to substantiate some of the claims like "often used for browser-based diagramming tools" for completeness? – Scotty H Jun 17 '16 at 14:25
  • Hi Scott, sorry - a bit short on time right now but I did some googling to make sure I wasn't making it up before writing the answer. One reference to three.js I can give is to Node-Red which uses three.js to provide a diagrammatic view for flow-based programming. I use that a lot. – Julian Knight Jun 22 '16 at 8:12
  • Oops, got my libraries mixed up. Node-Red uses d3.js not three.js but I've added a couple of more relevant references, I'll try to find more if I get time. – Julian Knight Jun 22 '16 at 9:23
  • OpenJSCAD is NOT using ThreeJS, it uses lightgl (in V1) and regl in V2: github.com/jscad/OpenJSCAD.org/issues/434 – Stefan Steiger Feb 20 '19 at 15:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.