PImage img; void setup() { size(150, 200); // noLoop() bedeutet, dass draw() nur einmal aufgerufen wird. noLoop(); img = loadImage("bug.jpg"); } void draw() { image(img, 0, 0); for (int x = 0; x < width; x = x + 1) { for (int y = 0; y < height; y = y + 1) { color col = get(x, y); // original //stroke(col); // inverted //stroke(255 - red(col), 255 - green(col), 255 - blue(col)); // graytone stroke(brightness(col)); point(x, y); } } }