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,16 @@
void setup() {
size(400, 400, P3D);
background(0);
}
void draw() {
for (int x = 0; x < width; x++) {
for (int y = 0; y < height; y++) {
int c = color(random(255), random(255), random(255));
set(x, y, c);
}
}
println(frameRate);
}