generate namespaces based on three.js