The preinstalled environment with a lot of awesome things to start working with computer graphics in browser without headache about webpack and other configs.
npm installnpm init(optional)
npm run startfor developmentnpm run buildfor release buildnpm run testfor unit testsnpm run lint:styles:fixto fix linting in css- More in ./package.json
- Configured webpack.config.ts with detailed comments
-
- Using typescript for config
-
- Configured source maps
-
- Configured minificators for release build
-
- Configured SASS
-
- Configured GLSL shaders loader webpack-glsl-minify
- Configured unit-test
-
- Configured jest
-
- Simple example unit-test (example.test.ts)
- Configured vsconfig
-
- Use propper linting
-
- Launch script to run specific unit test file in debug mode
-
- Launch browser attaching to VsCode for debugging right in the IDE
- Configured linting
-
- Configured eslint to use google typescript style guide
-
- Configured css/sass linting
-
- Configured prettier
- Implemented a simple project
-
- Simple fullscreen shader render loop
-
- Use twgl
-
- Use tweakpane
The simple shader equivalent to shadertoy template with Tweakpane tuner