A step by step tutorial for creating a Three.js project of a rotating, textured cube and then adding Leia WebGL SDK to it. This tutorial assumes no prior experience with npm, webpack, or initializing


Npm is the default package manager for the JavaScript programming language, maintained by npm, Inc. It puts modules in place so that node can find them, and manages dependency conflicts. Most commonly, it is used to publish, discover, install, and develop node programs.


Webpack is an open-source JavaScript module bundler made primarily for JavaScript. It takes modules with dependencies and generates static assets representing those modules.


This project source code can be downloaded with our GitHub repo, under Example 1: https://github.com/LeiaInc/Leia_WebGL_SDK https://github.com/LeiaInc/Leia_WebGL_SDK/tree/main/example1
Last modified 4d ago
Copy link