There are two demo's one is a coloe shader and another is a rotating earth demo. This demo was done to act as a practical reference to the written blog on webgl2.
Blog url:https://www.nowenkottage.com/introduction-and-quick-reference-guide-to-webgl2
# install dependencies
pnpm i
# Run the next js app
pnpm run dev
# Initially you would see the shader but if you need to see the rotating earth navigate to
/earth