xxxxxxxxxx
19
function preload(){
awesome = loadImage('Awesome.jpg')
}
function setup() {
createCanvas(400, 400);
}
function draw(){
doppio = map(mouseX, 0, height, 255)
metallica = map(mouseY, 0, width, 255)
fill(doppio, metallica)
image(awesome, mouseX, mouseY, 35, 35)
}