xxxxxxxxxx
var shape;
function preload() {
shape = loadImage("no.png");
}
function setup() {
createCanvas(windowWidth, windowHeight);
}
function draw() {
background(255, 5);
imageMode(CENTER);
translate(width/2, height/2);
tint(255, 0, 100);
var s = sin(millis()/1000)*500;
rotate(millis()/1000);
image(shape, 0, 0, s, s);
}