2D Rotation and Translation

The code is heavily based on the WebGL Programming Guide by Kouichi Matsuda and Rodger Lea. You can find more information about the book and the source code on their webpage. The code posted here is with the generours permission by the authors.

Please use a browser that supports "canvas"
Use arrows keys to translate the triangle.



Back to demoCode
© Jochen Lang