Added some things

This commit is contained in:
Cametendo
2026-04-20 11:20:54 +02:00
parent 97a7c9f0fb
commit 372b892862
29 changed files with 406 additions and 92 deletions

22
Images/sketch.js Normal file
View File

@@ -0,0 +1,22 @@
let img;
function preload() {
img = loadImage("Images/monitoring-miku.png");
}
function draw() {
}
function setup() {
createCanvas(800, 800)
image(img, 0, 0, mouseX, mouseY);
loadPixels(); // loads pixels from canvas
img.loadPixels(); // loads pixels from img
img.updatePixels(); // updates the img pixels
updatePixels(); // updates the canvas pixels
}