WebGL Icicles

September 16, 2014 in category Jams and tags webgl

By Robert Utter

I've done a fair amount of gameplay programming, but have less experience with in-browser Javascript and even less interacting directly with OpenGL. This was a nice opportunity to explore both.

This program was a class assignment to explore the various types of OpenGL primitives, including triangles, triangle strips and fans, line strips and loops, and points. I use only two shaders, both of which have a sort of "poor man's transform matrix" built in (that's my next learning topic).

Try the game for yourself!

When I presented this project in class, several students assumed that I had used bitmap textures to produce my graphics. In fact, I draw everything with GL primitives and vertex coloring.

Blogroll

Social