Nodejs is not supported threejs?

three.js has no official support for node.js however many setups work. For examples three.js uses node.js for generating screenshots from all official examples in context of E2E testing.

Like with any other WebGL content it’s important to run your code in an appropriate environment. The mentioned puppeteer project is a good start.

1 Like