Three.js is MIT licensed so you're free to use it as long as you follow the license.
There's also buildinginstructions.js (another Three.js LDR loader) which we use here on LDraw.org and is public domain.
There's also buildinginstructions.js (another Three.js LDR loader) which we use here on LDraw.org and is public domain.