Added new OpenGL examples for desktop

This commit is contained in:
codeanticode
2012-03-31 18:28:33 +00:00
parent 67c0d5e9e4
commit ba51f5715b
16 changed files with 12286 additions and 0 deletions
@@ -0,0 +1,15 @@
void setup() {
size(400, 400, P3D);
background(0);
loadPixels();
}
void draw() {
for (int i = 0; i < pixels.length; i++) {
pixels[i] = color(random(255), random(255), random(255));
}
updatePixels();
println(frameRate);
}