GitRJAA / node-ts-three-js-wasm

Node.js, TypeScript, Three.js, WASM Boilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-ts-three-js--hello-cube

Node.js, TypeScript, Three.js Boilerplate

Install

Install the node modules

npm i

Download and install Emscripten and set a the environment variable EMSDK to the installation directory (your/path/emsdk).

For example, on a Mac, add the following line to the ".zshrc" file in the user directory

export EMSDK="/Users/$USER/source/emscripten/emsdk"

Build

npm run build

Run

npm run start

Debug

npm run dev

About

Node.js, TypeScript, Three.js, WASM Boilerplate

License:MIT License


Languages

Language:TypeScript 39.5%Language:C++ 29.0%Language:Shell 12.6%Language:CMake 12.0%Language:JavaScript 6.9%