aggressive image
Pictorial distortion test.
Trying to conjure a spirit from an image defined as a set of pixels, These apples eat themselves using the principles of John Conway’s Game Of Live.
import controlP5.*;
PImage img, imgR, imgG, imgB, imgh, imgs, imgb;
PImage imgDorA;
MyPixel[][] myPixels;
void setup() {
size(1000,1000);
background(0);
img = loadImage("img.png");
imgDorA = new PImage(img.width,img.height);
imgR = new PImage(img.width,img.height);
imgG = new PImage(img.width,img.height);
imgB = new PImage(img.width,img.height);
imgh = new PImage(img.width,img.height);
imgs = new PImage(img.width,img.height);
imgb = new PImage(img.width,img.height);
myPixels = new MyPixel[img.width][img.height];
for (int i=0; i<img.width; i++){
for (int j=0; j<img.height; j++){
myPixels[i][j] = new MyPixel(i,j,this);
myPixels[i][j].readColorVals();
myPixels[i][j].adjustDeadOrAliveImg();
myPixels[i][j].adjustAllImages();
//myPixels[i][j].writeOutNeighbors();
}}
}
void draw() {
scale(8);
//image(img, 0, 0);
//image(imgDorA, 0, 0);
if (frameCount%2 == 0 ) image(imgR, 0, 0);
for (int i=0; i<img.width; i++){
for (int j=0; j<img.height; j++)
}
for (int i=0; i<img.width; i++){
for (int j=0; j<img.height; j++){
myPixels[i][j].setDeadOrAliveColorR();
myPixels[i][j].adjustAllImages();
}}
//delay(500);
}import controlP5.*;
PImage img, imgR, imgG, imgB, imgh, imgs, imgb;
PImage imgDorA;
MyPixel[][] myPixels;
void setup() {
size(1000,1000);
background(0);
img = loadImage("img.png");
imgDorA = new PImage(img.width,img.height);
imgR = new PImage(img.width,img.height);
imgG = new PImage(img.width,img.height);
imgB = new PImage(img.width,img.height);
imgh = new PImage(img.width,img.height);
imgs = new PImage(img.width,img.height);
imgb = new PImage(img.width,img.height);
myPixels = new MyPixel[img.width][img.height];
for (int i=0; i
2018
penises

