SketchBook

モナ・リザ 色反対

var img;

function preload() {
img = loadImage("https://easelart.io/wp-content/uploads/2022/01/ED6E2773-A5D1-4EC6-9DF8-728F1142CB39.jpeg");
}

function setup() {
 createCanvas(400, 596);
}

function draw() {
image(img, 0, 0);
filter(INVERT);
}

Author: takamatsu