A small boilerplate for prototyping with WebGL.
Includes
Tasks
yarn run start
Start the local server and watch for changesyarn run build
Build and minifyyarn run lint
Lint your ts codeyarn run three-examples
Convert three example files to es6 modules
Flags
Open the following url to enable all debug helpers.
http://localhost:8080/?gui&helpers&stats
Editor
If you use vscode you can add glsl syntax highlighting for .glsl.ts
files.
Update your preferences with this snippet.
"files.associations": {
"*.glsl.ts": "glsl"
}