HOME | DD

#programming #rgb #tech #generativeart
Published: 2023-08-20 07:49:04 +0000 UTC; Views: 954; Favourites: 2; Downloads: 1
Redirect to original
Description
Now, can you even call this art at this point? .-_-.I literally just wrote a Processing program to generate an image that contains every 24-bit RGB color.
This is the program, if you're curious:
PGraphics r;
void setup() {
r = createGraphics(4096,4096);
r.beginDraw();
r.loadPixels();
for(int i = 0;i<4096*4096;i++) {
color rgba = color(red(i),green(i),blue(i));
r.pixels[i] = rgba;
}
r.updatePixels();
r.endDraw();
r.save("img.png");
exit();
}