Imagen-rotate-Help
in
Programming Questions
•
1 year ago
hello, I'm doing, rotate an image, its center, and this is deformed. as I can that the image is sharp, like the original?
- PImage img, recta;
int ancho,alto;
size(75,75,P3D);
for(int s=0;s<26;s=s+1){
img = loadImage("C:/Users/Naruto/Desktop/Arduino-led/rotate/images"+s+".jpg");
pushMatrix();
imageMode(CENTER);
translate(width/2, height/2);
rotate(PI/(60+s));
image(img,0,0);
popMatrix();
int t=s+1;
save("images"+t+".jpg");
image(img,0,0);
}
1