Instances of Coloured Boxes
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.
This demo uses a VAO, array attributes and instanced rendering in webGL 2
Please use a browser that supports “canvas”
Use up/down arrows to change speed.
reset
faster
slower
© Jochen Lang