Examples mods for 2.0

This commit is contained in:
Casey Reas
2011-09-16 05:00:28 +00:00
parent c3b8b312a0
commit 472fd13b2f
20 changed files with 210 additions and 241 deletions
@@ -1,9 +1,12 @@
/**
* Texture 3.
* Texture Cylinder.
*
* Load an image and draw it onto a cylinder and a quad.
*/
// @pjs preload must be used to preload media if the program is
// running with Processing.js
/* @pjs preload="berlin-1.jpg"; */
int tubeRes = 32;
float[] tubeX = new float[tubeRes];