Monthly Archives: May 2013

A Particle-Based Texture Generator in JavaScript

The code included below generates and displays several swatches of procedurally-generated textures. To see it in action, copy it into a .html file and open that file in a web browser that runs JavaScript. It’s still very much a work … Continue reading

Posted in Uncategorized | Tagged , , , , | 4 Comments

Drawing a 3D Scene in JavaScript Using WebGL

The code included below uses HTML5’s experimental WebGL functionality to draw a 3D scene containing a few textured rectangular boxes with some simple lighting. To see the code in action, copy it into an .html file and open that file … Continue reading

Posted in Uncategorized | Tagged , , , , | 1 Comment