Added new OpenGL examples for android

This commit is contained in:
codeanticode
2012-03-31 18:30:04 +00:00
parent ba51f5715b
commit 84f790266d
21 changed files with 12341 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);
}