Learning WebGL from juejin blog and github repo.
With the latest node.js and npm, run
npm i -g live-serverto fix CORS error.
# clone this repo
git clone https://github.com/UranusITS/webgl-learning
cd webgl-learning
# run live-server
live-serverThen view WebGL result from a port of localhost generated by live-server, http://127.0.0.1:8080 by default.