Skip to main content
100%

Maiden Webgl Work

✓ Published0🌍 Public
11Cr18Ni9
Last edited Apr 25, 2019
Created on Apr 25, 2019

This WebGL example demonstrates real-time interactive 2D shape manipulation, showing a rectangle that users can translate, rotate, and scale through a dat.GUI control panel. The code builds a custom vertex and fragment shader pair that handles position transformation, converting pixel coordinates to clip space, while WebGL renders the colored rectangle on a canvas. It references WebGL Fundamentals' scaling lesson and uses the webgl-utils helper library to compile shaders, with all geometry defined as raw vertex data in a buffer.

AI-generated description

Maiden webgl show.

Refered from https://webglfundamentals.org.

mit Licensed

Similar vizzes